On 25/07/10 17:52, Clyde Reed wrote:
>       I've run into the dreaded Error 2 code when I ran make--
>
> /mntlfs/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

It looks like something went wrong with the first pass of gcc.
I would suggest that you start again, delete everything in
/mnt/lfs/tools and pay attention to all the steps involved in creating 
the user lfs

> A previous e-mail(/Sat Sep 12 11:09:40 MDT 2009/) that had the same
> issue suggested to run the following, and the results I got:
>
>
> lfs...@ctr-u01:/mntlfs/lfs/sources/glibc-build$ ls -l $(dirname 
> $($LFS_TGT-gcc -print-libgcc-file-name))/libgcc*
> -rw-r--r-- 1 lfsusr lfsgrp 587528 Jul 24 17:21 
> /mntlfs/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.4.3/libgcc.a
> lfs...@ctr-u01:/mntlfs/lfs/sources/glibc-build$

It looks like you created a user lfsusr. I would suggest that you follow 
the book exactly until you have completed the book successfully

> By the way, a dumb noobie question--how do I reply directly to
> responses on the mailing list?

It depends on you email client. In Thunderbird I just click on "reply list"

Andy
-- 
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