LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

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

Rep: Reputation: 0
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:

Quote:
/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
lfs:/mnt/lfs/sources/glibc-build$
I located the libgcc_s file in three different places:

Quote:
/usr/lib/libgcc_s-4.7.0-20120507.so.1
/usr/lib/libgcc_s.so.1
/usr/lib/gcc/i686-redhat-linux/4.7.0/libgcc_s.so
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
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

Can you post the version check output 1st
 
  


Reply

Tags
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


All times are GMT -5. The time now is 05:19 AM.

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