It's a bit tricky, as it tries to build both 32-bit and 64-bit code, but this error says you're missing the 32-bit stuff.
See the wiki[1] about this issue. I would suggest trying solution #2 listed there. [1]: https://developer.mozilla.org/en-US/Firefox_OS/Building#Emulator_build_issues - Ryan On Wed, Oct 29, 2014 at 3:11 PM, <[email protected]> wrote: > host SharedLib: libGLES_V2_translator > (out/host/linux-x86/obj/lib/libGLES_V2_translator.so) > /usr/bin/ld: cannot find -lGL > Hello all, > I'm trying to build the emulator with ubuntu 14.04, but I get an error. > I did: > > ./config.sh emulator > then: > ./build.sh > > the error: > > host SharedLib: libGLES_CM_translator > (out/host/linux-x86/obj/lib/libGLES_CM_translator.so) > host SharedLib: libEGL_translator > (out/host/linux-x86/obj/lib/libEGL_translator.so) > true > host SharedLib: libGLES_V2_translator > (out/host/linux-x86/obj/lib/libGLES_V2_translator.so) > /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.... > /usr//bin/usr/ld:bin /cannotld :find -cannotlGL > find -lGL > collect2: ld returned 1 exit status > collect2: ld returned 1 exit status > make: *** [out/host/linux-x86/obj/lib/libGLES_CM_translator.so] Error 1 > make: *** [out/host/linux-x86/obj/lib/libEGL_translator.so] Error 1 > true > true > Profile Ready: please run [b2g|firefox] -profile > /home/tessawill/ANDROID/B2G/gaia/profile > make[1]: Leaving directory `/home/tessawill/ANDROID/B2G/gaia' > > real 18m43.990s > user 36m46.225s > sys 6m16.773s > >> Build failed! < > > > any help would be appreciated! > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
