I recently learned how to develop Linux arm. Follow the instructions in the manual to transplant the kernel.
Use the make menuconfig command in the outermost directory of the kernel, for example:
[Root @ wanyao linux-2.6.30.4] # Make menuconfig
The result is incorrect. The error message is as follows:
* ** Unable to find the ncurses libraries or
* ** 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 reason is that the ncurses-devel library file is missing.
Ncurses is installed by default when the system is installed, but ncurses-devel Is Not Installed
You can run the rpm-Q command to view the information:
Enter rpm-Q ncurses. The following information indicates that ncurses has been installed:
[Root @ wanyao linux-2.6.30.4] # rpm-Q ncurses
Ncurses-5.7-3.20090208.el6.i686
However, ncurses-devel version information cannot be found when rpm-Q ncurses-devel command is used, so you need to install ncurses-devel consistent with ncurses version, download ncurses-devel-5.7-3.20090208.el6.i686.rpm online
Exploitation
[Root @ wanyao linux-2.6.30.4] # RMP-IVH ncurses-devel-5.7-3.20090208.el6.i686.rpm
Make menuconfig after ncurses-devel is installed.
Conclusion: This problem is mainly caused by installing ncurses-devel. Note that the version information must be consistent with ncurses.