ubuntu11.10 make android 4.0.3
来源:互联网 发布:xd破解id软件 编辑:程序博客网 时间:2024/06/10 06:16
编译错误"/usr/bin/ld: cannot find -lz"
编译的时候出现"/usr/bin/ld: cannot find -lz"错误,需要安装zlib-dev这个包,在线安装命令为:sudo apt-get install zlib1g-dev。
ubuntu 安装ncurses
ncurses是字符终端下屏幕控制的基本库。可能很多新开发的程序都不使用了,不过如果要编译一些老程序,还经常遇得到。执行命令
sudo apt-get install libncurses5-dev
Building Android: error: “_FORTIFY_SOURCE” redefined [-Werror]
If you are building an old version of android probably you’ll have this error
host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
:0:0: error: “_FORTIFY_SOURCE” redefined [-Werror]
:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
To fix this, edit build/core/combo/HOST_linux-x86.mk and replace:
HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
with
HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
And that’s it.
- ubuntu11.10 make android 4.0.3
- Ubuntu11.10编译内核:make xconfig错误
- Ubuntu11.10编译内核:make xconfig错误
- Ubuntu11.10编译内核:make xconfig错误
- Ubuntu11.10下编译android源码4.0.3
- Ubuntu11.10下编译android源码4.0.3
- ubuntu11.10 64bit 编译android 4.0
- ubuntu11.10 下'make menuconfig' requires the ncurses libraries.
- ubuntu11.10 android adb 打不开
- Ubuntu11.10上编译android
- ubuntu11.10+vm6.5+android
- Ubuntu11.10下编译android源码4.0.3 for samsung 4412 TC4board 出错及解决
- 下载编译android源码(4.0.3)内核(ubuntu11.04)
- 下载编译android源码(4.0.3)内核(ubuntu11.04)
- Ubuntu11.10 Android 编译图文说明
- Ubuntu11.10 + android环境配置流程
- ubuntu11.10下配置android环境
- ubuntu11.10系统搭建android开发环境
- C基础面试题精选
- 深入了解Ajax之XMLHttpRequest
- C++ Primer总结(二)
- 支付宝为快捷支付上保险
- Oracle OWI 等待事件历史视图及相关视图
- ubuntu11.10 make android 4.0.3
- 模拟电路与数字电路的区别
- Java值传递以及引用的传递、数组的传递!!
- 其它机可以, 但本机无法上传
- cuda ubuntu install
- C++实现设计模式: Singleton 单例模式
- Apache中 RewriteCond 规则参数介绍
- FTP数字的含义
- java时间操作