【错误记录】编译 Linux 内核报错
报错信息:/bin/sh: 1: bison: not found
解决方案:sudo apt-get install bison
***********************************************************************************************************
报错信息:fatal error: openssl/bio.h: No such file or directory
解决方案:sudo apt install openssl
sudo apt install libssl-dev
***********************************************************************************************************
报错信息:"mkimage" command not found - U-Boot images will not be built
解决方案:sudo apt-get install uboot-mkimage
***********************************************************************************************************
报错信息:
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:i386 u-boot-tools
E: Package 'uboot-mkimage' has no installation candidate
原因:
在Debian(wheezy)/ Ubuntu的13.10(saucy)起,UBOOT-MKIMAGE包已经移除;该MKIMAGE命令包含在U-Boot的 - 工具包。在Ubuntu12.04,有变动
也需要
gcc-4.7-arm-linux-gnueabihf-base and g++-4.7-arm-linux-gnueabihf
to
gcc-4.6-arm-linux-gnueabihf-base and g++-4.6-arm-linux-gnueabih.
解决方案:
git clone https://github.com/LeMaker/lemaker-bsp.git
标签:sudo,Linux,apt,报错,内核,install,linux,arm From: https://www.cnblogs.com/likunpeng/p/17650903.html