0
我想構建Android源代碼樹(CIS),但遇到一些錯誤。我使用的是Ubuntu 12.04,64位。我已經通過了幾個錯誤,但我找不到解決方案。在Ubuntu上構建Android源代碼時出現錯誤
incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libGLES_V2_translator.so] Error 1
make: *** Waiting for unfinished jobs....
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libGLES_CM_translator.so] Error 1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libEGL_translator.so] Error 1
有沒有人有任何想法?謝謝!