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

来源:互联网 发布:手提包女士知乎 编辑:程序博客网 时间:2024/06/06 03:49

对官方提供的内核源码包进行解压缩,进入到内核目录,使用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 1make: *** [menuconfig] Error 2

参考

apt-get install libncurses5-dev

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

sudo apt-get install ncurses-dev
0 0
原创粉丝点击