Le 23/01/2014 07:30, Sneha Joshi a écrit :
> I am refering LFS 7.4 on centos6.3 (i686)
> ERRROR :
> checking for gcc... gcc
> checking whether the C compiler works... no
> configure: error: in `/mnt/lfs/sources/file-5.14':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> In Config.log i am getting following error :
> configure:3824: gcc    conftest.c  >&5
> /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.8.1/../../../../
> i686-pc-linux-gnu/bin/ld:
> cannot find -lgcc_s
> collect2: error: ld returned 1 exit status
> please help me asap.
>
Please could you tell us what page you are building?
If you are building 'file' in chapter 5, it means you have been
building a lot of other packages before, and that error did not show up,
although the test "checking whether the C compiler works" is
pretty standard.
So, I think you exited the lfs user environment and forgot to set it
back.
What does the command "env" return?

Regards
Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to