Compile gcc error!

Jeremy Utley jeremy at
Thu Dec 16 22:33:40 PST 2004

刘恒 wrote:

>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 
please see the faq - this is mentioned there.


More information about the lfs-support mailing list