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: > > > lfsusr at 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 > lfsusr at 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 Andy, Thank you for your help with this scenario--after examining everything again, I realized that in the ln command in 5.5 GCC-4.4.3 Pass 1, I was using sed 's/libgcc/$_eh/' instead of sed 's/libgcc/&_eh/' The dollar sign instead of the 'and' sign. As you suggested, I will go back and start over from scratch again, following the book exactly. Oh, and I've set my lfs-support subscription options to receive acknowledgements from the mailing list! Thanks for your patience with a new kid on th block, and have a great day! Clyde
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page