account arrowhead-down arrowhead-up mobile-menu search sm-bold-x x-skinny-rounded x-skinny arrowhead-right social-facebook social-googleplus social-instagram social-linkedin social-pinterest social-qzone social-renren social-tencent social-twitter social-vkontakt social-weibo social-youku social-youtube

Please help us improve our website

Take our customer survey to evaluate your visit.

It should only take a few minutes to answer five quick questions. Just click the Launch survey button at the end of your visit to begin.

cancel
Showing results for 
Search instead for 
Did you mean: 
Welcome to the Open Devices community!

This is where we discuss open source and development related questions on our Open Devices initiative.

Build error with AOSP Pie for Xperia X(f5122)

SOLVED
Highlighted
Adviser
Message 1 of 2
2,458 Views
Message 1 of 2

Build error with AOSP Pie for Xperia X(f5122)

DBUILDCFG -DBLUEDROID_DEBUG -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -DANDROID_STRICT -fPIC -D_USING_LIBCXX -flto -fsanitize-cfi-cross-dso -fsanitize-blacklist=external/compiler-rt/lib/cfi/cfi_blacklist.txt -fsanitize=cfi -fsanitize-trap=all -ftrap-function=abort -fno-sanitize-trap=cfi -std=gnu++14 -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next -fvisibility-inlines-hidden -fno-rtti -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF out/soong/.intermediates/system/bt/bta/libbt-bta/android_arm64_armv8-a_cortex-a53_core_static_cfi/obj/system/bt/bta/av/bta_av_aact.o.d -o out/soong/.intermediates/system/bt/bta/libbt-bta/android_arm64_armv8-a_cortex-a53_core_static_cfi/obj/system/bt/bta/av/bta_av_aact.o system/bt/bta/av/bta_av_aact.cc
In file included from system/bt/bta/av/bta_av_aact.cc:37:
In file included from system/bt/btif/avrcp/avrcp_service.h:24:
system/bt/osi/include/properties.h:23:9: error: 'PROPERTY_VALUE_MAX' macro redefined [-Werror,-Wmacro-redefined]
#define PROPERTY_VALUE_MAX 92
^
system/core/libcutils/include/cutils/properties.h:37:9: note: previous definition is here
#define PROPERTY_VALUE_MAX PROP_VALUE_MAX
^
1 error generated.
[ 0% 6/28226] //system/bt/bta:libbt-bta clang++ dm/bta_dm_act.cc
ninja: build stopped: subcommand failed.
21:37:30 ninja failed with: exit status 1

#### failed to build some targets (11 seconds) ####

1 ACCEPTED SOLUTION

Accepted Solutions
Adviser
Message 2 of 2
2,428 Views
Message 2 of 2

Re: Build error with AOSP Pie for Xperia X(f5122)

ninja: error: 'out/target/product/suzu/system/etc/init/android.hidl.allocator@1.0-service.rc', needed by 'out/target/product/suzu/obj/NOTICE.html', missing and no known rule to make it
19:25:06 ninja failed with: exit status 1

View solution in original post

1 REPLY 1
Adviser
Message 2 of 2
2,429 Views
Message 2 of 2

Re: Build error with AOSP Pie for Xperia X(f5122)

ninja: error: 'out/target/product/suzu/system/etc/init/android.hidl.allocator@1.0-service.rc', needed by 'out/target/product/suzu/obj/NOTICE.html', missing and no known rule to make it
19:25:06 ninja failed with: exit status 1

View solution in original post