Glibc make fails with Error 2

Kyle Brennan kyle_bren at live.com
Sun May 23 17:23:41 PDT 2010


On 05/22/2010 04:11 PM, Bruce Dubbs wrote:
> Kyle Brennan wrote:
>    
>> Hi,
>> I am new here and I am attempting my first LFS build.  I get to Glibc in
>> chapter 5.7 and everything goes smoothly until i get to the "make"
>> command.  I run the command and it works for about fifteen minutes and
>> it Gives me the following error:
>>
>> make: *** [all] Error 2
>>
>> then it quits to the prompt.
>>      
> That's a little light on info.  Give us the last 20-30 lines before the
> final error message.
>
>     -- Bruce
>    
sorry about the late reply, my emails were being classified as spam.

Here Is the console output:

make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/string'
make subdir=time -C ../time ..=../ objdir=/mnt/lfs/sources/glibc-build 
-f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-setitimer.os'
make[4]: Entering directory `/mnt/lfs/sources/glibc-2.11.1/time'
make[4]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/time'
make[4]: Entering directory `/mnt/lfs/sources/glibc-2.11.1/time'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/time'
make[3]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/elf'
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/elf'
make  subdir=csu -C csu ..=../ others
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.11.1/csu'
make[2]: Nothing to be done for `others'.
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/csu'
make  subdir=iconv -C iconv ..=../ others
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.11.1/iconv'
i686-lfs-linux-gnu-gcc -nostdlib -nostartfiles -o 
/mnt/lfs/sources/glibc-build/iconv/iconvconfig  
-Wl,-dynamic-linker=/tools/lib/ld-linux.so.2   -Wl,-z,combreloc 
-Wl,-z,relro -Wl,--hash-style=both 
/mnt/lfs/sources/glibc-build/csu/crt1.o 
/mnt/lfs/sources/glibc-build/csu/crti.o `i686-lfs-linux-gnu-gcc 
--print-file-name=crtbegin.o` 
/mnt/lfs/sources/glibc-build/iconv/iconvconfig.o 
/mnt/lfs/sources/glibc-build/iconv/strtab.o 
/mnt/lfs/sources/glibc-build/iconv/xmalloc.o 
/mnt/lfs/sources/glibc-build/iconv/hash-string.o  
-Wl,-rpath-link=/mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/nptl 
/mnt/lfs/sources/glibc-build/libc.so.6 
/mnt/lfs/sources/glibc-build/libc_nonshared.a -lgcc -lgcc_eh  
`i686-lfs-linux-gnu-gcc --print-file-name=crtend.o` 
/mnt/lfs/sources/glibc-build/csu/crtn.o
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.4.3/../../../../i686-lfs-linux-gnu/bin/ld: 
cannot find -lgcc_eh
collect2: 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.11.1/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1'
make: *** [all] Error 2

Thanks,
Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20100523/bd47b849/attachment.html>


More information about the lfs-support mailing list