我正在尝试构建android项目

即使在为工具链设置了正确的路径后也能获得以下错误

/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 !!!

最佳答案

如果您使用的是Ubuntu,这是一个解决方案:

$ sudo apt-get install lzop

或寻找您的OS的lzop套件。

关于android - 错误: file not found: arch/arm/boot/compressed/piggy. lzo,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/26271000/

10-09 05:22