第一 通常編譯在一開始會遇到如下狀況
make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl]
Error 1 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status
其找不到libstdc++,解決的方法是安裝下面套件
apt-get install g++-multilib
接下來又遇到類似相同問題:如下:
-o out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt -lz -lrt
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible
/usr/lib/libz.a when searching for -lz /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt] Error 1
其找不到libz,解決方法為安裝下面套件
apt-get install lib32z1-dev
接著一樣,
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../libncurses.so when searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../libncurses.a when searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/lib/libncurses.so when searching for -lncurses
/usr/bin/ld: skipping incompatible /usr/lib/libncurses.a when searching for -lncurses
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] Error 1
apt-get install lib32ncurses5-dev
相关推荐
解决Microsoft Visual C++ Build Tools.exe 安装包损坏。合起来用(part1+part2),solved_packageMissInInstalling_mu_visual_cpp_build_tools_2015_update_3_x64_dvd_dfd9a39c 。双击后,打开驱动盘里的exe
in Android, this is solved by tools like retrolambda or desugar. Java8 API, or Standard Library, is runtime library on the platform. The support of Standard Library in Android is more difficult than ...
2部分合起来(part1)+(part2)solved_packageMissInInstalling_mu_visual_cpp_build_tools_2015_update_3_x64_dvd_dfd9a39c.iso
Questions, comments, or exploratory conversations should begin on the mailing list, although you may find it easier to find answers to already-solved problems on StackOverflow. JNA provides Java ...
Visual C++ Build Tools 2015 离线包,官方版,无任何修改,下载完可查看文件签名,分卷压缩,共7部分,这是第2分部。
Visual C++ Build Tools 2015 离线包,官方版,无任何修改,下载完可查看文件签名,分卷压缩,共7部分,这是第3分部。
modeling of solar cell matlab
Solved_ac Solved.ac문제풀이
Introduction+to+Probability,+2nd+Edition
在这里我们记录了所有最好的问题以供进一步参考,每个解决问题的详细信息如下 Count_number_of_ones.cpp:最长连续1的长度给定一个二进制字符串A,最多允许在0和1之间做一次交换。找到并返回可以达到的最长连续1的...
Common Format For Exchange of Solved Load Flow Data.pdf,关于电力系统潮流计算IEEE数据的格式说明
What did it solved When using YAHFA, every hook of a method, you have to write a method to replace it, if you want to call the original method, you must write another method to save the original ...
示例代码和幻灯片旨在在Linux下编译和运行。 所有文件夹都包含一个像这样的README.md和一个用于生成源代码的makefile。 在可能的情况下,从教学的角度给出了代码的目的。 接触 通过github问题追踪器或直接与原始作者...
Solved_Leetcode_Python
A Collection of Dynamic Programming Interview Questions Solved in C++.pdf
Algorithm_Solved 提交算法问题 在这里解决问题! 吠犬算法讲座 0x00课程完成。 0x01课程完成。 0x02课程完成。 0x03课程完成。 数组问题书解决了。 0x04课程完成。 完成了对链表问题书的解答。 0x05课程完成。...
编程学习必备 • Step-by-step solutions to problems with complete explanations of every step • A comprehensive index to help quickly locate each topic
Android developers are faced with their own set of problems such as tightly coupled code, fragmentation, immature testing tools all of which can be solved using existing Agile tools and techniques ...
SSD4 exam3, exam about a clock and time zones
Android 一种基于Linux的自由及开放源代码的操作系统,主要使用于移动设备,如智能手机和平板电脑,由Google公司和开放手机联盟领导开发 IOS 由苹果公司开发的移动操作系统 Webkit 一个开源的浏览器引擎,在手机上的...