I don’t know how to fix your problem, but the compiler used is not the one from your system, but this one: arm-linux-androideabi-g++ . See:
> configure:3106: checking whether > /home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-g++ > accepts -g On Tue, Aug 18, 2015 at 8:02 AM, Paul Aguilar <paul.aguilar.enriq...@hotmail.com> wrote: > Nobody? > > I reinstaled my compiler, so now I just have 4.8.4. > Heres the config.log > > ------ config.log ------ > configure:2739: checking for gcc > configure:2852: checking whether the C compiler > (/home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc > -mandroid -fno-short-enums -fno-exceptions -mandroid > -L/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > -Wl,-rpath-link=/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > --sysroot=/home/penserbjorne/B2G/out/target/product/hamachi/obj/ ) works > configure:2868: > /home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc > -o conftest -mandroid -fno-short-enums -fno-exceptions -DANDROID > -I/home/penserbjorne/B2G/system -I/home/penserbjorne/B2G/system/core/include > -isystem /home/penserbjorne/B2G/bionic > -I/home/penserbjorne/B2G/hardware/libhardware/include > -I/home/penserbjorne/B2G/external/valgrind/fxos-include > -I/home/penserbjorne/B2G/frameworks/base/opengl/include > -I/home/penserbjorne/B2G/frameworks/base/native/include > -I/home/penserbjorne/B2G/frameworks/base/include > -I/home/penserbjorne/B2G/frameworks/base/services/camera > -I/home/penserbjorne/B2G/frameworks/base/include/media/ > -I/home/penserbjorne/B2G/frameworks/base/include/media/stagefright > -I/home/penserbjorne/B2G/frameworks/base/include/media/stagefright/openmax > -I/home/penserbjorne/B2G/frameworks/base/media/libstagefright/rtsp > -I/home/penserbjorne/B2G/frameworks/base/media/libstagefright/include > -I/home/penserbjorne/B2G/external/dbus > -I/home/penserbjorne/B2G/external/bluetooth/bluez/lib > -I/home/penserbjorne/B2G/dalvik/libnativehelper/include/nativehelper > -mandroid -L/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > -Wl,-rpath-link=/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > --sysroot=/home/penserbjorne/B2G/out/target/product/hamachi/obj/ conftest.c > -llog 1>&5 > configure:2894: checking whether the C compiler > (/home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc > -mandroid -fno-short-enums -fno-exceptions -mandroid > -L/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > -Wl,-rpath-link=/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > --sysroot=/home/penserbjorne/B2G/out/target/product/hamachi/obj/ ) is a > cross-compiler > configure:2899: checking whether we are using GNU C > configure:2908: > /home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc > -E conftest.c > configure:2927: checking whether > /home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc > accepts -g > configure:2963: checking for arm-linux-androideabi-g++ > configure:2999: checking for c++ > configure:3031: checking whether the C++ compiler > (/home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-g++ > -mandroid -fno-short-enums -fno-exceptions -Wno-psabi -DMOZ_ENABLE_JS_DUMP > -include /home/penserbjorne/B2G/gonk-misc/Unicode.h > -I/home/penserbjorne/B2G/gecko/build/stlport/stlport > -I/home/penserbjorne/B2G/ndk/sources/cxx-stl/system/include -mandroid > -L/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > -Wl,-rpath-link=/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > --sysroot=/home/penserbjorne/B2G/out/target/product/hamachi/obj/ ) works > configure:3047: > /home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-g++ > -o conftest -mandroid -fno-short-enums -fno-exceptions -Wno-psabi > -DMOZ_ENABLE_JS_DUMP -include /home/penserbjorne/B2G/gonk-misc/Unicode.h > -I/home/penserbjorne/B2G/gecko/build/stlport/stlport > -I/home/penserbjorne/B2G/ndk/sources/cxx-stl/system/include -DANDROID > -I/home/penserbjorne/B2G/system -I/home/penserbjorne/B2G/system/core/include > -isystem /home/penserbjorne/B2G/bionic > -I/home/penserbjorne/B2G/hardware/libhardware/include > -I/home/penserbjorne/B2G/external/valgrind/fxos-include > -I/home/penserbjorne/B2G/frameworks/base/opengl/include > -I/home/penserbjorne/B2G/frameworks/base/native/include > -I/home/penserbjorne/B2G/frameworks/base/include > -I/home/penserbjorne/B2G/frameworks/base/services/camera > -I/home/penserbjorne/B2G/frameworks/base/include/media/ > -I/home/penserbjorne/B2G/frameworks/base/include/media/stagefright > -I/home/penserbjorne/B2G/frameworks/base/include/media/stagefright/openmax > -I/home/penserbjorne/B2G/frameworks/base/media/libstagefright/rtsp > -I/home/penserbjorne/B2G/frameworks/base/media/libstagefright/include > -I/home/penserbjorne/B2G/external/dbus > -I/home/penserbjorne/B2G/external/bluetooth/bluez/lib > -I/home/penserbjorne/B2G/dalvik/libnativehelper/include/nativehelper > -mandroid -L/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > -Wl,-rpath-link=/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > --sysroot=/home/penserbjorne/B2G/out/target/product/hamachi/obj/ conftest.C > -llog 1>&5 > configure:3073: checking whether the C++ compiler > (/home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-g++ > -mandroid -fno-short-enums -fno-exceptions -Wno-psabi -DMOZ_ENABLE_JS_DUMP > -include /home/penserbjorne/B2G/gonk-misc/Unicode.h > -I/home/penserbjorne/B2G/gecko/build/stlport/stlport > -I/home/penserbjorne/B2G/ndk/sources/cxx-stl/system/include -mandroid > -L/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > -Wl,-rpath-link=/home/penserbjorne/B2G/out/target/product/hamachi/obj/lib > --sysroot=/home/penserbjorne/B2G/out/target/product/hamachi/obj/ ) is a > cross-compiler > configure:3078: checking whether we are using GNU C++ > configure:3087: > /home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-g++ > -E conftest.C > configure:3106: checking whether > /home/penserbjorne/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-g++ > accepts -g > configure:3143: checking for arm-linux-androideabi-ranlib > configure:3178: checking for arm-linux-androideabi-ar > configure:3213: checking for arm-linux-androideabi-as > configure:3248: checking for arm-linux-androideabi-ld > configure:3283: checking for arm-linux-androideabi-strip > configure:3318: checking for arm-linux-androideabi-windres > configure:3318: checking for arm-linux-android-windres > configure:3353: checking for arm-linux-androideabi-otool > configure:3353: checking for arm-linux-android-otool > configure: error: Only GCC 4.7 or newer supported > > Cheers! > > ________________________________ > From: paul.aguilar.enriq...@hotmail.com > To: mozilla-dev-...@lists.mozilla.org > Date: Fri, 14 Aug 2015 23:41:14 -0500 > Subject: [b2g] Only GCC 4.7 or newer supported > > > Hi to everybody! > > Im trying to compile the branch 2.0 for the Hamachi but Im getting this > error: > > configure: error: Only GCC 4.7 or newer supported > *** Fix above errors and then restart with\ > "make -f client.mk build" > make[3]: *** [configure] Error 1 > make[2]: *** [/home/penserbjorne/B2G/objdir-gecko/Makefile] Error 2 > make[1]: *** [build] Error 2 > make: *** [out/target/product/hamachi/obj/DATA/gecko_intermediates/gecko] > Error 2 > > Im trying with Lubuntu 14.04 and my default compiler is GCC 4.7.3 and G++ > 4.7.3 > > Any idea? > > Cheers! > > Paul Aguilar (Penserbjorne) > > _______________________________________________ dev-b2g mailing list > dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g > > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g > -- Paul _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g