No rule to make target 'Menuconfig'. Stop
时间: 2023-09-26 22:10:09 浏览: 290
回答: 当执行"make menuconfig"命令时出现"No rule to make target 'menuconfig'. Stop"错误提示,通常是因为没有在内核源码目录下进行操作。确保你在正确的内核源码目录下执行该命令,例如在"/usr/src/linux***"目录下。如果你已经在正确的目录下执行了命令,但仍然出现错误,可以尝试修改Makefile文件。找到报错行并进行修改,例如将"config %config: scripts_basic outputmakefile FORCE"改为"%config %config: scripts_basic outputmakefile FORCE"。如果报错行是"/ %/: prepare scripts FORCE",则改为"%/: prepare scripts FORCE"。这样应该可以解决该错误。另外,使用较新版本的内核可能会减少错误的发生。希望这些信息对你有帮助。
#### 引用[.reference_title]
- *1* [make ***No rule to make target](https://blog.csdn.net/iteye_3753/article/details/82339669)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [make: *** No rule to make target `menuconfig‘. Stop.问题](https://blog.csdn.net/weixin_43796595/article/details/117045700)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文