external/libcxx/include/__config:1058:20: note: expanded from macro '_LIBCPP_DIAGNOSE_WARNING'
__attribute__((diagnose_if(__VA_ARGS__, "warning")))
^~~~~~~~~~~~
1 warning generated.
[ 16% 6711/41716] //system/core/libcutils:libcutils gcc threads.c [windows x86_64]
FAILED: out/soong/.intermediates/system/core/libcutils/libcutils/windows_x86_64_static/obj/system/core/libcutils/threads.o
PWD=/proc/self/cwd prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/bin/x86_64-w64-mingw32-gcc -c -Isystem/core/libcutils/include -Isystem/core/libcutils-fno-exceptions -Wno-multichar -DUSE_MINGW -DWIN32_LEAN_AND_MEAN -Wno-unused-parameter -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -D__USE_MINGW_ANSI_STDIO=1 -D_WIN32_WINNT=0x0600 -DWINVER=0x0600 -D_FILE_OFFSET_BITS=64 --sysroot prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32 -O2 -g -fno-strict-aliasing -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd=-Isystem/core/libcutils/include -Isystem/core/libutils/include -Isystem/core/liblog/include -Isystem/core/libsystem/include -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -isystem prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include -isystem prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/include -Ilibnativehelper/include_deprecated -Werror -Wall -Wextra -D_GNU_SOURCE -DANDROID_STRICT -std=gnu99-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -MD -MF out/soong/.intermediates/system/core/libcutils/libcutils/windows_x86_64_static/obj/system/core/libcutils/threads.o.d -o out/soong/.intermediates/system/core/libcutils/libcutils/windows_x86_64_static/obj/system/core/libcutils/threads.o system/core/libcutils/threads.c
【linux驱动学习(兼容安卓)|android编译错误(2)】编译之前先执行:
这个报错是说 system/core/libcutils:libcutils 有问题,所以我们可以先编译一次system/core目录
或者直接整编
推荐阅读
- linux驱动学习(兼容安卓)|android编译报错(1)
- Android开发|Android10及以上访问公有目录
- Android|Jetpack 系列之替换代替ButterKnife的全新视图工具 ViewBinding的使用详解
- 详细实例教程!集成华为虚假用户检测,防范虚假恶意流量
- Android|44岁万达女高管跳楼(摧毁一个中年人有多容易!)
- android|本来打算年前离职,但是昨天的一次 Android 面试让我心好累……我迷茫了
- android|android ffmpeg rtmp,Android利用ffmpeg产生推流
- 什么是原创(独立完成就是原创吗?)
- android|壁纸服务的启动过程