Ubuntu16.04编译Android5.0报了这样的错,请问怎么解决

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu16.04编译Android5.0报了这样的错,请问怎么解决相关的知识,希望对你有一定的参考价值。

参考技术A external/libcxx/include/atomic:539:2: error: #error <atomic> is not implemented
art/runtime/atomic.h:155:5: error: 'atomic_thread_fence' is not a member of 'std'
art/runtime/atomic.h:155:30: error: 'memory_order_acquire' is not a member of 'std'
art/runtime/entrypoints/entrypoint_utils.h:50:44: error: 'art::mirror::Class* art::CheckClassInitializedForObjectAlloc(art::mirror::Class*, art::Thread*, bool*)' declared 'static' but never defined [-Werror=unused-function]
art/runtime/entrypoints/entrypoint_utils.h:146:33: error: 'art::mirror::ArtField* art::FindFieldFast(uint32_t, art::mirror::ArtMethod*, art::FindFieldType, size_t)' declared 'static' but never defined [-Werror=unused-function]
art/runtime/entrypoints/entrypoint_utils.h:152:34: error: 'art::mirror::ArtMethod* art::FindMethodFast(uint32_t, art::mirror::Object*, art::mirror::ArtMethod*, bool, art::InvokeType)' declared 'static' but never defined [-Werror=unused-function]
art/runtime/entrypoints/entrypoint_utils.h:158:30: error: 'art::mirror::Class* art::ResolveVerifyAndClinit(uint32_t, art::mirror::ArtMethod*, art::Thread*, bool, bool)' declared 'static' but never defined [-Werror=unused-function]
art/runtime/entrypoints/entrypoint_utils.h:166:31: error: 'art::mirror::String* art::ResolveStringFromCode(art::mirror::ArtMethod*, uint32_t)' declared 'static' but never defined [-Werror=unused-function]本回答被提问者采纳

以上是关于Ubuntu16.04编译Android5.0报了这样的错,请问怎么解决的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu16.04之sudo问题

解决Ubuntu16.04重启进入initramfs

[Android 编译] Ubuntu 16.04 LTS 成功编译 Android 6.0 源码教程

配置Ubuntu16.04编译Android

ubuntu 16.04源码编译和配置caffe详细教程 | Install and Configure Caffe on ubuntu 16.04

[Android 编译] Ubuntu 16.04 LTS 成功编译 Android 6.0 源码教程