Am 2018-07-18 12:36, schrieb Xi Ruoyao:
On 2018-07-18 11:14 +0200, thomas wrote:
...
make[1]: *** [Makefile:106: install-symbolic-link] Error 126
make[1]: Leaving directory '/home/lfs/glibc-2.27'
make: *** [Makefile:12: install] Fehler 2

Note the "cannot execute binary file".

Did you enable IA32_EMULATION in kernel config?

You are my hero!
I knew it must be something tiny since the multilib stuff has worked allready pretty fine. I somehow managed to build my new testsystem without this kernel option. Formerly, i used the kernel config of ArchLinux but decided to do my own (as Arch produces such a monster i do not need). I assume that at this point, the IA32-setting got lost. Setting it again makes compiling fine.


Well, I encountered another build issue while doing all that ml-stuff: libcap failes to compile.

in chapter 6.26 libcap i had to exchange the command
# make
by
# make BUILD_GPERF=

BUILD_GPERF= forces libcap to not use gperf. Gperf-3.1/libcap do have an issue, see https://bugs.gentoo.org/604802 . Since gperf seems to be optional while building, it can be switched off. When going thru the book in chapter 6, gperf gets built after libcap, so libcap does not use gperf when it is built as gperf is not installed yet. This is why it goes fine doing the book in sequence. Redoing installation of libcap with LFS's instructions will fail.

--
Thomas
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to