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

错误信息:

/bin/sh: 1: flex: not found
scripts/Makefile.lib:188: recipe for target 'scripts/kconfig/zconf.lex.c' failed
make[1]: *** [scripts/kconfig/zconf.lex.c] Error 127
Makefile:528: recipe for target

解决方式:
sudo apt-get install flex

0

Leave a Reply

Your email address will not be published.