目前共有4篇帖子。
![]() |
make[1]: Entering directory '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/kernel'
make[1]: Leaving directory '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/kernel' make O=/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/objs_kernel -C /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/kernel ARCH=arm \ CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- rv1103g-luckfox-pico-mini.img BOOT_ITS=/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/kernel/boot.its -j1 || exit 1 make[1]: Entering directory '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/kernel' /home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/kernel/scripts/extract-cert.c:24:10: fatal error: openssl/engine.h: No such file or directory 24 | #include <openssl/engine.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [scripts/Makefile.host:95: scripts/extract-cert] Error 1 make[3]: *** [/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/kernel/Makefile:1326: scripts] Error 2 make[2]: *** [arch/arm/Makefile:375: rv1103g-luckfox-pico-mini.img] Error 2 make[1]: *** [Makefile:185: __sub-make] Error 2 make[1]: Leaving directory '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv/source/kernel' make: *** [Makefile:489: kernel] Error 1 make: Leaving directory '/home/oct1158/Documents/Code/C/luckfox-pico/sysdrv' [build.sh:error] Running build_kernel failed! [build.sh:error] exit code 2 from line 840: [build.sh:info] make kernel -C ${SDK_SYSDRV_DIR} $kernel_build_options KERNEL_DTS=${RK_KERNEL_DTS} KERNEL_CFG=${RK_KERNEL_DEFCONFIG} KERNEL_CFG_FRAGMENT=${RK_KERNEL_DEFCONFIG_FRAGMENT} [oct1158@fed41-bh8f7e0 luckfox-pico]$ |
![]() |
Building expects openssl/engine.h despite engine API being deprecated? Fedora 41 fails to build libssh as openssl/engine.h is no longer included with the openssl-devel package. For the time being compatibility is offered via a separate openssl-devel-engine package. Broader failures will occur once a future OpenSSL 4.0 release arrives. For context the engine API has been deprecated for a while AFAIK and will be dropped in the next major OpenSSL release. Build error output Most of that can be ignored, I just wanted to draw attention to the failure cause:
libssh2/src/openssl.h:83:10: fatal error: 'openssl/engine.h' file not found So that line is upstream at: https://github.com/libssh2/libssh2/blob/libssh2-1.11.0/src/openssl.h#L84 I'm not sure if an issue needs to be raised there as they seem to have support for no engine, thus perhaps it's something required to be detected / handled here instead? |
![]() |
解决办法:安装openssl-devel-engine软件包。 [oct1158@fed41-bh8f7e0 luckfox-pico]$ sudo dnf install openssl-devel-engine Transaction Summary: Total size of inbound packages is 43 KiB. Need to download 43 KiB. |
![]() |
安装后就有openssl/engine.h文件了。 [oct1158@fed41-bh8f7e0 ~]$ ls -l /usr/include/openssl/engine.h |