If you configure the kernel using make menuconfig, it happens that the system does not have the Ncurses library installed (Ubuntu system
This library is not installed by default, and an error occurs with the following general error message:
*** 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
The workaround is simple, install ncurses library, ubuntu/ The Debian system can be installed with the following command:
$sudo apt-get Install Libncurses5-dev
The ncurses library is the basic library for screen control under the character terminal, and many of the newly developed programs may not be used, but
If you want to compile some old programs, you often use them.
Make Menuconfig error on Ubuntu