LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-11-2005, 04:32 PM   #1
Spuckdung
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
Problems with "make check" while compiling Glibc in Chapter 6.11


I am using version 6.0 of the LFS book. When I try to compile Glibc in Chapter 6.11 of the book (after chroot), configure and make return no errors. But when I run make check, I get the following:

Code:
scripts/check-c++-types.sh scripts/data/c++-types-i386-linux-gnu.data g++ -O2 -Wall -Winline -Wwrite-strings -g -mpreferred-stack-boundary=2  -Iinclude -I. -I/sources/glibc-build  -Ilibio -Inptl -I/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/sysv -Inptl/sysdeps/unix -Inptl/sysdeps/i386/i686 -Inptl/sysdeps/i386 -Isysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem /tools/lib/gcc/i686-pc-linux-gnu/3.4.1/include -isystem /tools/glibc-kernheaders -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include include/libc-symbols.h       > /sources/glibc-build/c++-types-check.out
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
It looks like the messages are always the same. After a few screens of it, this is the end:

Code:
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
scripts/check-c++-types.sh: line 44:  3828 Broken pipe             cat  <<EOF
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/resource.h>
#include <unistd.h>
void foo ($t) { }
EOF

g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: `-x c++' after last input file has no effect
g++: no input files
make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1
make[1]: Leaving directory `/sources/glibc-2.3.4-20040701'
make: *** [check] Error 2
I'm using a Pentium 4 2,66 GHz, my host distribution is ProMEPIS 2005 Beta 04. I have been carefully following (or at least tried to do it) every step in the LFS book.
 
Old 02-12-2005, 06:06 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
On my system /dev/fd is a symbolic link pointing at /proc/self/fd
If you're getting an error "/dev/fd/63: No such file or directory" it surely begs the question, did you mount /proc? Did you issue the correct commands on the "6.8. Populating /dev" page?
 
Old 02-13-2005, 05:12 AM   #3
Spuckdung
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you very much, make check ran without errors after going back to chapter 6.8.

I had switched off my PC and after that only revisited chapters 6.2 and 6.3 and forgot chapter 6.8...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
glibc 2.3.5 "make check" invalid multibyte sequence sundialsvcs Linux - Software 8 09-09-2005 09:56 AM
ld reports "no input file" at first sanity check (chapter 5.7) garba Linux From Scratch 1 07-23-2005 06:54 PM
LFS 6, chapter 6.11; Glibc 'make check' error Zamochit Linux From Scratch 5 05-31-2005 12:54 PM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 07:52 PM
Chapter 6: Glibc make check problems davemar Linux From Scratch 0 04-08-2004 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration