1首先make menuconfig时出现如下错误:
/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:539: recipe for target ‘menuconfig’ failed
make: *** [menuconfig] Error 2
需要执行以下操作:
sudo apt-get install bison
sudo apt-get install flex
2、接着执行make uImage时出现以下错误:
fatal error: openssl/名单.h: No such file or directory
需要执行以下操作:
sudo apt-get install libssl-dev
3、接着执行 make uImage基本上不会出现错误了。
主要参考来自:https://blog.csdn.net/skyleemon/article/details/80646726