原文网址:http://stackoverflow.com/questions/9055005/cannot-find-ltinfo-when-compiling-android-4-0-3

Hi I have got a problem that I can't solve when compiling the android source for ICS. The build gets to a certain stage, then I get the message:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../libtinfo.so when searching for -ltinfo
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../libtinfo.a when searching for -ltinfo
/usr/bin/ld: skipping incompatible /usr/lib/libtinfo.so when searching for -ltinfo
/usr/bin/ld: skipping incompatible /usr/lib/libtinfo.a when searching for -ltinfo
/usr/bin/ld: cannot find -ltinfo
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] Error 1
make: *** Waiting for unfinished jobs....

I have tried updating/installing libncurses5-dev and libtinfo-dev which were both latest versions and am a bit stuck now. How can I get rid of this to allow the build to happen properly?

asked Jan 29 '12 at 17:10
 

3 Answers

I had seen similar issue with gingerbread when compiled on 64bit ubuntu. It got fixed with installation of lib32ncurses5-dev and its dependencies which includes lib32tinfo5-dev. The compiled host adb executable with android is a 32-bit executable.

answered Feb 3 '12 at 13:10
 
    
This has sorted it, thanks. –  fooforever Feb 6 '12 at 12:25

I have seen same problem on my fedora 16 64bit, same android branch 4.0.3 r1 you might want to try ncurses-devel.i686 yum install ncurses-devel.i686

it solved my problem

answered Jul 9 '12 at 19:35
 

I got this issue while I was building mysql statically. So I had to install the static versions of these libraries. For example I did run:

yum search ncurses

Then I installed,

yum install ncurses-static # not exactly the same syntax, but something similar; see searc

最新文章

  1. 如何使用SHOW WARNINGS?
  2. 两台装有Ubuntu系统的服务器搭建VPN(一台为本地服务器,另一台为云服务器)
  3. ADO.NET Entity Framework
  4. 运行ipython后显示WARNING: IPython History requires SQLite, your history will not be saved
  5. StyleCop学习笔记——默认的规则
  6. javaee web项目的目录结构
  7. C语言断言
  8. windows下virtualenv使用报错
  9. AxeSlide软件项目梳理
  10. Python操作IHTMLDocument2用于自动化测试
  11. 字符串的长度超过了为 maxJsonLength 属性设置的值
  12. Hadoop基础知识串烧
  13. GLOG使用Demo
  14. 分享数百个 HT 工业互联网 2D 3D 可视化应用案例
  15. mongodb mac
  16. Python设计模式 - UML - 通信图(Communication Diagram)
  17. g++编译的makefile模板库和脚本
  18. [LeetCode] 62. Unique Paths_ Medium tag: Dynamic Programming
  19. centos7环境安装rabbitMQ
  20. Servlet中(Session、cookies、servletcontext)的基本用法

热门文章

  1. 九度OJ 1163 素数
  2. CSS选择器,标签限定
  3. 怎样用sourceTree将自己本地的项目上传到github网站上
  4. nodejs+socketio+redis实现前端消息实时推送
  5. sae-多个file_put_contents('saestor://public/text.txt',$data);只写第一次
  6. python学习_应用pickle模块封装和拆封数据对象
  7. Vijos P1063 迎春舞会之交谊舞 DP
  8. 开发设计模式(三)策略模式(Strategy Pattern)
  9. BZOJ 3343教主的魔法
  10. writeToFile 读写文件问题