编译u-boot或Linux内核菜单报错,/bin/sh: 1: bison: not found
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
报错
本文编译的是u-boot2021
在编译内核或uboot时,出现/bin/sh: 1: bison: not found
错误。
imaginemiracle@:u-boot-master$ make menuconfig
HOSTCC scripts/basic/fixdep
UPD scripts/kconfig/.mconf-cfg
HOSTCC scripts/kconfig/mconf.o
YACC scripts/kconfig/zconf.tab.c
/bin/sh: 1: bison: not found
make[1]: *** [scripts/Makefile.lib:222: scripts/kconfig/zconf.tab.c] Error 127
make: *** [Makefile:564: menuconfig] Error 2
解决
该错误是由于缺少一些相关库文件导致,安装上即可正常编译。
安装命令:
sudo apt install bison flex
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献18条内容
所有评论(0)