【错误记录】编译 Linux 内核报错信息及解决办法

【错误记录】编译 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

posted @   冰_冰_凉_凉  阅读(209)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
点击右上角即可分享
微信分享提示