天天看点

编译内核出错:recipe for target ‘arch/arm/boot/compressed/piggy.lzo‘ failed

问题:

/bin/sh: 1: lzop: not found
arch/arm/boot/compressed/Makefile:180: recipe for target 'arch/arm/boot/compressed/piggy.lzo' failed
make[2]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
arch/arm/boot/Makefile:52: recipe for target 'arch/arm/boot/compressed/vmlinux' failed
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
arch/arm/Makefile:316: recipe for target 'zImage' failed
make: *** [zImage] Error 2
           

分析:

  • 缺乏lzop程序,安装即可。

解决:

sudo apt install lzop
           

继续阅读