• Raspberry Pi 3 tryouts..

    From Accession@VERT/PHARCYDE to All on Mon Nov 7 16:21:35 2016
    Hello All,

    I started the install instructions with a Pi3 and Archlinux ARMv7 32bit operating system. So far, I've come across two additional prerequisites that weren't listed on the wiki:

    1) patch - seems it is it's own package, and wasn't installed by default.
    2) python2 - When I installed the "python" package as per the prerequisites page, it gave me 3.x which didn't work.

    Once those were installed, compilation continued until this error message:

    jsapi.cpp: In function `JSIdArray* JS_Enumerate(JSContext*, JSObject*)': jsapi.cpp:3988:16: error: cannot convert `bool' to `JSIdArray*' in return
    return false;
    ^~~~~
    make [4]: *** [config/rules.mk:1477: jsapi.o] Error 1
    make [4]: Leaving directory '/sbbs/3rdp/src/mozjs/js-1.8.5/js/src'
    make [3]: *** [config/rules.mk:754: default] Error 2
    make [3]: Leaving directory '/sbbs/3rdp/src/mozjs/js-1.8.5/js/src'
    make [2]: *** [GNUmakefile:59: ../build/../../src/../3rdp/gcc.linux.armv7l.debug/mozjs/lib/libmozjs185-1.0.a] Error 2
    make [2]: Leaving directory '/sbbs/3rdp/build'
    make [1]: *** [/sbbs/src/sbbs3/../build/Common.gmake:486: js] Error 2
    make [1]: Leaving directory '/sbbs/src/sbbs3'
    make: *** [GNUmakefile:149: sbbs3] Error 2

    Hopefully it's an easy fix?

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20160827
    ■ Synchronet ■ thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Digital Man@VERT to Accession on Fri Nov 11 22:51:00 2016
    Re: Raspberry Pi 3 tryouts..
    By: Accession to All on Mon Nov 07 2016 11:21 am

    Hello All,

    I started the install instructions with a Pi3 and Archlinux ARMv7 32bit operating system. So far, I've come across two additional prerequisites that weren't listed on the wiki:

    1) patch - seems it is it's own package, and wasn't installed by default.
    2) python2 - When I installed the "python" package as per the prerequisites page, it gave me 3.x which didn't work.

    Once those were installed, compilation continued until this error message:

    jsapi.cpp: In function `JSIdArray* JS_Enumerate(JSContext*, JSObject*)': jsapi.cpp:3988:16: error: cannot convert `bool' to `JSIdArray*' in return
    return false;
    ^~~~~
    make [4]: *** [config/rules.mk:1477: jsapi.o] Error 1
    make [4]: Leaving directory '/sbbs/3rdp/src/mozjs/js-1.8.5/js/src'
    make [3]: *** [config/rules.mk:754: default] Error 2
    make [3]: Leaving directory '/sbbs/3rdp/src/mozjs/js-1.8.5/js/src'
    make [2]: *** [GNUmakefile:59: ../build/../../src/../3rdp/gcc.linux.armv7l.d ebug/mozjs/lib/libmozjs185-1.0.a] Error 2
    make [2]: Leaving directory '/sbbs/3rdp/build'
    make [1]: *** [/sbbs/src/sbbs3/../build/Common.gmake:486: js] Error 2
    make [1]: Leaving directory '/sbbs/src/sbbs3'
    make: *** [GNUmakefile:149: sbbs3] Error 2

    Hopefully it's an easy fix?

    To follow-up for everyone else's benefit:

    It appears Mozilla's JavaScript-C engine (SpiderMonkey) v1.8.5, the version used by Synchronet v3.16+, won't build with the default behavior of GNU C++ (the Linux compiler of choice) v6.2.1.

    This is fixed by adding the g++ command-line option to the libmozjs build: -std=gnu++98

    I'm trying to get this option into the 3rdp/build/GNUmakefile for Accession and his rPi running ArchLinuxARM. This is not a rPi or ARM specific problem (or solution), just so happens that's where it showed up first.

    digital man

    Synchronet "Real Fact" #42:
    Rob Swindell was laughed out of a FidoNet Net103 (OC, Calif.) meeting in 1992. Norco, CA WX: 75.3°F, 24.0% humidity, 7 mph SSE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net