Linux 执行Make 出错

执行make 编译Uboot时候报错:

YACC scripts/kconfig/zconf.tab.c
/bin/sh: 1: bison: not found
scripts/Makefile.lib:226: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
Makefile:516: recipe for target 's5p_goni_defconfig' failed
make[1]: *** [s5p_goni_defconfig] Error 2
Makefile:498: recipe for target '__build_one_by_one' failed
make: *** [__build_one_by_one] Error 2

解决方法:

sudo apt-get install bison -y

sudo apt-get install flex -y

重新执行make

posted on 2019-10-07 19:46  老九哥  阅读(1329)  评论(0)    收藏  举报