1
回答
Android 编译问题

最近想更改一下android的开机画面,所有需要编译android系统,但现在碰到这个错误:

host C++: mksnapshot <= external/v8/src/accessors.cc

host C++: mksnapshot <= external/v8/src/allocation.cc

In file included from external/v8/src/v8.h:63:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/objects.h: In instantiation of ‘v8::internal::PropertyDetails v8::internal::Dictionary<Shape, Key>::DetailsAt(int) [with Shape = v8::internal::StringDictionaryShape; Key = v8::internal::String*]’:
external/v8/src/property.h:189:62:   required from here
external/v8/src/objects.h:2140:71: 错误:‘get’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
external/v8/src/objects.h:2140:71: 附注:declarations in dependent base ‘v8::internal::FixedArray’ are not found by unqualified lookup
external/v8/src/objects.h:2140:71: 附注:use ‘this->get’ instead
external/v8/src/objects.h: In instantiation of ‘v8::internal::Object* v8::internal::Dictionary<Shape, Key>::ValueAt(int) [with Shape = v8::internal::StringDictionaryShape; Key = v8::internal::String*]’:
external/v8/src/property.h:248:78:   required from here
external/v8/src/objects.h:2128:60: 错误:‘get’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
external/v8/src/objects.h:2128:60: 附注:declarations in dependent base ‘v8::internal::FixedArray’ are not found by unqualified lookup
external/v8/src/objects.h:2128:60: 附注:use ‘this->get’ instead
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Map**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:137:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Smi**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:582:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Object**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:734:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::FixedArray**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:2523:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::String**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:7503:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::DescriptorArray**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:7695:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::JSObject**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:7992:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Proxy**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:8149:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::NumberDictionary**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:8321:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Code**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:8655:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Script**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:9783:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/allocation.cc:30:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::SymbolTable**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:10236:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/allocation.cc:30:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
make: *** [out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/src/allocation.o] 错误 1
make: *** 正在等待未完成的任务....
In file included from external/v8/src/v8.h:63:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/objects.h: In instantiation of ‘v8::internal::PropertyDetails v8::internal::Dictionary<Shape, Key>::DetailsAt(int) [with Shape = v8::internal::StringDictionaryShape; Key = v8::internal::String*]’:
external/v8/src/property.h:189:62:   required from here
external/v8/src/objects.h:2140:71: 错误:‘get’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
external/v8/src/objects.h:2140:71: 附注:declarations in dependent base ‘v8::internal::FixedArray’ are not found by unqualified lookup
external/v8/src/objects.h:2140:71: 附注:use ‘this->get’ instead
external/v8/src/objects.h: In instantiation of ‘v8::internal::Object* v8::internal::Dictionary<Shape, Key>::ValueAt(int) [with Shape = v8::internal::StringDictionaryShape; Key = v8::internal::String*]’:
external/v8/src/property.h:248:78:   required from here
external/v8/src/objects.h:2128:60: 错误:‘get’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
external/v8/src/objects.h:2128:60: 附注:declarations in dependent base ‘v8::internal::FixedArray’ are not found by unqualified lookup
external/v8/src/objects.h:2128:60: 附注:use ‘this->get’ instead
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Map**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:137:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Smi**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:582:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Object**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:734:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::FixedArray**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:2523:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::String**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:7503:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::DescriptorArray**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:7695:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::JSObject**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:7992:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Proxy**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:8149:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::NumberDictionary**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:8321:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Code**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:8655:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::Script**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:9783:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit
In file included from external/v8/src/v8.h:56:0,
                 from external/v8/src/accessors.cc:28:
external/v8/src/globals.h: In instantiation of ‘Dest v8::internal::bit_cast(const Source&) [with Dest = v8::internal::SymbolTable**; Source = v8::internal::Object**]’:
external/v8/src/factory.h:323:10236:   required from here
external/v8/src/globals.h:605:3: 错误:‘memcpy’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/v8/src/checks.h:31:0,
                 from external/v8/src/v8.h:57,
                 from external/v8/src/accessors.cc:28:
/usr/include/string.h:42:14: 附注:‘void* memcpy(void*, const void*, size_t)’ declared here, later in the translation unit

make: *** [out/host/linux-x86/obj/EXECUTABLES/mksnapshot_intermediates/src/accessors.o] 错误 1

我的编译环境是fedora,arm-linux-gcc 4.5.1,请问具体该如何解决此错误?

举报
lhp1331
发帖于6年前 1回/1K+阅
顶部