【无标题】rk3588编译问题

问题描述

【无标题】rk3588编译问题_第1张图片

==========================================
#
# No change to .config
#
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  LZ4C    arch/arm64/boot/Image.lz4
Incorrect parameters
Usage :
      lz4 [arg] [input] [output]

input   : a filename
          with no FILE, or when FILE is - or stdin, read standard input
Arguments :
 -1     : Fast compression (default)
 -9     : High compression
 -d     : decompression (default for .lz4 extension)
 -z     : force compression
 -f     : overwrite output without prompting
 -h/-H  : display help/long help and exit
arch/arm64/boot/Makefile:31: recipe for target 'arch/arm64/boot/Image.lz4' failed
make[2]: *** [arch/arm64/boot/Image.lz4] Error 1
make[2]: *** 正在删除文件“arch/arm64/boot/Image.lz4”
arch/arm64/Makefile:170: recipe for target 'Image.lz4' failed
make[1]: *** [Image.lz4] Error 2
make[1]: *** 正在等待未完成的任务....
arch/arm64/Makefile:214: recipe for target 'rk3588s-evb1-lp4x-v10-linux.img' failed
make: *** [rk3588s-evb1-lp4x-v10-linux.img] Error 2
ERROR: Running build_kernel failed!
ERROR: exit code 2 from line 656:
    make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS

原因分析

ubuntu18里面的libz4版本比较老,和最新的参数不一致

解决方案

sudo apt-get remove  liblz4-tool

 

下载最新版本

(31条消息) linux下lz4lz4-1.9.3.tar.gz-Linux文档类资源-CSDN文库

https://github.com/lz4/lz4/releases

make

sudo make install

搞定

你可能感兴趣的:(Linux,内核,Linux,驱动,Linux,kernel,内存管理,java,servlet,开发语言)