内核编译报错lzop: command not found的解决方法

内核编译报错:lzop: command not found

说明缺少lzop工具,需要自行安装

安装lzo

下载地址 : http://www.lzop.org/download/lzop-1.03.tar.gz 

./configure CPPFLAGS="$CPPFLAGS -std=c90 -fPIC" CC=gcc

(这里的-std=c90是指定C语言的编译标准, 否则会报错configure: error: ACC conformance test failed. Stop.    -fPIC)

make

make install

安装成功后,重新编译内核就可以编译通过了

猜你喜欢

转载自blog.csdn.net/weixin_59665492/article/details/120151752
今日推荐