高通源码编译提示错误

从网上直接下载的高通源代码,全部编译。

提示错误如下:

ninja: Entering directory `.'
[  0% 5/27986] target SharedLib: libc (out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
FAILED: /bin/bash -c "prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -nostdlib -Wl,-soname,libc.so -Wl,--gc-sections -shared  -Lout/target/product/msm8909w/obj/lib    out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtbrand.o out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtend_so.o   out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/bionic/malloc_common.o out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.o out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/bionic/NetdClient.o       out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtbegin_so.o out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/arch-arm/bionic/exidx_dynamic.o out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/arch-arm/bionic/atexit_legacy.o        -Wl,--whole-archive  out/target/product/msm8909w/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a out/target/product/msm8909w/obj/STATIC_LIBRARIES/libjemalloc_intermediates/libjemalloc.a -Wl,--no-whole-archive   out/target/product/msm8909w/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a   prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/lib/libatomic.a prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9/libgcc.a -ldl  -o out/target/product/msm8909w/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so   -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--icf=safe -Wl,--hash-style=gnu -Wl,--no-undefined-version -Wl,--no-fix-cortex-a8    -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin   -Wl,--hash-style=both -Wl,--version-script,bionic/libc/libc.arm.map -Wl,--no-undefined"
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: version script assignment of LIBC to symbol __propClientDispatch failed: symbol not defined
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: version script assignment of LIBC to symbol __propClientDispatchWrite failed: symbol not defined
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[  0% 5/27986] build out/target/product/msm8909w/emmc_appsboot.mbn
make: Entering directory `/home/android/msm8909/Source_Package/bootable/bootloader/lk'
including app/aboot dev/fbcon dev/gcdb/display dev/keys dev/pmic/pm8x41 dev/vib lib/debug lib/heap lib/libc lib/libfdt lib/openssl lib/ptable
including lib/openssl/crypto lib/zlib_inflate
make[1]: Entering directory `/home/android/msm8909/Source_Package/bootable/bootloader/lk'
generating ../../../out/target/product/msm8909w/obj/EMMC_BOOTLOADER_OBJ/build-msm8909/config.h
cp -f ../../../out/target/product/msm8909w/obj/EMMC_BOOTLOADER_OBJ/build-msm8909/lk_s.elf ../../../out/target/product/msm8909w/obj/EMMC_BOOTLOADER_OBJ/../../emmc_appsboot.mbn
make[1]: Leaving directory `/home/android/msm8909/Source_Package/bootable/bootloader/lk'
make: Leaving directory `/home/android/msm8909/Source_Package/bootable/bootloader/lk'
[  0% 5/27986] Ensure Jack server is installed and started
Jack server already installed in "/root/.jack-server"
Server is already running
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (03:03 (mm:ss)) ####


好几天未解,高手指点一下!



阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页