On Mon, Mar 19, 2018 at 11:06:08PM +0200, Кирилл wrote: > At the chapter 6.7.1 when i do 'make mrproper' it says, that gcc not > found. But before i passed all tests successfully. And already was > trying starting from beginning 2 times(!), but it doesn't help. I was > making all directly, as written in the book. I was also watching > through the mailing list and tried to find the sollution it, but also > did not help. > I was trying to do so: ln -sv /tools/lib/ld-linux-x86-64.so.2 > /lib/ld-linux-x86-64.so.2 > But also did not help.
You are right at the start of doing things in chroot. This suggests that something is either missing from the build of chapter 5, or else linked to a library on the host system. You have not said what the exact error message was when you tried to run 'make mrproper' but - Did you use fresh source for each build (the multiple builds of gcc, and g++, and binutils in chapter 5, and now building the linux headers) ? For gcc - type -pa gcc In chroot, and on a minimalist LFS system, 'which' does not exist, so I'm really saying 'which gcc'. It should say /tools/bin/gcc. Assuming that it does, ldd /tools/bin/gcc One or more of these libs is not found ? If so, think about how you built the system. You did not say why you thought that symlinking ld-linux would help, but if you followed everything in the book (including the host system requirements) things should just work. We need more information, repeatedly starting again is not the answer. ĸen -- Truth, in front of her huge walk-in wardrobe, selected black leather boots with stiletto heels for such a barefaced truth. - Unseen Academicals -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style