gcc compile errors

Don Mayhew donm at seanet.com
Sun Feb 19 13:37:50 PST 2006


I tried searching the archive - usually it just timed out.
I did get one hit on one search which said my problem was simple
  and I should just check the FAQ.

I am therefore forced to try where everyone will be busy.
--------------
Errors during first compile of gcc  - Feb 20, 2006
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On page 46 of LFS 2nd Edition
Doing command: make BOOT_LDFLAGS="-static"  bootstrap

Errors reported:
/tools/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/ 
lib/  \
    ../lib/libc.so when searching for -lc

/tools/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/ 
lib/  \
    ../lib/libc.a when searching for -lc

/tools/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/ 
lib/  \
    lib/libc.so when searching for -lc

/tools/x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /usr/ 
lib/  \
    lib/libc.a when searching for -lc

/tools/x86_64-unknown-linux-gnu/bin/ld: cannot find -lc

collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s_32.so] Error 1
make[3]: Leaving directory '/gcc-build/gcc-3.4.1/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory '/gcc-build/gcc-3.4.1/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory '/gcc-build/gcc-3.4.1/gcc'
make: *** [bootstrap] Error 2

--------------------------------------------------------
Host system is amd64 using OS Debian 3.1r0a

Any help would be appreciated.
Don Mayhew <dsonaro at seanet.com>





More information about the lfs-support mailing list