ubuntu下Makefile:xxx: recipe for target ‘xxx‘ failed

在Ubuntu下,编译Kernel报如下错误:
Makefile:1150: recipe for target ‘altbininstall’ failed make: *** [altbininstall] Error 1
原因:缺少工具lzo

解决:安装lzo
(1)wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz
(2) sudo su
(3)tar xzvf lzo-2.06.tar.gz
(4)cd lzo-2.06
(5)./configure --enable-shared
(6)make && make install

猜你喜欢

转载自blog.csdn.net/weixin_50008473/article/details/119647298
今日推荐