Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 04-10-2013, 10:04 AM   #1
LQ Newbie
Registered: Feb 2011
Distribution: OpenSUSE 10.3, Fedora, Ubuntu
Posts: 23

Rep: Reputation: 1
Glibc2.16.0 make error LFS 7.2

Hi everybody,

I'm building an LFS system ( refering to LFS 7.2 )

I got this make error while building glibc-2.16.0:

/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.7.1/../../../../i686-lfs-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
make[2]: *** [/mnt/lfs/sources/glibc-build/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0'
make: *** [all] Error 2
I located the libgcc_s file in three different places:

I tried overiding the LDFLAGS variable but no success.
Can any one please help me with this problem. Or am i missing something? I don't know.
Please help guys, thanks in advance!!

My host system is Fedora 17.
Old 04-10-2013, 11:28 AM   #2
Senior Member
Registered: Jan 2011
Distribution: /LFS/Centos6.3/Debian
Posts: 2,208
Blog Entries: 1

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328

Can you post the version check output 1st


glibc, lfs, libgcc, linux, make

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while check of glibc2.16.0 of LFS 7.2 Lakhan Kumar Linux From Scratch 2 12-26-2012 02:54 AM
Glibc2.11.1 make error basheer Linux From Scratch 5 07-08-2010 11:08 AM
glibc2.3.4 make, produces error "memcmp... file address 68" tgp1994 Linux - Software 5 11-28-2009 08:51 AM
lfs glibc2.3.6 cinico75 Linux - Distributions 0 05-20-2008 10:46 AM
Error in building glibc2.3.2---using lfs-package-5.0 oldmanpushcar Linux From Scratch 0 04-19-2005 08:55 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration