error: unsupported reloc 43
2024-10-10 08:52:07
在Ubuntu 16.04.5 LTS编译android 5.1报错
[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
[19:17:13.063]clang: error: linker command failed with exit code 1 (use -v to see invocation)
[19:17:13.063]build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
[19:17:13.063]make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
[19:17:13.063]
[19:17:13.063]#### make failed to build some targets (6 seconds) ####
参考
https://blog.csdn.net/u014770862/article/details/52624851
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld
修改后重新make ok
最新文章
- Java读带有BOM的UTF-8文件乱码原因及解决方法
- locale的设定及其LANG、LC_ALL、LANGUAGE环境变量的区别
- IOS 动画的各种实现方法
- mysql索引需要了解的几个注意
- java下io文件切割合并功能加配置文件
- php测试时不出现错误信息
- 关于Sublime Text编辑器的实用技巧
- java设计模式之单例设计模式和多例设计模式
- HashMap二三事
- CentOS 安装 Ansible 以及连接Windows server的办法
- 由consequence忽然发现英语也挺有意思
- 2017-2018-2 20155225《网络对抗技术》实验五 MSF基础应用
- PAT 乙级 1014 福尔摩斯的约会 (20) C++版
- Python PyCharm编译器
- Locust性能测试5-参数化批量注册
- 2018.09.16 loj#10241. 取石子游戏 1(博弈论)
- 64位win8.1系统安装intelhaxm
- [Z] 用GDB调试程序
- ZedGraph类库之基本教程篇
- AngularJS取得后台Jason数据显示在页面上
热门文章
- BF算法(串模式匹配算法)
- CodeForce-808C Tea Party(结构体排序贪心)
- python+echarts+flask实现对全国疫情数据的爬取并可视化展示
- 安卓学习记录(四)——体温表APP
- 【OI】Tex Quotes——UVa 272
- win7任务计划提示”该任务映像已损坏或已篡改“
- Orchard Core 配置项说明
- P4001-[ICPC-Beijing 2006]狼抓兔子【对偶图】
- P3335-[ZJOI2013]蚂蚁寻路【dp】
- 解除你学习Python自动化测试框架的所有疑惑,开启学习直通车