1.gcc版本过高,解决方法

sudo apt-get install gcc-4.4

sudo apt-get install g++-4.4


装完后在/usr/bin目录下


sudo mv gcc gcc.bak

sudo ln -s gcc-4.4 gcc

mv g++-4.4 g++

g++ -v


2.selected multilib '32' not installed

解决方法sudo apt-get install g++-4.4-multilib


3.host SharedLib: lib64EGL_translator (out/host/linux-x86/obj/lib/lib64EGL_translator.so)

/usr/bin/ld: cannot find -lGL

collect2: ld returned 1 exit status

解决方法 sudo apt-get install libglu1-mesa-dev


4.still  /usr/bin/ld: cannot find -lGL

解决方法 sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2 /usr/lib/libGL.so

(Installing required packages step forget this order)