Problem during LFS 5.1.1 Chap 5 GLibc compilation
usiegel at onlinehome.de
Mon Aug 23 05:09:53 PDT 2004
Hello at all,
i try to follow the instructions found lin LFS V 5.1.1 book.
First hurdle i found was at point "Linux-2.4.26 headers" installation.
Because there was no root directory given (like e.g. gcc-build before) i
decided to unpack linux-2.4.26 archive to $LFS/linux-2.4.26 while $LFS
is set to /mnt/lfs.
This was a bit confusing to me.
Ok, minor problem, but next one is bit harder to me.
Following the instructions for Glibc-2.3.3-lfs-5.1 compiletation i had
after unpacking the archive all Glibc sources at directory
Expecting to configure glibc at this directory i called /mnt/lfs/glibc-
build/glibc-2.3.3-lfs-5.1/configure w/ all options mentioned in the
This resulted in a message:
configure: error: you must configure in a separate build directory
There i made 'cd ..' (to /mnt/lfs/glibc-build/) and called ./glibc-
2.3.3-lfs-5.1/configure again. Now it went through.
But later on during 'make check' i gor the message below:
reference to `pthread_create'
collect2: ld returned 1 exit status
make: *** [/mnt/lfs/glibc-build/rt/librt.so] Error 1
make: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.3-lfs-5.1/
make: *** [posix/tests] Error 2
make: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.3-lfs-5.1'
make: *** [check] Error 2
Does i have to worry about this Error? Was it the correct decision to
configure Glibc one directory above?
Also i'm still unsure if storing sources at build directory is correct.
At this time i have $LFS/binutils-build/binutils-2.14, $LFS/gcc-build/
gcc-3.3.3 and so on.
Sometimes it would be helpful to have a short overview how the
directories should are setup at this point.
Many thanks for your clarifications!
More information about the lfs-support