buildroot下解决make menuconfig出错的问题

在buildroot根目录下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.
 *** 
Makefile:199: recipe for target '/home/scw/buildroot-2018.02.1/output/build/buildroot-config/dochecklxdialog' failed
make[2]: *** [/home/scw/buildroot-2018.02.1/output/build/buildroot-config/dochecklxdialog] Error 1
Makefile:877: recipe for target '/home/scw/buildroot-2018.02.1/output/build/buildroot-config/mconf' failed
make[1]: *** [/home/scw/buildroot-2018.02.1/output/build/buildroot-config/mconf] Error 2
Makefile:79: recipe for target '_all' failed

make: *** [_all] Error 2

====================================================

解决方法:

首先:sudo apt-get insatll ncurses-dev

然后重新 make menuconfig



你可能感兴趣的:(buildroot下解决make menuconfig出错的问题)