• Syncterm compiling issue (OBSD 6.4)

    From Sprite@VERT/TINTETBB to Digital Man on Friday, December 20, 2019 18:35:02
    Hey there. Sorry if this is the wrong area for discussion on this but it seemed relevant at the time. :)
    I'm trying to compile SyncTerm on OpenBSD 6.4. Unfortunately, when the compilation process gets to:

    clang -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0x17d4b316 -Wn
    o-pointer-sign -Wno-switch -fPIC -DHAS_RECURSIVE_MUTEX -DOSVERSION=6 -fomit-fram
    e-pointer -o ./static-obj/unix.o random/unix.c
    random/unix.c:404:11: fatal error: 'vm/vm_param.h' file not found
    #include <vm/vm_param.h> /* For CTL_VM identifiers */
    ^~~~~~~~~~~~~~~
    1 error generated.
    *** Error 1 in . (makefile:1302 './static-obj/unix.o')
    *** Error 1 in . (makefile:1780 'OpenBSD')
    *** Error 1 in /home/sprite/src/sbbs_src/3rdp/src/cl (makefile:371 'default') gmake[1]: *** [GNUmakefile:100: ../build/../../src/../3rdp/clang.openbsd.debug/c
    l/libcl.a] Error 1
    gmake[1]: Leaving directory '/home/sprite/src/sbbs_src/3rdp/build'
    gmake: *** [../build/Common.gmake:521: cl] Error 2

    Well, as you can see, vm/vm_param.h is not found. I did locate /usr/include/uvm/uvm_param.h; is it possible that the header that you wanted to include had been renamed? If this isn't the solution I guess I'll have to dig for what package that might be in, I just thought I'd ask in case it's a simple makefile change that'll get things working here.
    Thank you!

    ---
    þ Synchronet þ My Brand-New BBS
  • From Digital Man@VERT to Sprite on Saturday, December 21, 2019 00:22:41
    Re: Syncterm compiling issue (OBSD 6.4)
    By: Sprite to Digital Man on Fri Dec 20 2019 06:35 pm

    Hey there. Sorry if this is the wrong area for discussion on this but it seemed relevant at the time. :)
    I'm trying to compile SyncTerm on OpenBSD 6.4. Unfortunately, when the compilation process gets to:

    clang -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0x17d4b316 -Wn
    o-pointer-sign -Wno-switch -fPIC -DHAS_RECURSIVE_MUTEX -DOSVERSION=6 -fomit-fram
    e-pointer -o ./static-obj/unix.o random/unix.c
    random/unix.c:404:11: fatal error: 'vm/vm_param.h' file not found
    #include <vm/vm_param.h> /* For CTL_VM identifiers */
    ^~~~~~~~~~~~~~~
    1 error generated.
    *** Error 1 in . (makefile:1302 './static-obj/unix.o')
    *** Error 1 in . (makefile:1780 'OpenBSD')
    *** Error 1 in /home/sprite/src/sbbs_src/3rdp/src/cl (makefile:371 'default') gmake[1]: *** [GNUmakefile:100: ../build/../../src/../3rdp/clang.openbsd.debug/c
    l/libcl.a] Error 1
    gmake[1]: Leaving directory '/home/sprite/src/sbbs_src/3rdp/build'
    gmake: *** [../build/Common.gmake:521: cl] Error 2

    Well, as you can see, vm/vm_param.h is not found. I did locate /usr/include/uvm/uvm_param.h; is it possible that the header that you wanted to include had been renamed? If this isn't the solution I guess I'll have to dig for what package that might be in, I just thought I'd ask in case it's a simple makefile change that'll get things working here.

    That's a cryptlib build error. Maybe try building without cryptlib/SSH support to get around that issue.

    digital man

    Synchronet "Real Fact" #32:
    The second most prolific contributor to Synchronet is Stephen Hurd (Deuce). Norco, CA WX: 58.6øF, 28.0% humidity, 1 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Sprite@VERT/TINTETBB to Digital Man on Saturday, December 21, 2019 04:06:01
    Re: Syncterm compiling issue (OBSD 6.4)
    By: Digital Man to Sprite on Sat Dec 21 2019 00:22:41

    That's a cryptlib build error. Maybe try building without cryptlib/SSH support to get around that issue.

    I'll give that a shot. Thanks.

    ---
    þ Synchronet þ My Brand-New BBS
  • From Sprite@VERT/TINTETBB to Digital Man on Saturday, December 21, 2019 14:42:34
    Re: Syncterm compiling issue (OBSD 6.4)
    By: Digital Man to Sprite on Sat Dec 21 2019 00:22:41

    That's a cryptlib build error. Maybe try building without cryptlib/SSH support to get around that issue.

    Say there's not really anything for documentation in that GNUMakefile for syncterm. Can you help me determine how to do that? I'm guessing that some modification will be in order in the CFLAGS = line of the makefile, but I'm not sure if it's that simple or if other work will be involved.
    Thank you!

    ---
    þ Synchronet þ My Brand-New BBS
  • From Digital Man@VERT to Sprite on Saturday, December 21, 2019 14:01:07
    Re: Re: Syncterm compiling issue (OBSD 6.4)
    By: Sprite to Digital Man on Sat Dec 21 2019 02:42 pm

    Re: Syncterm compiling issue (OBSD 6.4)
    By: Digital Man to Sprite on Sat Dec 21 2019 00:22:41

    That's a cryptlib build error. Maybe try building without cryptlib/SSH support to get around that issue.

    Say there's not really anything for documentation in that GNUMakefile for syncterm. Can you help me determine how to do that? I'm guessing that some modification will be in order in the CFLAGS = line of the makefile, but I'm not sure if it's that simple or if other work will be involved.

    "make WITHOUT_CRYPTLIB=1"

    digital man

    This Is Spinal Tap quote #20:
    Well, I'm sure I'd feel much worse if I weren't under such heavy sedation. Norco, CA WX: 71.2øF, 29.0% humidity, 0 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Sprite@VERT/TINTETBB to Digital Man on Sunday, December 22, 2019 14:51:21
    Re: Re: Syncterm compiling issue (OBSD 6.4)
    By: Digital Man to Sprite on Sat Dec 21 2019 14:01:07

    "make WITHOUT_CRYPTLIB=1"

    Doh. Of course it'd be something easy like that...

    I'm a little befuddled at what I've gotten as a result, though:
    found$ gmake WITHOUT_CRYPTLIB=1
    gmake -C ../xpdev mtlib
    gmake[1]: Entering directory '/home/sprite/src/sbbs_src/src/xpdev'
    gmake[1]: Nothing to be done for 'mtlib'.
    gmake[1]: Leaving directory '/home/sprite/src/sbbs_src/src/xpdev'
    gmake -C ../conio mtlib
    gmake[1]: Entering directory '/home/sprite/src/sbbs_src/src/conio'
    gmake[1]: Nothing to be done for 'mtlib'.
    gmake[1]: Leaving directory '/home/sprite/src/sbbs_src/src/conio'
    gmake -C ../uifc mtlib
    gmake[1]: Entering directory '/home/sprite/src/sbbs_src/src/uifc'
    gmake[1]: Nothing to be done for 'mtlib'.
    gmake[1]: Leaving directory '/home/sprite/src/sbbs_src/src/uifc'
    Compiling bbslist.c
    Compiling uifcinit.c
    Compiling ../uifc/filepick.c
    Compiling fonts.c
    Compiling rlogin.c
    Compiling telnet_io.c
    telnet_io.c:241:7: error: conflicting types for 'telnet_expand'
    BYTE* telnet_expand(BYTE* inbuf, size_t inlen, BYTE* outbuf, size_t *newlen)
    ^
    ../sbbs3/telnet.h:168:18: note: previous declaration is here
    DLLEXPORT size_t telnet_expand(const uchar* inbuf, size_t inlen, uchar* ...
    ^
    1 error generated.
    gmake: *** [../build/Common.gmake:458: clang.openbsd.obj.debug-mt/telnet_io.o] Error 1
    found$

    I appreciate anything you can offer on this. I've really enjoyed using SyncTerm in the past. Thanks for the hand holding.

    ---
    þ Synchronet þ My Brand-New BBS
  • From Digital Man@VERT to Sprite on Sunday, December 22, 2019 13:12:26
    Re: Re: Syncterm compiling issue (OBSD 6.4)
    By: Sprite to Digital Man on Sun Dec 22 2019 02:51 pm

    Re: Re: Syncterm compiling issue (OBSD 6.4)
    By: Digital Man to Sprite on Sat Dec 21 2019 14:01:07

    "make WITHOUT_CRYPTLIB=1"

    Doh. Of course it'd be something easy like that...

    I'm a little befuddled at what I've gotten as a result, though:
    found$ gmake WITHOUT_CRYPTLIB=1
    gmake -C ../xpdev mtlib
    gmake[1]: Entering directory '/home/sprite/src/sbbs_src/src/xpdev'
    gmake[1]: Nothing to be done for 'mtlib'.
    gmake[1]: Leaving directory '/home/sprite/src/sbbs_src/src/xpdev'
    gmake -C ../conio mtlib
    gmake[1]: Entering directory '/home/sprite/src/sbbs_src/src/conio'
    gmake[1]: Nothing to be done for 'mtlib'.
    gmake[1]: Leaving directory '/home/sprite/src/sbbs_src/src/conio'
    gmake -C ../uifc mtlib
    gmake[1]: Entering directory '/home/sprite/src/sbbs_src/src/uifc'
    gmake[1]: Nothing to be done for 'mtlib'.
    gmake[1]: Leaving directory '/home/sprite/src/sbbs_src/src/uifc'
    Compiling bbslist.c
    Compiling uifcinit.c
    Compiling ../uifc/filepick.c
    Compiling fonts.c
    Compiling rlogin.c
    Compiling telnet_io.c
    telnet_io.c:241:7: error: conflicting types for 'telnet_expand'
    BYTE* telnet_expand(BYTE* inbuf, size_t inlen, BYTE* outbuf, size_t *newlen)
    ^
    ../sbbs3/telnet.h:168:18: note: previous declaration is here
    DLLEXPORT size_t telnet_expand(const uchar* inbuf, size_t inlen, uchar* ...
    ^
    1 error generated.
    gmake: *** [../build/Common.gmake:458: clang.openbsd.obj.debug-mt/telnet_io.o] Error 1
    found$

    I appreciate anything you can offer on this. I've really enjoyed using SyncTerm in the past. Thanks for the hand holding.

    Looks like your source files are old/out-of-date. telnet_io.c was last updated on August-24-2019.

    digital man

    Synchronet/BBS Terminology Definition #12:
    CBM = Commodore Business Machines
    Norco, CA WX: 62.3øF, 34.0% humidity, 5 mph E wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Sprite@VERT/TINTETBB to Digital Man on Monday, December 23, 2019 16:58:14
    Re: Re: Syncterm compiling issue (OBSD 6.4)
    By: Digital Man to Sprite on Sun Dec 22 2019 13:12:26

    Looks like your source files are old/out-of-date. telnet_io.c was last updated on August-24-2019.

    I snagged it from syncterm.bbsdev.net's sourceforge link. It was syncterm-1.0.tgz. Is there another source I should be using?

    ---
    þ Synchronet þ My Brand-New BBS
  • From Gamgee@VERT/PALANT to Sprite on Monday, December 23, 2019 22:11:00
    Sprite wrote to Digital Man <=-

    Re: Re: Syncterm compiling issue (OBSD 6.4)
    By: Digital Man to Sprite on Sun Dec 22 2019 13:12:26

    Looks like your source files are old/out-of-date. telnet_io.c was last updated on August-24-2019.

    I snagged it from syncterm.bbsdev.net's sourceforge link. It
    was syncterm-1.0.tgz. Is there another source I should be using?

    Look again at the page.

    There's a link to the daily CVS version, and another link to the
    complete (daily) source code in ZIP format.

    Version 1.1b



    ... Internal Error: The system has been taken over by sheep at line 19960
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Digital Man@VERT to Sprite on Tuesday, December 24, 2019 12:54:18
    Re: Re: Syncterm compiling issue (OBSD 6.4)
    By: Sprite to Digital Man on Mon Dec 23 2019 04:58 pm

    Re: Re: Syncterm compiling issue (OBSD 6.4)
    By: Digital Man to Sprite on Sun Dec 22 2019 13:12:26

    Looks like your source files are old/out-of-date. telnet_io.c was last updated on August-24-2019.

    I snagged it from syncterm.bbsdev.net's sourceforge link. It was syncterm-1.0.tgz. Is there another source I should be using?

    Your build error is from a mix of old (syncterm 1.0) source files and newer (sbbs) source files. If you want to build SyncTERM 1.0, you should be able to just fine. Just don't mix the old and new source files together in the same directory tree.

    That said, I would recommend getting the lateset SyncTERM source tarball (1.1b) and use that instead of the old 1.0:
    http://syncterm.net/syncterm-src.tgz

    digital man

    This Is Spinal Tap quote #43:
    I feel my role in the band is ... kind of like lukewarm water.
    Norco, CA WX: 56.3øF, 73.0% humidity, 5 mph ENE wind, 0.04 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net