Linux内核编译报错/bin/sh: 1: bison: not found recipe for target ‘scriptskconfigparser.tab.h‘ failed

Linux内核编译报错recipe for target ‘scriptskconfigparser.tab.h’ failed

错误信息
Linux内核编译报错/bin/sh: 1: bison: not found recipe for target ‘scriptskconfigparser.tab.h‘ failed_第1张图片

/bin/sh: 1: bison: not found
scripts/Makefile.host:17: recipe for target 'scripts/kconfig/parser.tab.h' failed
make[1]: *** [scripts/kconfig/parser.tab.h] Error 127
Makefile:589: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

解决方法

按错误提示来
安装bison

sudo apt-get install bison

重新编译测试
Linux内核编译报错/bin/sh: 1: bison: not found recipe for target ‘scriptskconfigparser.tab.h‘ failed_第2张图片
ok解决

你可能感兴趣的:(Linux,linux,驱动开发,arm开发)