Skip to content
杰杰 edited this page Dec 9, 2019 · 4 revisions

常见编译错误集合

为了避免编译出现奇奇怪怪的问题,强烈建议开发者直接从GitHub或者gitee直接拉取源码到linux,不要使用Windows拉取后再拷贝到linux中!!

错误1:lzop:not fount

  • 错误输出如下:
/bin/sh:1: lzop: not found 
arch/arm/boot/compressed/Makefile:180: recipe for target ' arch/arm/boot/compressed/piggy.1zo' 
failed make[2]:*** [ arch/arm/boot/compressed/piggy.1zo] 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
  • 错误原因:缺少lzop
  • 解决方法:安装lzop
sudo apt-get install lzop
Clone this wiki locally