LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Problems with "make check" while compiling Glibc in Chapter 6.11 (https://www.linuxquestions.org/questions/linux-from-scratch-13/problems-with-make-check-while-compiling-glibc-in-chapter-6-11-a-289065/)

Spuckdung 02-11-2005 04:32 PM

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.

Andrew Benton 02-12-2005 06:06 PM

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?

Spuckdung 02-13-2005 05:12 AM

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...


All times are GMT -5. The time now is 12:18 PM.