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.
That's a cryptlib build error. Maybe try building without cryptlib/SSH support to get around that issue.
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"
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.
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?
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?
Sysop: | BrokenMind |
---|---|
Location: | Central Pennsylvania United States |
Users: | 60 |
Nodes: | 4 (0 / 4) |
Uptime: | 17:33:37 |
Calls: | 175 |
Files: | 2,017 |
Messages: | 20,380 |