我正在尝试构建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 !!!
答案 0 :(得分:7)
如果你正在使用Ubuntu,这是一个解决方案:
$ sudo apt-get install lzop
或寻找你操作系统的lzop包。