找回密码
 注册
搜索
查看: 1382|回复: 2

[讨论] 编译android源代码出错,求各路高手指点迷津

[复制链接]
发表于 2011-12-28 13:01:40 | 显示全部楼层 |阅读模式
最近尝试编下android的源代码,发现有个报错搞不定,请教下各位高手 网上也没搜到解决办法
环境是32位ubuntu vmware+xp,装的gcc4.3,已经按照网上说的装了g++ multilib

echo out/host/linux-x86/obj/STATIC_LIBRARIES/libexpat_intermediates/lib/xmlparse.o out/host/linux-x86/obj/STATIC_LIBRARIES/libexpat_intermediates/lib/xmlrole.o out/host/linux-x86/obj/STATIC_LIBRARIES/libexpat_intermediates/lib/xmltok.o | xargs ar crsP  out/host/linux-x86/obj/STATIC_LIBRARIES/libexpat_intermediates/libexpat.a
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.3.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.3.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.3.4/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.3.4/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libneo_util.so] Error 1
make: *** Waiting for unfinished jobs....
发表于 2012-1-4 11:57:39 | 显示全部楼层
编译的那个版本?还有就是软件是否都装了?
点评回复

使用道具 举报

发表于 2012-1-3 20:18:36 | 显示全部楼层
查下是否版本兼容问题或者系统库压根找不到库文件
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-11-23 11:42 , Processed in 0.044592 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表