|
RK3308:当编译kernel时,出现编译报错导致编译失败!
发表于 2019-5-20 18:42:38
浏览:9265
|
回复:7
打印
只看该作者
[复制链接]
楼主
描述
1、严格按照Firefly官网文档“固件编译”的这章内容开始SDK编译。
2、当用那个命令“./build.sh uboot”或“./make.sh roc-rk3308-cc”,uboot能编译成功。
3、当用那个命令“./build.sh kernel”或“$ make arch=arm64 firefly-rk3308_linux_defconfig 和 $ make arch=arm64 rk3308-roc-cc-dmic-pdm_emmc.img”,kernel编译都会报以下错误。
。。。。。。
LD vmlinux
SORTEX vmlinux
SYSMAP System.map
OBJCOPY arch/arm64/boot/Image
LZ4C arch/arm64/boot/Image.lz4
/bin/sh: 1: lz4c: not found
arch/arm64/boot/Makefile:42: recipe for target 'arch/arm64/boot/Image.lz4' failed
make[1]: *** [arch/arm64/boot/Image.lz4] Error 1
arch/arm64/Makefile:116: recipe for target 'Image.lz4' failed
make: *** [Image.lz4] Error 2
====Build kernel failed!====
renhui@buildsrv-2:~/rockchip/RK3308_Projects/Firefly-RK3308$
。。。。。。
4、请问各位大侠:如何解决上述编译报错问题?谢谢! |
|