make menuconfig之后错误如下所示:
taozhang@taozhang-virtual-machine:~/share/4412/buildroot/buildroot-2015.05$ make menuconfig
mkdir -p /home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
obj=/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config -C support/kconfig -f Makefile.br mconf
make[1]: 正在进入目录 `/home/taozhang/share/4412/buildroot/buildroot-2015.05/support/kconfig'
*** 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]: *** [/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/dochecklxdialog] 错误 1
make[1]:正在离开目录 `/home/taozhang/share/4412/buildroot/buildroot-2015.05/support/kconfig'
make: *** [/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/mconf] 错误 2
原因是缺少一个库文件,可以使用如下命令解决:
sudo apt-get install ncurses-dev
来源:CSDN
作者:小小城御园
链接:https://blog.csdn.net/qq_37600027/article/details/103484655