日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

【转】Cannot find -ltinfo when compiling android 4.0.3

發布時間:2024/9/20 编程问答 49 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【转】Cannot find -ltinfo when compiling android 4.0.3 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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

?

up vote0down votefavorite

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?

android?build?compiler-errors
shareimprove this question edited?Jan 30 '12 at 8:41 Jav_Rock
13.3k1078121
asked?Jan 29 '12 at 17:10 fooforever
4725
? add a comment

3 Answers

activeoldestvotes
up vote2down voteaccepted

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.

shareimprove this answer answered?Feb 3 '12 at 13:10 Vimalesh
361
?
???
This has sorted it, thanks.?–??fooforever?Feb 6 '12 at 12:25
add a comment
up vote2down vote

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

shareimprove this answer answered?Jul 9 '12 at 19:35 yi zhang
213
? add a comment
up vote1down vote

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

總結

以上是生活随笔為你收集整理的【转】Cannot find -ltinfo when compiling android 4.0.3的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。