高通源码编译提示错误

原创 2018年04月16日 09:53:41

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

提示错误如下:

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)) ####


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



周哥跟你谈谈网页布局容易犯的错误

-
  • 1970年01月01日 08:00

浅谈编译高通android5.1源代码

为什么会编译高通5.1源代码,原因很简单,因为公司做高通平台的手机,所以有必要编译下Linux基础学习篇1.常用指令 ls 显示文件或目录 –l 列出文件详细信息...
  • yjq_120
  • yjq_120
  • 2016-06-02 16:30:15
  • 443

高通snapdragon平台下编译生成运行Android可执行程序小白教程

高通snapdragon平台下编译生成运行Android可执行程序小白教程 这里以高通msm8996为例: 1、源码准备 (1)在android目录下新建文件夹(这里为hello_test),将...
  • weijory
  • weijory
  • 2017-07-06 20:08:24
  • 471

android源码下载,编译及编译时遇到的错误整理

一.环境搭建 因为android的源码编译只支持linux和mac,所以无法在windows下编译.我的电脑也没有双系统,因此只有装一个虚拟机。我用的是VMware workstation ...
  • totcw
  • totcw
  • 2016-08-31 10:46:40
  • 1006

高通9008模式

方法1: 打开 USB调试,使用命令 adb reboot edl方法2: 进入手机fastboot模式,执行命令 fastboot oem edl方法3 : 掉电模式下,同时按...
  • qilu0882
  • qilu0882
  • 2017-10-10 19:54:14
  • 336

高通平台lk是怎样匹配加载DTB的

根据dev_tree_get_entry_info函数中的提示,在dts文件中,将qcom,board-id修改为0x0102000a就可以了-4.png /* For V3 version of ...
  • szx940213
  • szx940213
  • 2018-01-16 14:59:23
  • 156

Android源码编译环境搭建问题及解决方案小结

1. ImportError: No module named bz2 for Python 2.7.2问题简述: 你按照Android官网上编译Android源码的步骤, (1)$ sourc...
  • yangjingbo111
  • yangjingbo111
  • 2016-03-30 08:50:31
  • 506

高通平台编译常见错误(持续更新)

1,Jack “Out of memory error” 错误日志: Out of memory error (version 1.2-rc4 'Carnac' (298900 f95d7bdecf...
  • u010586698
  • u010586698
  • 2017-02-15 19:57:35
  • 255

Android 编译内核kernel源码

编译kernel源码,首先需要有相应的代码,可以到
  • ncepu307
  • ncepu307
  • 2014-04-17 16:32:42
  • 1391

高通源码

2016-08-03 18:10 161人阅读 评论(0) 收藏 举报 分类: Android(32) 版权声明:本文为博主原创文章,未经博主允许不得转载...
  • mirkerson
  • mirkerson
  • 2016-08-29 11:50:30
  • 5631
收藏助手
不良信息举报
您举报文章:高通源码编译提示错误
举报原因:
原因补充:

(最多只允许输入30个字)