[EMAIL PROTECTED] wrote:

> Hi, 
> 
> This is my first attempt to follow the instructions mentioned in the 6.1 
version of the LFS book. building the temporary system as described in chapter 
5 
went well. 
> 
> Now trying to compile glibc-2.3.4. as described in chapter 6 leaves me with a 
logfile of why glibc-2.3.4 won't compile. 
> 
> I've included the logfile as a attachment. can somebody help me please or do 
> i 
have to start all over again. 

Andy wrote: 
  configure:2634: gcc --version </dev/null >&5 
../glibc-2.3.4/configure: line 2635: /tools/bin/gcc: No such file or 
directory 
configure:2637: $? = 127 
 
Apparently /tools/bin/gcc exists but it doesn't work when you're in 
chroot. My guess is that you didn't set up the environment properly 
before you started and you've compiled the chapter five tools linked to 
your host system. To see if gcc is linked to you host system, run 
 
ldd /tools/bin/gcc 
 
Andy 
 
------------------------------ 
 Thanks Andy for your reply. When i give the ldd /tools/bin/gcc command i get:

ldd /mnt/lfs/tools/bin/gcc
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7eff000)
        /lib/ld-linux.so.2 (0xb7fee000)

i think you'e right it should be /tools/bin/ld-linux.so2 ?

Is every program build in chapter 5 to the host? so i best can start al over ?

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