Ubuntu下Xilinx Linux内核编译问题,出现“缺少ncurses”libraries

对官方提供的内核源码包进行解压缩,进入到内核目录,使用make menuconfig后,发现提示以下错误:

*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2

参考

apt-get install libncurses5-dev

发现,并不起作用。
网上查了一下,发现以下命令有用。

sudo apt-get install ncurses-dev

猜你喜欢

转载自blog.csdn.net/moluoyu/article/details/51504214