ubuntu编译linux报错/bin/sh: 1: mkimage: not found
Posted 丘木木
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu编译linux报错/bin/sh: 1: mkimage: not found相关的知识,希望对你有一定的参考价值。
报错
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
MKIMAGE arch/arm/boot/dts/overlays/sun8i-h3-fixup.scr
/bin/sh: 1: mkimage: not found
make[2]: *** [scripts/Makefile.lib:337: arch/arm/boot/dts/overlays/sun8i-h3-fixup.scr] Error 127
make[1]: *** [scripts/Makefile.build:585: arch/arm/boot/dts/overlays] Error 2
make: *** [arch/arm/Makefile:348: dtbs] Error 2
原因是缺少工具,使用sudo apt-get install u-boot-tools
安装即可。
以上是关于ubuntu编译linux报错/bin/sh: 1: mkimage: not found的主要内容,如果未能解决你的问题,请参考以下文章
错误记录编译 Linux 内核报错 ( /bin/sh: 1: flex: not found )
redis编译报错 /bin/sh: cc: command not found
linux环境ubuntu: pushd: not found
ubuntu中/bin/bash与/bin/sh,区别较大吗