WEB开发网
开发学院手机开发Android 开发 Android Froyo编绎错误解决方案 阅读

Android Froyo编绎错误解决方案

 2010-11-05 00:54:31 来源:WEB开发网   
核心提示:环境: Ubuntu 10.10 64 bit jdk1.6错误1:/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory解决:sudo apt-get install libc6-dev-i386错误2:host

环境: Ubuntu 10.10 64 bit jdk1.6

错误1:

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

解决:

sudo apt-get install libc6-dev-i386

错误2:

host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.so when searching for -lstdc++

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.so when searching for -lstdc++

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++

解决:

sudo apt-get install g++-multilib

错误3:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libz.a when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

/usr/bin/ld: cannot find -lz

解决:

sudo apt-get install lib32z1-dev

错误4:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libncurses.so when searching for -lncurses

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../libncurses.a when searching for -lncurses

/usr/bin/ld: skipping incompatible /usr/lib/libncurses.so when searching for -lncurses

/usr/bin/ld: skipping incompatible /usr/lib/libncurses.a when searching for -lncurses

/usr/bin/ld: cannot find -lncurses

解决:

1 2  下一页

Tags:Android Froyo 错误

编辑录入:coldstar [复制链接] [打 印]
赞助商链接