编译内核报错:/bin/sh: 1: bison: not found

错误信息:

/bin/sh: 1: bison: not found
scripts/Makefile.lib:196: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[1]: *** [scripts/kconfig/zconf.tab.c] Error 127
Makefile:528: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

解决方式:
apt-get install bison -y

0

Leave a Reply

Your email address will not be published.