tkj
2017-01-24 03:24:30 UTC
Hello all,
I was trying to build AOSP for my device but 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.
I was trying to build AOSP for my device but 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.
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.