Error: file not found: arch/arm/boot/compressed/piggy.lzo

问题:在编译Android 系统kernel源码的时候出现错误

I am trying to build android project

Getting below error even after setting correct path for toolchains

/bin/sh: lzop: not found
  AS      arch/arm/boot/compressed/piggy.lzo.o
arch/arm/boot/compressed/piggy.lzo.S: Assembler messages:
arch/arm/boot/compressed/piggy.lzo.S:4: Error: file not found: arch/arm/boot/compressed/piggy.lzo
make[2]: *** [arch/arm/boot/compressed/piggy.lzo.o] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
make: Leaving directory `/home/user/workspace/android/kernel/exynos54xx'
build: error: build-kernel failed and die !!!
解决办法
Here is a solution if you’re using Ubuntu:

$ sudo apt-get install lzop

or look for the lzop package of you OS.
 

上一篇:论文解读:知识增强的预训练模型简介


下一篇:对比学习论文(持续更新)