LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Glibc2.16.0 make error LFS 7.2 (http://www.linuxquestions.org/questions/linux-from-scratch-13/glibc2-16-0-make-error-lfs-7-2-a-4175457666/)

aniketmeshram 04-10-2013 11:04 AM

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.

spiky0011 04-10-2013 12:28 PM

Hi

Can you post the version check output 1st


All times are GMT -5. The time now is 07:38 PM.