ubuntu14.04 内核编译,/bin/sh: 1: lzop: not found问题

前端之家收集整理的这篇文章主要介绍了ubuntu14.04 内核编译,/bin/sh: 1: lzop: not found问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

在编译imx 4.1.15 内核过程中在最后生成内核报:

OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
make[2]: Warning: File `arch/arm/boot/compressed/../Image' has modification time 0.75 s in the future
LZO arch/arm/boot/compressed/piggy.lzo
/bin/sh: 1: lzop: not found
make[2]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [uImage] Error 2

度娘一下,说是缺少lzop ,

那么就安装下:

sudo apt-get install lzop

正在读取软件包列表... 有错误
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages
E: 无法解析或打开软件包的列表或是状态文件

还报错误,依然度娘:

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update

sudo apt-get install lzop

然后再编译内核,完美解决

原文链接:https://www.f2er.com/ubuntu/355233.html

猜你在找的Ubuntu相关文章