09-10-2018, 05:21 PM
OK, so spurred into action by Deathcrow here, I decided the time had come for me to have another bash at compiling a kernel. "It's pretty easy. " - Ha
1) git clone https://github.com/ayufan-rock64/linux-m...kernel.git - no problems. (Will need to update at some stage but that can wait!)
2) Needed to install pkg-config, libncurses-dev, bison, flex and fakeroot as well
3) make menuconfig - could presumably spend months here but for a first run went with the defaults. Presume .config turns into /boot/config... in due course so can peruse ayufan versions and load/mod them when I get smarter.
4) make -j6 bindeb-pkg was going really well until
Presumably I need to do something useful to hold openssl together but not sure what - help/suggestions welcome please!
Also I seem to be trying to build pretty much in the footsteps of Ayufan (dpkg-buildpackage: info: source package linux-4.18.0-rc8-76686-g45828c4db727) - cant find the right place to put my label so it is clear I created the resulting mess (and to distinguish my efforts eventually in extlinux.conf ?)
TIA
1) git clone https://github.com/ayufan-rock64/linux-m...kernel.git - no problems. (Will need to update at some stage but that can wait!)
2) Needed to install pkg-config, libncurses-dev, bison, flex and fakeroot as well
3) make menuconfig - could presumably spend months here but for a first run went with the defaults. Presume .config turns into /boot/config... in due course so can peruse ayufan versions and load/mod them when I get smarter.
4) make -j6 bindeb-pkg was going really well until
Code:
...
CC arch/arm64/kernel/asm-offsets.s
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/recordmcount
HOSTCC scripts/sortextable
HOSTLD scripts/dtc/dtc
HOSTCC scripts/asn1_compiler
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC scripts/extract-cert
<stdin>:1335:2: warning: #warning syscall rseq not implemented [-Wcpp]
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
#include <openssl/bio.h>
^~~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.host:90: recipe for target 'scripts/extract-cert' failed
make[4]: *** [scripts/extract-cert] Error 1
make[4]: *** Waiting for unfinished jobs....
LDS arch/arm64/kernel/vdso/vdso.lds
VDSOA arch/arm64/kernel/vdso/gettimeofday.o
VDSOA arch/arm64/kernel/vdso/note.o
VDSOA arch/arm64/kernel/vdso/sigreturn.o
VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
VDSOSYM include/generated/vdso-offsets.h
Makefile:1045: recipe for target 'scripts' failed
make[3]: *** [scripts] Error 2
debian/rules:4: recipe for target 'build' failed
make[2]: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
scripts/package/Makefile:79: recipe for target 'bindeb-pkg' failed
make[1]: *** [bindeb-pkg] Error 2
Makefile:1337: recipe for target 'bindeb-pkg' failed
make: *** [bindeb-pkg] Error 2
Presumably I need to do something useful to hold openssl together but not sure what - help/suggestions welcome please!
Also I seem to be trying to build pretty much in the footsteps of Ayufan (dpkg-buildpackage: info: source package linux-4.18.0-rc8-76686-g45828c4db727) - cant find the right place to put my label so it is clear I created the resulting mess (and to distinguish my efforts eventually in extlinux.conf ?)
TIA
- ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
- PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
- PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC