yacc与lex的安装

HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
/bin/sh: 1: bison: not found
make[2]: *** [scripts/Makefile.lib:228: scripts/kconfig/zconf.tab.c] Error 127
make[1]: *** [Makefile:492: vc0768p_defconfig] Error 2

对于yacc,使用命令如下:

sudo apt-get install byacc

YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
/bin/sh: 1: flex: not found
make[2]: *** [scripts/Makefile.lib:219: scripts/kconfig/zconf.lex.c] Error 127
make[1]: *** [Makefile:492: vc0768p_defconfig] Error 2

对于lex,使用命令如下:

sudo apt-get install flex

猜你喜欢

转载自blog.csdn.net/qq_37464479/article/details/126227238
今日推荐