No rule to make target `include/config/auto.conf'

原创 2013年12月04日 13:59:51

今天编译内核 发现一个错误,网上搜了一下帖子如下!topic/android-kernel/cNCkKGfkwUc

Error during update of the configuration. 

make[2]: *** [silentoldconfig] Error 1 
make[1]: *** [silentoldconfig] Error 2 

make: *** No rule to make target `include/config/auto.conf', needed by `include/ config/kernel.release'.  Stop. 


I got exactly this.  The actual reason for this is that at some point you compiled as root, the file

include/config/auto.conf is then owned by root, you are now compiling as a normal user and don't
have permissions to change that file.

To fix, I did the following -

sudo chown -R andy:andy .

This changes the owner/group of every file to andy.  -R applies this change to subdirectories, so
all files are modifiable. Obviously, if you are not andy you may want to use a different username.

After this change, I could compile flawlessly.



sudo chown -R 你的用户名:你的用户名 . 


[新手编译内核]kernel进行编译时提示No rule to make target `menconfig'.

第一次编译内核使用make 命令的一些记录

make: *** No rule to make target 错误原因、分析和解决办法

很有帮助,已解决问题。具体解决步骤是:   比如我的报错是: make[1]: *** No rule to make target `jni/..//submodules/linphone/oR...

make时 No rule to make target错误解决办法

make[1]: Entering directory `/home/leon/test/HiviewDtvUboot/U-boot/board/hs3000' make[1]: *** No ru...

No rule to make target `include/config/auto.conf', needed by `include/ config/kernel.release'. stop

硬件平台:飞凌 imx6Q 四核 系统版本:Linux 3.0.35 开发平台:ubuntu 12.04 虽然开发板出厂已经给了定制的内核镜像,但是嵌入式产品总是要定制适合自己的内核版本。所有编译...

Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.

【问题】 有个已有的Makefile,执行过程中出错: CLi@PC-CLI-1 ~/develop/docbook/books/python_topic_str_encoding...


刚刚编译内核时出现: *** Error during update of the configuration. make[2]: *** [silentoldconfig] 错误 1 ma...

编译内核模块出现 include/linux/autoconf.h or include/config/auto.conf are missing.解决方法

lxiang@lxiang-Aspire-5750G:~/workplace/arm_device_driver/code_enjoy/2-4-2$ make make -C ../2-3-1/GQ...

Android Studio下NDK开发之"No such file or direct"和“no rule to make target”

Android studio 1.5 Android NDK开发 “No such file or direct" “no rule to make target”

eclipse c/c++IDE 编译 make: *** No rule to make target `all'. Stop. 解决办法

若要转载请注明来源 首先看提示信息 产生的背景make: *** No rule to make target `all'.  Stop 在eclipse上创建一个c projec...

Android源码编译出错No rule to make...

您举报文章:No rule to make target `include/config/auto.conf'