您的位置:首页 > 其它

"mkimage" command not found - U-Boot images will not be

2016-01-14 10:04 435 查看
ubuntu14.04编译内核报错:

"mkimage" command not found - U-Boot images will not be built

make[1]: *** [arch/arm/boot/uImage] Error 1

make: *** [uImage] Error 2

按照错误提示安装uboot-mkimage

# apt-get install uboot-mkimage

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Package uboot-mkimage is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

However the following packages replace it:

  u-boot-tools

E: Package 'uboot-mkimage' has no installation candidate

此时依然报错了,uboot-mkimage不可用,提示去安装  u-boot-tools

# apt-get install u-boot-tools

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following packages were automatically installed and are no longer required:

  libdumbnet1 zerofree

Use 'apt-get autoremove' to remove them.

The following NEW packages will be installed:

  u-boot-tools

0 upgraded, 1 newly installed, 0 to remove and 558 not upgraded.

Need to get 59.7 kB of archives.

After this operation, 197 kB of additional disk space will be used.

Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main u-boot-tools i386 2013.10-3 [59.7 kB]

Fetched 59.7 kB in 11s (5,283 B/s)      

Selecting previously unselected package u-boot-tools.

(Reading database ... 211369 files and directories currently installed.)

Preparing to unpack .../u-boot-tools_2013.10-3_i386.deb ...

Unpacking u-boot-tools (2013.10-3) ...

Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

Setting up u-boot-tools (2013.10-3) ...

至此,安装成功!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: