在 linux 编译核心时 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.
这是因为系统中缺少 ncurses-devel,安装一下就可以了
CentOS:

yum install -y ncurses-devel

Ubuntu:

sudo apt-get install ncurses