On 10/5/07, Elias Zoby <[EMAIL PROTECTED]> wrote:
>
> root:/sources/linux-2.6.22.5# sed -i '/scsi/d' include/Kbuild
> root:/sources/linux-2.6.22.5# make mrproper
> /sources/linux-2.6.22.5/scripts/gcc-version.sh: line 11: /tools/bin/gcc: No 
> such file or directory
<snip>
> But I have gcc on $LFS/tools/bin.

Are the permissions on /tools/bin/gcc OK?

I believe what probably happened is that the Ch. 5 toolchain
adjustment didn't go correctly and /tools/bin/gcc is looking for the
host's dynamic linker at /lib/ld-linux.so.2. That doesn't exist inside
the chroot yet. Check gcc's intepreter:

$ readelf -l /tools/bin/gcc | grep interpreter
      [Requesting program interpreter: /tools/lib/ld-linux.so.2]

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