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
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
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.
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?
> 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
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.
> E: Unable to locate package libmozjs185-dev
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?
Sysop: | marcvandam |
---|---|
Location: | Utrecht |
Users: | 7 |
Nodes: | 4 (0 / 4) |
Uptime: | 46:59:46 |
Calls: | 71 |
Calls today: | 71 |
Files: | 72 |
U/L today: |
2 files (2,547K bytes) |
D/L today: |
143 files (78,184K bytes) |
Messages: | 5,227 |
Posted today: | 7 |