Android 编译问题

发布于 2021-11-15 23:46:00 字数 27095 浏览 994 评论 1

最近想更改一下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,请问具体该如何解决此错误?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终陌 2021-11-16 13:25:36

求指教!!!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文