After a lot of trial and error, I finally could finish the build of
LFS-8.1-systemd with ALFS.
I have now modified the make file to also build the BLFS preparations, but the
first step (openssl-1.1.0f) fails.
I find this in the logfile:
pol@PowerMac-G5:/mnt/build_dir/blfs_root$ cat work/logs/002-z-openssl
openssl-1.1.0f.tar.gz: OK
Operating system: ppc64-whatever-linux2
WARNING! If you wish to build 64-bit library, then you have to
invoke './Configure linux-ppc64' *manually*.
(…)
Configuring for linux-ppc
(…)
THIRTY_TWO_BIT mode
BN_LLONG mode
RC4 uses unsigned char
Configured for linux-ppc.
(…)
In file included from /usr/include/features.h:447:0,
from /usr/include/assert.h:35,
from crypto/aes/aes_ecb.c:10:
/usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-32.h: No such file or
directory
# include <gnu/stubs-32.h>
^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/features.h:447:0,
from /usr/include/assert.h:35,
from crypto/aes/aes_core.c:39:
/usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-32.h: No such file or
directory
# include <gnu/stubs-32.h>
^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:689: crypto/aes/aes_ecb.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:681: crypto/aes/aes_core.o] Error 1
make[2]: Leaving directory '/sources/openssl/openssl-1.1.0f'
make[1]: *** [Makefile:128: all] Error 2
make[1]: Leaving directory '/sources/openssl/openssl-1.1.0f'
So it looks like the system is trying to build the 32-bit version, while my
libs are 64-bit.
This is my first LFS-build on a 64-bit machine (an iMac-G5) and I had to modify
several LFS command files to make the build succeed.
Could it be that I have overlooked something during the LFS-build, that now
causes this problem or am I doomed to again patch a lot of command files to
make them run on ppc64?
BTW: I have not yet tried the suggestion above to invoke ‘./Configure
linux-ppc64’
pvg--
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page