On Sat, Aug 29, 2009 at 9:57 AM, Vera, Pedro L. <pv...@health.usf.edu>wrote:
> Hello: > > I'm using LFS 6.5, in an old laptop running a Debian derivative (Antix), > and I'm running into a problem with Section 5.7 Glibc-2.10.1. After typing > 'make' it runs for a while but it eventually stops with the following error: > > /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-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 > > I figure the problem is the -lgcc_eh sym link that was mentioned in section > 5.5 (building gcc-4.1.1), and I remembered that I had the following error > when I tried to create the sym link (copying and pasting from the book): > > l...@oldlaptop:/mnt/lfs/sources/gcc-build$ ln -vs libgcc.a `$LFS_TGT-gcc > -print-libgcc-file-name | \ > > sed 's/libgcc/&_eh/'` > bash: -gcc: command not found > ln: creating symbolic link `./libgcc.a': File exists > > I've recompiled gcc (section 5.5) and tried to build glibc another two > times and I still get the same problem. I don't know what to try next. > > Any help will be appreciated. Thanks! > > Pedro > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > Did you set up the home environment like chapter 4 specifies? There are a few new variables which are needed, like $LFS_TGT over LFS 6.4.
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page