当前位置:编程学习 > wap >>

编译android源码出错,求指导

我下几次,总算下载成功,make的时候出现里这些错误,谁能帮我指导下
external/alljoyn/common/inc/qcc/StringMapKey.h:144: error: 'hash' is not a template
external/alljoyn/common/inc/qcc/StringMapKey.h:144: error: explicit specialization of non-template '__gnu_cxx::hash'
In file included from external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:33,
                 from external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:47:
external/alljoyn/alljoyn_core/src/LocalTransport.h:274: error: ISO C++ forbids declaration of 'GUID' with no type
external/alljoyn/alljoyn_core/src/LocalTransport.h:274: error: invalid use of '::'
external/alljoyn/alljoyn_core/src/LocalTransport.h:274: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/src/LocalTransport.h:281: error: expected ';' before 'uint32_t'
external/alljoyn/alljoyn_core/src/LocalTransport.h:369: error: 'GUID' in namespace 'qcc' does not name a type
In file included from external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:34,
                 from external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:47:
external/alljoyn/alljoyn_core/src/Router.h:112: error: expected unqualified-id before '&' token
external/alljoyn/alljoyn_core/src/Router.h:112: error: expected ')' before '&' token
external/alljoyn/alljoyn_core/src/Router.h:112: error: expected ';' before '&' token
In file included from external/alljoyn/alljoyn_core/src/AuthMechanism.h:39,
                 from external/alljoyn/alljoyn_core/src/BusInternal.h:40,
                 from external/alljoyn/alljoyn_core/src/EndpointAuth.h:31,
                 from external/alljoyn/alljoyn_core/src/RemoteEndpoint.h:35,
                 from external/alljoyn/alljoyn_core/daemon/VirtualEndpoint.h:30,
                 from external/alljoyn/alljoyn_core/daemon/NameTable.h:38,
                 from external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:35,
                 from external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:47:
external/alljoyn/alljoyn_core/src/KeyStore.h:123: error: expected unqualified-id before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:123: error: expected ')' before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:123: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:133: error: expected unqualified-id before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:133: error: expected ')' before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:133: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:141: error: expected unqualified-id before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:141: error: expected ')' before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:141: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:149: error: expected unqualified-id before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:149: error: expected ')' before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:149: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/src/KeyStore.h:158: error: 'qcc::GUID' has not been declared
external/alljoyn/alljoyn_core/src/KeyStore.h:229: error: 'GUID' is not a member of 'qcc'
external/alljoyn/alljoyn_core/src/KeyStore.h:229: error: 'GUID' is not a member of 'qcc'
external/alljoyn/alljoyn_core/src/KeyStore.h:229: error: template argument 1 is invalid
external/alljoyn/alljoyn_core/src/KeyStore.h:229: error: template argument 3 is invalid
external/alljoyn/alljoyn_core/src/KeyStore.h:229: error: template argument 4 is invalid
external/alljoyn/alljoyn_core/src/KeyStore.h:244: error: 'GUID' in namespace 'qcc' does not name a type
external/alljoyn/alljoyn_core/src/KeyStore.h: In member function 'QStatus ajn::KeyStore::GetGuid(int&)':
external/alljoyn/alljoyn_core/src/KeyStore.h:163: error: 'thisGuid' was not declared 
external/alljoyn/alljoyn_core/src/EndpointAuth.h:107: error: invalid use of '::'
external/alljoyn/alljoyn_core/src/EndpointAuth.h:107: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/src/EndpointAuth.h:115: error: expected ';' before 'uint32_t'
external/alljoyn/alljoyn_core/src/EndpointAuth.h:136: error: 'GUID' in namespace 'qcc' does not name a type
In file included from external/alljoyn/alljoyn_core/daemon/VirtualEndpoint.h:30,
                 from external/alljoyn/alljoyn_core/daemon/NameTable.h:38,
                 from external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:35,
                 from external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:47:
