【Kernel driver】Unable to find the ncurses libraries

00. Catalog


insert image description here

01. Problem description

The following error occurs when executing make menuconfig:

deng@local:~/arm/kernel-3.4.39$ 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.
 *** 
make[1]: *** [/home/deng/arm/kernel-3.4.39/scripts/kconfig/Makefile:190:scripts/kconfig/dochecklxdialog] 错误 1
make: *** [Makefile:494:menuconfig] 错误 2
deng@local:~/arm/kernel-3.4.39$ 

02. Problem Analysis

Install ncurses (ncurses-devel) and try again. The ncurses-devel library needs to be installed.

03. Problem solving

deng@local:~/arm/kernel-3.4.39$ sudo apt install libncurses5-dev


04. Question verification

deng@local:~/arm/kernel-3.4.39$ make menuconfig 

insert image description here

05. Appendix

Guess you like

Origin blog.csdn.net/dengjin20104042056/article/details/132381857