|
【Linux】
最新Linux-SDK源码包内核编译错误
发表于 2022-3-2 16:56:36
浏览:4816
|
回复:1
打印
只看该作者
[复制链接]
楼主
Your yocto-sources have been sync'd successfully.
pei@pei-virtual-machine:/home/aio-3399c/rk3399_linux_release_v2.5.1_20210301/rk3399_linux_release_v2.5.1_20210301$ cd kernel/
pei@pei-virtual-machine:/home/aio-3399c/rk3399_linux_release_v2.5.1_20210301/rk3399_linux_release_v2.5.1_20210301/kernel$ git log
commit 2c8b0d223c45454b8f8c0dc5cfd6bf2816a0a606
Author: huangjc <service@t-firefly.com>
Date: Thu Dec 30 10:36:28 2021 +0800
arm64: dts: renamed rk3399-firefly-aio-cam-8ms1m.dtsi -> rk3399-firefly-aio-cam-8ms1m.dts
pei@pei-virtual-machine:/home/aio-3399c/rk3399_linux_release_v2.5.1_20210301/rk3399_linux_release_v2.5.1_20210301$ ./build.sh kernel
processing option: kernel
============Start building kernel============
TARGET_ARCH =arm64
TARGET_KERNEL_CONFIG =rockchip_linux_defconfig
TARGET_KERNEL_DTS =rk3399-evb-ind-lpddr4-linux
TARGET_KERNEL_CONFIG_FRAGMENT =
==========================================
/home/aio-3399c/rk3399_linux_release_v2.5.1_20210301/rk3399_linux_release_v2.5.1_20210301
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
HOSTCC scripts/extract-cert
scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory
compilation terminated.
scripts/Makefile.host:91: recipe for target 'scripts/extract-cert' failed
make[1]: *** [scripts/extract-cert] Error 1
make[1]: *** Waiting for unfinished jobs....
CHK scripts/mod/devicetable-offsets.h
Makefile:579: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
UPD include/config/kernel.release
ERROR: Running build_kernel failed!
ERROR: exit code 2 from line 561:
make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS
|
|