【错误记录】编译 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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!