ubuntu 11.10 64位 gcc、g++版本均为4.4.6
1、
host Executable: adb (out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.6/../../../libtinfo.so when searching for -ltinfo原因:
XXX@XXX:/$ file /lib/libtinfo.so.5.9
/lib/libtinfo.so.5.9: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
XXX@XXX:/$ file /lib32/libtinfo.so.5.9
/lib32/libtinfo.so.5.9: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
解决:在/lib32/下
ln -sf /lib32/libtinfo.so.5 libtinfo.so