On Sep 24, 2013, at 4:25 AM, Kodali Sivakiran wrote: > WHAT MIGHT BE THE REASON?? > In an attempt to understand the problem, i did this outside the > chroot environment: > " shiva@shiva-desktop:/$ ldd /tools/bin/gcc > linux-gate.so.1 => (0xb77dd000) > libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb761b000) > /lib/ld-linux.so.2 (0xb77de000) " > so, does it mean that my /tools/bin/gcc got linked with the host > libraries rather than my /tools/lib ???
If you were able to chroot, and you can't run gcc because of the error above, it means that most likely the gcc source and build directories weren't removed before rebuilding gcc during pass2 in chapter 5. You need to rebuild gcc. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page