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

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

今天编译内核 发现一个错误,网上搜了一下帖子如下

https://groups.google.com/forum/#!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.

andy

简单就是


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...

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

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

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...

在领导出差项目量产的节骨眼上,公司服务器出问题了,具体是硬盘问题,于是就派我这个刚入行半年的来重装ubuntu系统然后搭建服务器,好不容易在别人的指导下搭建起来了,却又出这样那样的问题(这些问题都是重...

no rule to process file ... .frag!

麻痹被这个东西弄了一个下半夜,无比的窝火,直想揍人 虽说 Xcode 的运用越来越熟练,但是终究还是被 xcode 搞得很烦恼 xcode貌似不能对资源文件做实时的监控,有时候对资源文件做出了改动...

关于make zImage时出现include/asm/timex.h:15:28: asm/arch/timex.h: No such file or directory

root@localhost linux]# cd linux-2.6.18 [root@localhost linux-2.6.18]# make zImage   CHK     includ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)