On Tue, May 27, 2008 at 06:52:02PM -0300, Rafael Lopez wrote: > > Thank you, Matt. > What you said is exactly what I did. The "make mrproper" command was > issued from: > root:/resources/Linux-2.6.22.5 # > (Remember that "/" is "$LFS" after chroot) > After that was when the error lines appeared: "make: /bin/sh: Command > not found" and "make: gcc: Command not found" and "make: *** No rule > to make target '........... Makefile'" etc. etc. > So, we are clear about positioning: within de directory containing the > Linux-2.6.22.5 files. > But, within chroot?; as "lfs" user?; as "root", but outside chroot? Within chroot, as user root (user lfs is for chapter 5). > I'm totally confused on the subject. In the book nothing is said on > these particulars. > Can you bring here the specifics? Thank you again.
I'm fairly sure it's covered somewhere in the book, but you were in the right place as the right user. The reference to running outside chroot was so that you could see what readelf was reporting for the programs in /tools. At the moment, all the indications are that they are linked against a host library which is not available in chroot, but we can't be sure until we know what readelf reports. Please re-read Chris's reply to you, and try using the version of readelf on the host system. At a minimum, it looks as if /tools/bin/bash is linked against a host library. Usually, that means that something went wrong when you adjusted the toolchain. Occasionally, it means you interrupted the build, and later packages were linked against the host, so once you have run readelf against /tools/bin/bash you might wish to run it against other programs in /tools. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
