本人刚学习在Ubuntu上下载、编译和安装Android源代码,不过在进行如下编译命令后:
USER-NAME@MACHINE-NAME:~/Android$ make
出现了如下错误:
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
哪位大侠比较明白,小弟请教
USER-NAME@MACHINE-NAME:~/Android$ make
出现了如下错误:
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
哪位大侠比较明白,小弟请教
解决方案 »
- Android移动设备和Web网页同时访问服务器时,中间层用什么开发合适?希望给予方向性指点。
- Androidmanifest.xml 中遇到的问题
- ANDROID开发问题
- [求助]TextView不能显示XML解析字符串
- conn.setRequestMethod("GET") 异常
- android上面的同步问题,帮忙看下我的代码,很简单的
- 恭喜android开版
- 最近学习Android的时候遇到些奇怪的问题,版本3.N和4.N使用不了HttpClient功能
- 调用.os文件中的方法出现method not found,该如何解决呢?
- 项目在模拟器上运行几分钟之后,闪退。
- 如何获取Matrix对象中的Scale值?
- android textview 内容覆盖的 问题
可以对照这里检查需要的编译工具是否齐全
http://webcache.googleusercontent.com/search?q=cache:YS7HPCw9gp4J:blog.chinaunix.net/space.php%3Fuid%3D495571%26do%3Dblog%26id%3D3026801+%3Ccommand-line%3E:0:0:+error:+%22_FORTIFY_SOURCE%22+redefined+%5B-Werror%5D&cd=8&hl=en&ct=clnk&gl=sg&lr=lang_zh-CN|lang_zh-TW|lang_en&client=ubuntu