Compile gcc error!

刘恒 angelliuchina at
Thu Dec 16 22:06:19 PST 2004

When I install gcc, I compile gcc following LFS 5.1.1 book, at end there were some error messages:
The error message:
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2
My LFS book version is 5.1.1, My linux version is Mandrake 10.0.
I hope you could help me.  
liuheng,angelliuchina at 

More information about the lfs-support mailing list