• Compiling error opn Raspberry Pi 3B

    From David Gonzalez@VERT to All on Friday, February 07, 2025 14:55:24
    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 Friday, February 07, 2025 12:16:05
    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
  • From David Gonzalez@VERT to All on Friday, February 07, 2025 18:04:53
    On 2/7/2025 7:16, Digital Man wrote:
    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.

    Thanks for your suggetsion, tried that and got to this point

    david@skynet:~ $ sudo apt-get install libmozjs185-dev
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package libmozjs185-dev


    Unfortunately no luck that way either.


    --
    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 Friday, February 07, 2025 21:20:29
    Re: Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Fri Feb 07 2025 06:04 pm

    Thanks for your suggetsion, tried that and got to this point

    david@skynet:~ $ sudo apt-get install libmozjs185-dev
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package libmozjs185-dev

    What OS is that on?
    --
    digital man (rob)

    This Is Spinal Tap quote #45:
    I don't really think the end can be assessed as of itself as being the end Norco, CA WX: 51.9øF, 93.0% humidity, 3 mph W wind, 0.13 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Retro Guy@VERT/RETROBBS to David Gonzalez on Saturday, February 08, 2025 09:01:23
    Re: Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Fri Feb 07 2025 06:04 pm

    On 2/7/2025 7:16, Digital Man wrote:
    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


    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.

    Thanks for your suggetsion, tried that and got to this point

    david@skynet:~ $ sudo apt-get install libmozjs185-dev Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package libmozjs185-dev


    Unfortunately no luck that way either.

    You might try 'apt-cache search libmozjs'. I have an old version on my pi, but I get:
    apt-cache search libmozjs
    libmozjs-102-0 - SpiderMonkey JavaScript library
    libmozjs-102-dev - SpiderMonkey JavaScript library - development headers libmozjs-78-0 - SpiderMonkey JavaScript library
    libmozjs-78-dev - SpiderMonkey JavaScript library - development headers

    Then at least you can see what is available.
    ---
    þ Synchronet þ RetroBBS - retrobbs.ddns.net
  • From David Gonzalez@VERT to All on Saturday, February 08, 2025 11:35:58
    On 2/7/2025 16:20, Digital Man wrote:
    Re: Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Fri Feb 07 2025 06:04 pm

    > Thanks for your suggetsion, tried that and got to this point
    >
    > david@skynet:~ $ sudo apt-get install libmozjs185-dev
    > Reading package lists... Done
    > Building dependency tree... Done
    > Reading state information... Done
    > E: Unable to locate package libmozjs185-dev

    What OS is that on?

    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

    --
    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 Saturday, February 08, 2025 13:18:28
    Re: Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Sat Feb 08 2025 11:35 am

    > david@skynet:~ $ sudo apt-get install libmozjs185-dev
    > Reading package lists... Done
    > Building dependency tree... Done
    > Reading state information... Done
    > E: Unable to locate package libmozjs185-dev

    What OS is that on?

    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

    And that wiki page was (originally) written for:
    Linux raspberrypi 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linu

    So you might have better luck with a different or older OS.
    --
    digital man (rob)

    Synchronet "Real Fact" #23:
    The third ever Synchronet BBS was The Beast's Domain (sysop: King Drafus) Norco, CA WX: 64.5øF, 52.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From David Gonzalez@VERT to All on Sunday, February 09, 2025 10:01:07
    On 2/8/2025 8:18, Digital Man wrote:
    Re: Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Sat Feb 08 2025 11:35 am

    > > > david@skynet:~ $ sudo apt-get install libmozjs185-dev
    > > > Reading package lists... Done
    > > > Building dependency tree... Done
    > > > Reading state information... Done
    > > > E: Unable to locate package libmozjs185-dev
    >
    > > What OS is that on?
    >
    > 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

    And that wiki page was (originally) written for:
    Linux raspberrypi 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linu

    So you might have better luck with a different or older OS.

    Thanks Digital Man, I got it fixed with the OS I showed, no need to
    downgrade. I wanted to get it compiled and play around with a USR Modem
    I got and I got sexpots working with it too.

    I thought sexpots had issues with ZModem but thanks to a previous reply
    from you I found out that it was the terminal I was using, I tested with
    Sync Term and it did work downloading from a Mystic system. I bring this
    up because I want to move from a VM to the RPI, setup an alternate
    system with synchronet, running some doors and play with POTS line.

    My concern is will the SD card eventually burn out and di by using what
    I described?.

    Regards.

    --
    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 Sunday, February 09, 2025 14:23:27
    Re: Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Sun Feb 09 2025 10:01 am

    Thanks Digital Man, I got it fixed with the OS I showed, no need to downgrade. I wanted to get it compiled and play around with a USR Modem
    I got and I got sexpots working with it too.

    Oh, cool. What was the solution?
    --
    digital man (rob)

    Rush quote #46:
    One day I feel I'm on top of the world, and the next it's falling in on me Norco, CA WX: 73.5øF, 22.0% humidity, 5 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From nelgin@VERT/EOTLBBS to David Gonzalez on Sunday, February 09, 2025 16:29:18
    Re: Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Sat Feb 08 2025 11:35:58

    > E: Unable to locate package libmozjs185-dev

    https://wiki.synchro.net/howto:raspbian_install

    Did you follow step 4?

    You may have to use

    make -f install-sbbs.mk SYMLINK=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185 to compile it.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From David Gonzalez@VERT to All on Wednesday, February 19, 2025 08:20:22
    On 2/9/2025 9:23, Digital Man wrote:
    Re: Re: Compiling error opn Raspberry Pi 3B
    By: David Gonzalez to All on Sun Feb 09 2025 10:01 am

    > Thanks Digital Man, I got it fixed with the OS I showed, no need to
    > downgrade. I wanted to get it compiled and play around with a USR Modem
    > I got and I got sexpots working with it too.

    Oh, cool. What was the solution?

    Sorry for the late reply, I did several things before it actually
    compiled correctly.

    - I installed libmozjs 1.70 (forgive the naming mix up)
    - I downloaded older pre-compiled gcc g++ binaries, put them on /opt and
    set env variables and it ended up compiling OK, although when I do sbbs version I see GCC 11 (I think) so not sure I just did some reading and
    tried different things, so it might have been one or a combination.

    Sorry I cannot be much more technical I am in no way a linux or devel
    expert.

    Cheers

    --
    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