编译Linux内核时错误 Unable to find the ncurses libraries

编译Linux内核时,执行make menuconfig出现如下错误:

root@ubuntu:/mnt/hgfs/LinuxShare/linux-3.10.5# make menuconfig

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
 *** 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


解决方法如下:

sudo apt-get install ncurses-dev


你可能感兴趣的:(编译Linux内核时错误 Unable to find the ncurses libraries)