Binutils doesn't configure in stage2

Benjamin John ben.john at gmx.net
Wed Apr 5 07:47:32 PDT 2006


Hello,

while trying to create the LiveCD, the binutils package in stage 2 stops
at the beginning of configure. Im using the svn version udev_update
revision 1466 on a LFS-based system.

The output of binutils-2.16.1-stage2.log:

mkdir: created directory `binutils-build'
make[2]: Entering directory `/lfs-livecd/packages/binutils/binutils-build'
cd ../binutils-2.16.1 ; for PATCH in  ; do patch -Np1 -i ../$PATCH ; done
../binutils-2.16.1/configure --prefix=/usr --enable-shared
creating cache ./config.cache
checking host system type... i486-pc-linux-gnuoldld
checking target system type... i486-pc-linux-gnuoldld
checking build system type... i486-pc-linux-gnuoldld
checking for a BSD compatible install... /tools/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -Os -s -march=i486 ) works... no
configure: error: installation or configuration problem: C compiler
cannot creat
e executables.
make[2]: *** [compile-stage2] Error 1
make[2]: Leaving directory `/lfs-livecd/packages/binutils/binutils-build'


The config.log in the binutils-build directory says:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:689: checking for a BSD compatible install
configure:742: checking whether ln works
configure:766: checking whether ln -s works
configure:1809: checking for gcc
configure:1922: checking whether the C compiler (gcc -Os -s -march=i486
) works
configure:1938: gcc -o conftest -Os -s -march=i486   conftest.c  1>&5
/tools/lib/gcc/i486-pc-linux-gnu/4.0.3/../../../../i486-pc-linux-gnu/bin/ld:
lin
e 87: cd: /mnt/lfs/image/lfs-livecd/packages/binutils/binutils-build/ld:
No such
 file or directory
gcc: ldgram.o: No such file or directory
gcc: ldlex.o: No such file or directory
gcc: lexsup.o: No such file or directory
gcc: ldlang.o: No such file or directory
gcc: mri.o: No such file or directory
gcc: ldctor.o: No such file or directory
gcc: ldmain.o: No such file or directory
gcc: ldwrite.o: No such file or directory
gcc: ldexp.o: No such file or directory
gcc: ldemul.o: No such file or directory
gcc: ldver.o: No such file or directory
gcc: ldmisc.o: No such file or directory
gcc: ldfile.o: No such file or directory
gcc: ldcref.o: No such file or directory
gcc: eelf_i386.o: No such file or directory
gcc: ei386linux.o: No such file or directory
gcc: ../bfd/.libs/libbfd.so: No such file or directory
gcc: ../libiberty/libiberty.a: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

#line 1933 "configure"
#include "confdefs.h"

main(){return(0);}

Does anybody knows what's wrong???

Regards
Benjamin



More information about the livecd mailing list