Failed while making LIB_PATH for binutils

Nikos Kourounis nikk2875 at otenet.gr
Sat Nov 5 02:03:47 PST 2005


Hi everyone!

I am using Fedora Core 4 and gcc 3.2.3 (that can also be found in Fedora as
gcc32 in /usr/bin) and I am trying to install LFS 6.1. I have almost
succesfully completed the 1st pass of installling binutils.I say almost
because while trying the make -C ld LIB_PATH=/tools/lib command I got the
following error message:

/bin/sh ./libtool --mode=link
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2  -o ld-new
ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o
ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386.o ei386linux.o
../bfd/libbfd.la ../libiberty/libiberty.a  -ldl
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o ld-new
ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o
ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386.o ei386linux.o
../bfd/.libs/libbfd.a ../libiberty/libiberty.a -ldl
/tools/bin/ld:/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libc.so:
file format not recognized; treating as linker script
/tools/bin/ld:/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libc.so:5:
syntax error
collect2: ld returned 1 exit status
make[2]: *** [ld-new] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make: *** [all-recursive-am] Error 2
make: Leaving directory `/mnt/lfs/sources/binutils-build/ld'

Is there anyone who can help me in this one?

Thank you,
Nikos Kourounis




More information about the lfs-support mailing list