编译内核出现的错误

编译内核出息的错误

root@jxj:/home/share/IPC/hi3516cv300/sdk/3516c/linux-3.18.y# make menuconfig

HOSTCC scripts/kconfig/mconf.o
In file included from scripts/kconfig/mconf.c:23:0:
scripts/kconfig/lxdialog/dialog.h:38:20: fatal error: curses.h: 没有那个文件或目录
#include CURSES_LOC
^
compilation terminated.
scripts/Makefile.host:124: recipe for target 'scripts/kconfig/mconf.o' failed
make[1]: *** [scripts/kconfig/mconf.o] Error 1
Makefile:546: recipe for target 'menuconfig' failed

make: *** [menuconfig] Error 2



解决方法:apt-get install libncurses5-dev

你可能感兴趣的:(嵌入式)