android 7.1源码编译 出错
来源:互联网 发布:网络卖衣服 编辑:程序博客网 时间:2024/06/06 02:40
以下是shell上的打印
Starting build with ninja [476/5393]ninja: Entering directory `.'[ 1% 8/468] target Executable: dexdump (out/target/product/px3/obj/EXECUTABLES/dexdump_intermediates/LINKED/dexdump)FAILED: /bin/bash -c "prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -pie -nostdlib -Bdynamic -Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc -Lout/target/product/px3/obj/lib -Wl,-rpath-link=out/target/product/px3/obj/lib out/target/product/px3/obj/lib/crtbegin_dynamic.o out/target/product/px3/obj/EXECUTABLES/dexdump_intermediates/DexDump.o -Wl,--whole-archive -Wl,--no-whole-archive out/target/product/px3/obj/STATIC_LIBRARIES/libdex_intermediates/libdex.a out/target/product/px3/obj/STATIC_LIBRARIES/libbase_intermediates/libbase.a out/target/product/px3/obj/STATIC_LIBRARIES/libunwind_llvm_intermediates/libunwind_llvm.a out/target/product/px3/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/armv7-a/libatomic.a prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9/armv7-a/libgcc.a -lz -llog -lutils -lc++ -ldl -lc -lm -o out/target/product/px3/obj/EXECUTABLES/dexdump_intermediates/LINKED/dexdump -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,--fix-cortex-a8 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wl,--exclude-libs,libunwind_llvm.a -Wl,--no-undefined out/target/product/px3/obj/lib/crtend_android.o"dalvik/dexdump/DexDump.cpp:517: error: undefined reference to 'dexReadAndVerifyClassData(unsigned char const**, unsigned char const*)'dalvik/dexdump/DexDump.cpp:627: error: undefined reference to 'dexDecodeDebugInfo(DexFile const*, DexCode const*, char const*, unsigned int, unsigned int, int (*)(void*, unsigned int, unsigned int), void (*)(void*, unsigned short, unsigned int, unsigned int, char const*, char const*, char const*), void*)'dalvik/dexdump/DexDump.cpp:653: error: undefined reference to 'dexDecodeDebugInfo(DexFile const*, DexCode const*, char const*, unsigned int, unsigned int, int (*)(void*, unsigned int, unsigned int), void (*)(void*, unsigned short, unsigned int, unsigned int, char const*, char const*, char const*), void*)'dalvik/libdex/DexProto.h:143: error: undefined reference to 'dexProtoCopyMethodDescriptor(DexProto const*)'dalvik/dexdump/DexDump.cpp:890: error: undefined reference to 'dexGetOpcodeName(Opcode)'dalvik/dexdump/DexDump.cpp:1055: error: undefined reference to 'gDexOpcodeInfo'dalvik/dexdump/DexDump.cpp:845: error: undefined reference to 'gDexOpcodeInfo'dalvik/dexdump/DexDump.cpp:1120: error: undefined reference to 'dexDecodeInstruction(unsigned short const*, DecodedInstruction*)'dalvik/dexdump/DexDump.cpp:1128: error: undefined reference to 'gDexOpcodeInfo'dalvik/libdex/DexProto.h:143: error: undefined reference to 'dexProtoCopyMethodDescriptor(DexProto const*)'dalvik/dexdump/DexDump.cpp:1388: error: undefined reference to 'dexReadAndVerifyClassData(unsigned char const**, unsigned char const*)'dalvik/dexdump/DexDump.cpp:1704: error: undefined reference to 'dexReadAndVerifyClassData(unsigned char const**, unsigned char const*)'dalvik/dexdump/DexDump.cpp:1795: error: undefined reference to 'dexOpenAndMap(char const*, char const*, MemMapping*, bool)'dalvik/dexdump/DexDump.cpp:1804: error: undefined reference to 'dexFileParse(unsigned char const*, unsigned int, int)'dalvik/dexdump/DexDump.cpp:1820: error: undefined reference to 'sysReleaseShmem(MemMapping*)'dalvik/dexdump/DexDump.cpp:1822: error: undefined reference to 'dexFileFree(DexFile*)'dalvik/dexdump/DexDump.cpp:1820: error: undefined reference to 'sysReleaseShmem(MemMapping*)'clang++: error: linker command failed with exit code 1 (use -v to see invocation)[ 1% 8/468] Ensure Jack server is installed and startedJack server already installed in "/home2/hxw/.jack-server"Server is already running
我已经试过改了jack的服务端口了
.jack
.jack-setting
.jack-server/config.properties
里面的地址都改了还是不行
据说不是jack的问题,
jack错误只是编译错误引起的。
在网上搜 DexDump都只能搜到一些教怎么单独编译之类的教程
没找到有类似错误的
最后删掉
\dalvik\libdex
我把这个目录删了又更新出来了一遍
但是好像没什么不同
我把这个目录删了又更新出来了一遍
但是好像没什么不同
再编译一遍就过了
阅读全文
0 0
- android 7.1源码编译 出错
- Android 源码编译出错汇总
- android 7.1编译出错
- Android 源码编译时出错了!
- Ubuntu编译android源码出错及问题解决
- Eclipse编译Android源码出错了
- android源码编译出错的原因
- android源码编译SDK出错解决
- linphone android源码编译 msilbc出错解决
- android源码编译出错(1)
- android源码编译出错(2)
- android源码编译出错(3)
- android源码编译出错(4)
- android源码编译出错(5)
- 关于uBuntu下编译Android源码出错
- android源码编译出错,一键解决
- Android 7.1.1 编译出错
- 编译cocosbuilder源码出错
- 计蒜客 2017 ACM-ICPC 亚洲区(南宁赛区)网络赛 The Heaviest Non-decreasing Subsequence Problem
- Oracle归档模式下恢复-数据库完全恢复方法1
- C#泛型入门学习泛型类、泛型集合、泛型方法、泛型约束、泛型委托
- Mac中测试iOS模拟器sha1加密算法结果不同的原因
- Gradle 依赖最新版本不生效的问题
- android 7.1源码编译 出错
- 使用threejs实现3D全景漫游
- 自适应神经网络控制
- 用友致远OA麦枫破解版的前世今生
- NSTimer
- 新手教学——asp.net的数据库信息读取
- 3 运输层(三)
- http请求状态码详解
- 35 个 Java 代码性能优化总结