Hi, hope some one can help, I have searched the web and your pages so
 I hope I have not missed anything obvious.  I have used linux 15+ years
at work and home and have had enough of distros.

I am installing LFS from a live CD version 6.2.  kernel 2.6.16.38,
i686 Pentium4,
I am following the book exactly, but get the error below when I
 try make install for glibc-2.3.6 in chapter 6.
I have done 2 clean re-installs and get to the same point each time which
 would tend to rule out an error on my part.
Although not a misunderstanding by me.

There is no other linux system on the machine.

If I ls the
/tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld
 it is found, why does it have such stange path to it?

The 2 ld's in /tools exist and are the same but it should be using one in 
/usr?
which it is not!


make
make check

ran fine

Can someone point me in the right direction please.
Reducing stack by rule 6 (line 355), extdefs save_obstack_position
@2 extdef -> extdefs
Stack now 0
Entering state 2
Reading a token: Now at end of input.
Reducing stack by rule 2 (line 345), extdefs -> program
Stack now 0
Entering state 1
Now at end of input.
/tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld
: :No such file: No such file or directory
collect2: ld returned 1 exit status
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from
Linux libc5)?
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are 
wrong,
libm.so should point to the newly installed glibc file - and there should be
only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
primary library!
make[1]: *** [install] Error 1
make[1]: Leaving directory `/sources/glibc-2.3.6'
make: *** [install] Error 2
root:/sources/glibc-build# >
Thank you

Matthew 

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