http://www.pyoix.com/a/143.html ==> Page Lost...
錯誤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
解決:
sudo apt-get install lib32ncurses5-dev
錯誤5:
In file included from external/qemu/android/skin/window.c:19:
prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:55:22: error: X11/Xlib.h: 沒有那個文件或目錄
prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:56:23: error: X11/Xatom.h: 沒有那個文件或目錄
解決:
sudo apt-get install libx11-dev
2011年2月9日 星期三
Set up sun-java6-jdk for Ubuntu 10.10 64bit for Android 2.3
http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/
.....
I solved like this:
sudo gedit /etc/apt/sources.list
Delete the line that it is causing the mal formed line error.
Find the lines where canonical repositories are commented with #
Uncomment lines.
Save file
Execute again
sudo apt-get update
Try again installing with
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
.....
I solved like this:
sudo gedit /etc/apt/sources.list
Delete the line that it is causing the mal formed line error.
Find the lines where canonical repositories are commented with #
Uncomment lines.
Save file
Execute again
sudo apt-get update
Try again installing with
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
訂閱:
文章 (Atom)