海思hi3519AV100编译busybox时出现错误 #include CURSES

mac2024-05-13  32

 

make menuconfig HOSTCC scripts/kconfig/lxdialog/checklist.o In file included from scripts/kconfig/lxdialog/checklist.c:24:0: scripts/kconfig/lxdialog/dialog.h:31:20: 致命错误:curses.h:没有那个文件或目录 #include CURSES_LOC ^ 编译中断。 make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1 make[1]: *** [menuconfig] 错误 2 make: *** [menuconfig] 错误 2 [liushaohua@localhost busybox-1.26.2]$

解决方法:

sudo apt-get install libncurses5-dev 

 

最新回复(0)