• Compiling error opn Raspb

    From David Gonzalez@VERT to All on Fri Feb 7 14:55:00 2025
    Hello everyone,

    Following: http://wiki.synchro.net/howto:raspbian_install After: http://wiki.synchro.net/install:nix:prerequisites

    uname -a
    Linux skynet 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux

    Error
    checking whether C compiler supports -fprofile-generate... yes
    checking whether C++ compiler has -pedantic long long bug... no
    checking for correct temporary object destruction order... no
    configure: error: Your compiler does not follow the C++ specification
    for temporary object destruction order.
    make[2]: *** [GNUmakefile:103: .../build/../../src/../3rdp/gcc.linux.aarch64.release/mozjs/lib/libmozjs185-1.0.a]
    Error 1
    make[2]: Leaving directory '/home/david/sbbs/repo/3rdp/build'
    make[1]: *** [/home/david/sbbs/repo/src/sbbs3/../build/Common.gmake:630:
    js] Error 2
    make[1]: Leaving directory '/home/david/sbbs/repo/src/sbbs3'
    make: *** [install-sbbs.mk:158: sbbs3] Error 2

    After searching the error it reports it's du to libmoz being too old but
    I'm pretty much stuck there. I did build sbbs on the same Pi model a
    while back with no hiccups, maybe I'm missing something?.

    I did a build for cryptlib for Mystic but I had to change the gcc/g++
    version, but I am not sure this will work here.

    Any help will be helpful, if you need any more details needed please let
    me know thanks

    --
    Hasta la Vista Baby!
    David G SysOp @SkyNet BBS (bbs.skynetbbs.com:20023)

    --- Mystic BBS/NNTP v1.12 A48 (Linux/64)
    * Origin: SkyNet BBS Colombia bbs.skynetbbs.com:20023 (4:930/1)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to David Gonzalez on Fri Feb 7 12:16:00 2025
    Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Fri Feb 07 2025 02:55 pm

    Hello everyone,

    Following: http://wiki.synchro.net/howto:raspbian_install After: http://wiki.synchro.net/install:nix:prerequisites

    uname -a
    Linux skynet 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux

    Error
    checking whether C compiler supports -fprofile-generate... yes
    checking whether C++ compiler has -pedantic long long bug... no
    checking for correct temporary object destruction order... no
    configure: error: Your compiler does not follow the C++ specification
    for temporary object destruction order.
    make[2]: *** [GNUmakefile:103: .../build/../../src/../3rdp/gcc.linux.aarch64.r elease/mozjs/lib/libmozjs185-1.0.a]
    Error 1
    make[2]: Leaving directory '/home/david/sbbs/repo/3rdp/build'
    make[1]: *** [/home/david/sbbs/repo/src/sbbs3/../build/Common.gmake:630:
    js] Error 2
    make[1]: Leaving directory '/home/david/sbbs/repo/src/sbbs3'
    make: *** [install-sbbs.mk:158: sbbs3] Error 2

    After searching the error it reports it's du to libmoz being too old but
    I'm pretty much stuck there. I did build sbbs on the same Pi model a
    while back with no hiccups, maybe I'm missing something?.

    I did a build for cryptlib for Mystic but I had to change the gcc/g++ version, but I am not sure this will work here.

    Any help will be helpful, if you need any more details needed please let
    me know thanks

    Someone changed the instruction on that wiki page to target newer rPis. If you follow the older revision of that page (for an rPi3), you'll probably have better luck:
    https://wiki.synchro.net/howto:raspbian_install?rev=1636671335

    The main difference being that it used the distributions package for libmozjs, not the copy from the sbbs git repo.
    --
    digital man (rob)

    Synchronet "Real Fact" #32:
    The second most prolific contributor to Synchronet is Stephen Hurd (Deuce) Norco, CA WX: 60.0øF, 92.0% humidity, 10 mph W wind, 0.13 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net