[英]getting errors while configuring android on ubuntu 11.10
I am following all steps using this link . 我正在使用此链接执行所有步骤。
The build was successful but when I say make -j4
I get the following error: 构建成功,但是当我说
make -j4
,出现以下错误:
frameworks/base/libs/utils/RefBase.cpp: In member function ‘void android::RefBase::weakref_type::trackMe(bool, bool)’:
frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing ‘const android::RefBase::weakref_impl’ as ‘this’ argument of ‘voidandroid::RefBase::weakref_impl::trackMe(bool, bool)’ discards qualifiers [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBase.o] Error 1
make: *** Waiting for unfinished jobs....
frameworks/base/libs/utils/ResourceTypes.cpp: In member function ‘void android::ResTable::print(bool) const’:
frameworks/base/libs/utils/ResourceTypes.cpp:4369:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
frameworks/base/libs/utils/ResourceTypes.cpp:4375:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
frameworks/base/libs/utils/ResourceTypes.cpp: At global scope:
frameworks/base/libs/utils/ResourceTypes.cpp:4429:1: fatal error: opening dependency file out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/ResourceTypes.d: Permission denied
compilation terminated.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/ResourceTypes.o] Error 1
Why am getting this error?? 为什么会出现此错误? Is there anything I've done wrong??
我做错了什么吗? Thanks for any help!
谢谢你的帮助!
Your error is: 您的错误是:
out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/ResourceTypes.d: Permission denied
Make sure the permissions on that file are correct for the user that is running the command. 确保对该文件的权限对于运行该命令的用户是正确的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.