glibc compiling error in Chapter 5

Gueven Bay guevenbay at web.de
Tue Mar 16 22:19:36 PST 2004


My intention:
To setup an LFS system starting from a Knoppix 3.2

My problem:

The "make"-step of glibc-2.3.2 in Chapter 5 stops with this error mesage

In file included from ../sysdeps/unix/sysv/linux/i386/system.c:50:
../sysdeps/posix/system.c: In function `do_system':
../sysdeps/posix/system.c:78: warning: statement with no effect
../sysdeps/posix/system.c:84: warning: statement with no effect
../sysdeps/unix/sysv/linux/i386/system.c: In function `cancel_handler':
../sysdeps/unix/sysv/linux/i386/system.c:68: error: `quit' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/i386/system.c:68: error: (Each undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/i386/system.c:68: error: for each function it appears in.)
../sysdeps/unix/sysv/linux/i386/system.c:69: error: `intr' undeclared (first use in this function)
make[2]: *** [/lfs/glibc-build/stdlib/system.o] Error 1
make[2]: Leaving directory `/lfs/glibc-2.3.2/stdlib'
make[1]: *** [stdlib/subdir_lib] Error 2
make[1]: Leaving directory `/lfs/glibc-2.3.2'
make: *** [all] Error 2

Hint: 
At the "configure" step there was a Warning line that asked me if I really
wanted to exclude (or something) the linuxthreads.

I think that my system doesn't see the installed Linux headers?!?

Info about my system:

I use a Knoppix system
Linux lfs 2.4.22-xfs #1 SMP Fr Okt 3 20:36:25 CEST 2003 i686 GNU/Linux

I use the LFS-5.0 book.

I use following partition configuration
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             2.8G  2.2G  435M  84% /
/dev/root.old         2.2M  341K  1.8M  16% /initrd
/dev/hda3             3.0G  887M  2.0G  31% /lfs

My "/tools/include" directory
drwxr-xr-x    5 knoppix  knoppix      4096 Mar 16 22:47 .
drwxrwxrwx    9 knoppix  knoppix      4096 Mar 16 23:07 ..
-rw-r--r--    1 knoppix  knoppix     10954 Mar 16 21:27 ansidecl.h
drwxr-xr-x    2 knoppix  knoppix      4096 Mar 16 22:46 asm
drwxr-xr-x    2 knoppix  knoppix      4096 Mar 16 22:46 asm-generic
-rw-r--r--    1 knoppix  knoppix    148592 Mar 16 21:27 bfd.h
-rw-r--r--    1 knoppix  knoppix     25509 Mar 16 21:27 bfdlink.h
-rw-r--r--    1 knoppix  knoppix     15226 Mar 16 21:27 dis-asm.h
drwxr-xr-x   14 knoppix  knoppix     12288 Mar 16 22:47 linux
-rw-r--r--    1 knoppix  knoppix      1897 Mar 16 21:27 symcat.h

Yes, I didn't create a user named "lfs" but the user "knoppix" has all rights
on the "/tools" directory and the "/lfs" partition and directory.
But apart from that I changed nothing!

Thanks in advance
Gueven

_____________________________________________________________________
Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Beagle.A-J!
Kostenfrei fuer FreeMail Nutzer. http://f.web.de/?mc=021158




More information about the lfs-support mailing list