external/alljoyn/alljoyn_core/src/RemoteEndpoint.h:215: error: ISO C++ forbids declaration of 'GUID' with no type
external/alljoyn/alljoyn_core/src/RemoteEndpoint.h:215: error: invalid use of '::'
external/alljoyn/alljoyn_core/src/RemoteEndpoint.h:215: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/src/RemoteEndpoint.h:222: error: expected ';' before 'const'
In file included from external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:35,
                 from external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:47:
external/alljoyn/alljoyn_core/daemon/NameTable.h:85: error: expected unqualified-id before '&' token
external/alljoyn/alljoyn_core/daemon/NameTable.h:85: error: expected ')' before '&' token
external/alljoyn/alljoyn_core/daemon/NameTable.h:85: error: expected ';' before '&' token
In file included from external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:47:
external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:87: error: expected unqualified-id before '&' token
external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:87: error: expected ')' before '&' token
external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:87: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/daemon/DaemonRouter.h:94: error: expected ';' before 'qcc'
In file included from external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:48:
external/alljoyn/alljoyn_core/daemon/AllJoynObj.h:377: error: ISO C++ forbids declaration of 'GUID' with no type
external/alljoyn/alljoyn_core/daemon/AllJoynObj.h:377: error: invalid use of '::'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.h:377: error: expected ';' before '&' token
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc: In constructor 'ajn::AllJoynObj::AllJoynObj(ajn::Bus&)':
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:83: error: class 'ajn::AllJoynObj' does not have any field named 'guid'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:83: error: 'class ajn::BusAttachment::Internal' has no member named 'GetGlobalGUID'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc: In member function 'QStatus ajn::AllJoynObj::AddBusToBusEndpoint(ajn::RemoteEndpoint&)':
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:1922: error: 'class ajn::RemoteEndpoint' has no member named 'GetRemoteGUID'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc: In member function 'QStatus ajn::AllJoynObj::ExchangeNames(ajn::RemoteEndpoint&)':
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:2012: error: 'class ajn::RemoteEndpoint' has no member named 'GetRemoteGUID'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc: In member function 'void ajn::AllJoynObj::ExchangeNamesSignalHandler(const ajn::Inte易做图ceDescription::Member*, const char*, ajn::Message&)':
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:2091: error: 'guid' was not declared in this scope
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:2146: error: 'class ajn::RemoteEndpoint' has no member named 'GetRemoteGUID'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:2146: error: 'class ajn::RemoteEndpoint' has no member named 'GetRemoteGUID'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc: In member function 'void ajn::AllJoynObj::NameChangedSignalHandler(const ajn::Inte易做图ceDescription::Member*, const char*, ajn::Message&)':
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:2171: error: 'guid' was not declared in this scope
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:2223: error: 'class ajn::RemoteEndpoint' has no member named 'GetRemoteGUID'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:2223: error: 'class ajn::RemoteEndpoint' has no member named 'GetRemoteGUID'
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc: In member function 'virtual void ajn::AllJoynObj::NameOwnerChanged(const qcc::String&, const qcc::String*, const qcc::String*)':
external/alljoyn/alljoyn_core/daemon/AllJoynObj.cc:2302: error: 'guid' was not declared in this scope
make: *** [out/target/product/generic/obj/EXECUTABLES/alljoyn-daemon_intermediates/daemon/AllJoynObj.o] Error 1
android 编译源码出错 make --------------------编程问答-------------------- http://blog.csdn.net/ithomer/article/details/6977386
先按这上面的安装,再编译,你应该少很多东西,报错了就好找了 --------------------编程问答-------------------- 来学习学习,求进步。。。 --------------------编程问答-------------------- 看你环境配置的有问题,还需要很多依赖的类库没安装。 --------------------编程问答-------------------- 看你环境配置的有问题,还需要很多依赖的类库没安装。 
补充:移动开发 ,  Android
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,