When you enter the kernel directory, compile the kernel, and execute make menuconfig, you are prompted as follows:
*** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** scripts/kconfig/Makefile:202: recipe for target 'scripts/kconfig/dochecklxdialog' failed make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1 Makefile:520: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2
How to Solve:
1. Check out .bashrc
2… Solve according to the error: apt-get install ncurses-devel , again with the error.
E: Unable to locate package ncurses-devel
3. The above reason is because the system lacks libncurses library, so install it: sudo apt-get install libncurses-dev
4. Make menuconfig again, successfully: sudo apt-get install libncurses-dev
Read More:
- [Solved] Java XXX: unable to find topic engine in module path
- [Solved] Maven Project Packaging Error: Unable to find main class
- Nacos boot error, unable to find Java_HOME [How to Solve]
- [Solved] Hongmeng compiles error: Unable to find the java component with apiVersion 4.
- Java error: unable to find or load main class (package name in source file)
- [Solved] Mailsslsocketfactory error: Cannot find declaration to go to
- [Solved] Project Startup Error: Redis health check failed:Unable to connect to localhost6379
- [Solved] Project Startup Error: Redis health check failed: Unable to connect to localhost6379
- How to Fix log4j2 warning: warn unable to identify org.fusesource.jansi.WindowsAnsiOutputStream
- [Solved] Unable to connect to a as user root com.jcraft.jsch.JSchException: Auth failUnable to connect
- error:unable to access jarfile cracker2017.jar [How to Solve]
- Solution to the problem of using Alibaba gateway but unable to route successfully
- [Solved] SpringBoot Startup Error: Unable to start LiveReload server
- [Solved] Nacos1.3.2 Startup Error: Unable to start embedded Tomcat
- Elasticsearch Startup Error: unable to install syscall filter: java.lang.UnsupportedOperationException: seccomp
- [Solved] jar file Execute Error: power shell error: unable to access jarfile
- [Solved] nacos Startup Error: Unable to start embedded Tomcat
- [Solved] Gurobi–Error code: 10005. Unable to retrieve attribute solved ‘Pi‘
- Java.sql.sqlexception: unable to read more data from socket
- [Solved] Springboot Project Startup Error: Unable to Identify bootstrap.yml Configuration