On 09/12/2009 12:08 AM, Vincent DiCarlo wrote:
>
> On the second try, I deleted the contents of the lfs folder, changed
> its owner back to root, and otherwise started from scratch except for
> leaving the partitions and file system mounted.  Reading the
> instructions step by step for the second time, I noticed some things
> that I missed or misunderstood the first time, mostly due to general
> newbieness, but still encountered, on the first make of glibc, the
> error that I have pasted below .
>
> I checked the log file at
> http://www.linuxfromscratch.org/lfs/build-logs/6.5/032-glibc and my
> error does not look expected.  I could try again to supply the missing
> headers, but am hoping that someone might be able to tell from the
> nature of the error where I went wrong, so I can go back and redo it
> right.
>
> Vincent
>
> --snip--
>
> 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.1/../../../../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.10.1/iconv'
> make[1]: *** [iconv/others] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.10.1'
> make: *** [all] Error 2
> lfs:/mnt/lfs/sources/glibc-build$

Looks like you're missing a symlink. Do "ls -l $(dirname $(gcc 
-print-libgcc-file-name))/libgcc*"
-- 
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