make menuconfig 报段错误

时间:2024-03-21 11:17:28

make menuconfig 报段错误 
错误代码:make[1]: *** [menuconfig] Segmentation fault (core dumped) Makefile:417: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2


 uname -a
Linux book-virtual-machine 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


gcc 版本:gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 
编译的内核版本为:linux-2.6.22
make menuconfig 报段错误

 

解决:sudo apt-get install libncurses*

 

在此感谢百问网老师

 

相关:https://bbs.csdn.net/topics/392037910?page=1#post-403411496

https://www.zhihu.com/question/36244059?sort=created