Hi all, I was building AOSP for my own device. but it failed.
[ 73% 25529/34711] target SharedLib: libstagefright_soft_avcdec
(out/target/product/kiw/obj/SHARED_LIBRARIES/libstagefright_soft_avcdec_intermediates/LINKED/libstagefright_soft_avcdec.so)
FAILED: /bin/bash -c
"prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -nostdlib
-Wl,-soname,libstagefright_soft_avcdec.so -Wl,--gc-sections -shared
-Lout/target/product/kiw/obj/lib
out/target/product/kiw/obj/lib/crtbegin_so.o
out/target/product/kiw/obj/SHARED_LIBRARIES/libstagefright_soft_avcdec_intermediates/SoftAVCDec.o
-Wl,--whole-archive -Wl,--no-whole-archive
out/target/product/kiw/obj/STATIC_LIBRARIES/libavcdec_intermediates/libavcdec.a
out/target/product/kiw/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/lib/../lib64/libatomic.a
prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9/libgcc.a
-lstagefright -lstagefright_omx -lstagefright_foundation -lutils -llog
-lc++ -ldl -ldl -lc -lm -o
out/target/product/kiw/obj/SHARED_LIBRARIES/libstagefright_soft_avcdec_intermediates/LINKED/libstagefright_soft_avcdec.so
-Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5
-Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,-maarch64linux
-Wl,--hash-style=gnu -Wl,--fix-cortex-a53-843419 -fuse-ld=gold
-Wl,--icf=safe -Wl,--no-undefined-version -Wl,--allow-shlib-undefined
-target aarch64-linux-android
-Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin
-Wl,-Bsymbolic -Wl,--no-undefined
out/target/product/kiw/obj/lib/crtend_so.o"
external/libavc/decoder/arm/ih264d_function_selector.c:67: error: undefined
reference to 'ih264d_init_function_ptr_av8'
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
[ 73% 25529/34711] target C++: libstagefright_soft_avcenc <=
frameworks/av/media/libstagefright/codecs/avcenc/SoftAVCEnc.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (59:04 (mm:ss)) ####
Can someone help me, please? Thanks a lot.
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
AndroidProducts.mk
Description: Binary data
BoardConfig.mk
Description: Binary data
device.mk
Description: Binary data
full_kiw.mk
Description: Binary data
# # Copyright 2014 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # add_lunch_combo full_kiw-eng
