LFS 5.1.1 Glibc 2.3.3 compile error in Chapter 5

Robert Puh robert.puh at amis.net
Sun Jul 11 12:40:44 PDT 2004


Hello everybody

I am stuck in chapter 5 installing Glibc.

When I issue command:
"../glibc-2.3.3-lfs-5.1/configure --prefix=/tools \
    --disable-profile --enable-add-ons=linuxthreads \
    --with-binutils=/tools/bin --with-headers=/tools/include \
    --without-gd --without-cvs"
for preparing Glibc for compilation I get following warning somwhere in the
middle of the text:

checking for sed... sed
checking version of sed... 4.0.9, ok1
checking for autoconf... autoconf
checking whether autoconf works... yes
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/sh

After that when I issue compilation command "make AUTOCONFIG=no" Glibc is
compiling for some time and then it gives me this error:

'gcc -B/tools/bin/ -E -x c-header' 
/mnt/lfs/sources/glibc-build/elf/ld-linux.so.2 --library-path
/mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/linuxthreads
/mnt/lfs/sources/glibc-build/sunrpc/rpcgen -Y ../scripts -c
rpcsvc/bootparam_prot.x -o /mnt/lfs/sources/glibc-build/
sunrpc/xbootparam_prot.T
/mnt/lfs/sources/glibc-build/sunrpc/rpcgen: error while loading shared
libraries: libunwind-x86.so.1: cannot open shared object file: No such file or
directory
make[2]: *** [/mnt/lfs/sources/glibc-build/sunrpc/xbootparam_prot.stmp] Error
127
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-lfs-5.1'
make: *** [all] Error 2
lfs1 at linux:/mnt/lfs/sources/glibc-build>

If I delete both directories and try again from the start I get the same error.
My PC is mobile Pentium 1.7 with 700 MB of RAM. Please help me I am stuck.

Robert Puh


----- Končaj posredovano sporočilo -----


--





More information about the lfs-support mailing list