Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Synchronet Discussion  <--  <--- Return to Home Page
   Networked Database  Synchronet Discussion   [599 / 900] RSS
 From   To   Subject   Date/Time 
Message   =?UTF-8?Q?Bj=C3=B6rn_Wiberg?=    alt.bbs.synchronet   Problems building on Debian 10 ("Buster") -- mozjs and data type   July 29, 2019
 3:02 AM *  

From Newsgroup: alt.bbs.synchronet

Hello,
First of all, thanks for all the work on Synchronet! I'm a former SysOp (I used
 to run a BBS during the 1990s), and with a Linux machine at hand, I'm slowly
beginning to set up my BBS "again".
(I have also begun writing a bash script modem frontend which -- with the help
of stty and socat -- hopefully should be able to transfer incoming modem
connections to the Telnet parts of Synchronet, which I believe is a missing
"part of the puzzle" at the moment?)
Now on to my problem:
I'm trying to build Synchronet 3.17b on a Debian 10 ("Buster";) machine:
mkdir -p ~/src/sbbs317b
cd ~/src/sbbs317b
wget
'http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/GNUmakefile'
make install CVSTAG=sbbs317b NO_GTK=1 NO_X=1
...but I get compile errors regarding missing datatypes:
c++ -o jsanalyze.o -c  -fvisibility=hidden -DOSTYPE=\"Linux4.19\"
-DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS  -I. -I. -I./dist/include
-I./dist/include/nsprpub  -I/usr/include/nspr   -I. -I./assembler -I./yarr 
-fPIC  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual
-Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
-Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic
-Wno-long-long -std=gnu++98 -fno-strict-aliasing -pthread -pipe  -DNDEBUG
-DTRIMMED -O3 -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1  
-DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.pp
jsanalyze.cpp
In file included from jstypes.h:58,
                 from jsarena.h:50,
                 from jsanalyze.h:44,
                 from jsanalyze.cpp:40:
js-config.h:85:27: error: ΓÇÿWORDΓÇÖ does not name a type
 /* #undef JS_BYTES_PER_ */WORD
                           ^~~~
In file included from jstypes.h:338,
                 from jsarena.h:50,
                 from jsanalyze.h:44,
                 from jsanalyze.cpp:40:
jsinttypes.h:85:9: error: ΓÇÿuint8_tΓÇÖ does not name a type; did you mean
ΓÇÿu_int8_tΓÇÖ?
 typedef uint8_t   JSUint8;
         ^~~~~~~
         u_int8_t
In file included from jsarena.h:50,
                 from jsanalyze.h:44,
                 from jsanalyze.cpp:40:
jstypes.h:408:9: error: ΓÇÿJSUint8ΓÇÖ does not name a type; did you mean
ΓÇÿJSUintnΓÇÖ?
 typedef JSUint8 JSPackedBool;
         ^~~~~~~
         JSUintn
In file included from jstypes.h:416,
                 from jsarena.h:50,
                 from jsanalyze.h:44,
                 from jsanalyze.cpp:40:
jsotypes.h:80:9: error: ΓÇÿJSUint8ΓÇÖ does not name a type; did you mean
ΓÇÿJSUintnΓÇÖ?
 typedef JSUint8 uint8;
         ^~~~~~~
         JSUintn
...and so on. Checking
~/src/sbbs317b/3rdp/src/mozjs/js-1.8.5/js/src/config.status shows that the
define "-DJS_HAVE_STDINT_H=1" is set, so it appears that it has found
<stdint.h>, however this does not seem to help.
Any ideas?
I tried replacing the bundled mozjs library by installing the libmozjs-60-0 and
 libmozjs-60-dev packages, and specifying JSINCLUDE=/usr/include/mozjs-60/js
JSLIB=libmozjs-60, but that made things worse in other aspects (smblib couldn't
 find the headers from "encode" and "hash", so it appears that this caused some
 other include path problems).
I have checked the prerequisites and I think I've got the ones required.
Perhaps mozjs 1.8.5 is simply "too old" for the up-to-date software in Debian
10?
I'm using gcc/g++ 8.3.0 (8.3.0-6), pkgconf 1.6.0 (1.6.0-1), make 4.2.1
(4.2.1-1.2), libc6-dev 2.28 (2.28-10).
Many thanks in advance!
Best regards,
Bj├╢rn
--- Synchronet 3.17c-Win32 NewsLink 1.110
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Synchronet Discussion  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0852 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_udo5b8ni3kom2ntk6h7mt6lfi5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_udo5b8ni3kom2ntk6h7mt6lfi5, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_udo5b8ni3kom2ntk6h7mt6lfi5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0