Hi davidrg, forgot to welcome you to the forum.
This is the latest code
https://ftp2.zx.net.nz/pub/CKW/test_builds/ckw10b8-beta4/ckw-b4-src.zip?
Is there a git or such repository?
Anyways downloaded the above source and built ckoker32.exe, which seems to run fine though textmode. Wasn't there a graphical exe too? It's been a long time since I played with kermit.
It compiled fine (lots of warnings) on OS/2 after a minor patch to ckoker.mak,
L:\work\ckwin-10.0beta.08-4\kermit\k95>diff -u ckoker.mak.orig ckoker.mak
--- ckoker.mak.orig 2023-01-31 18:55:46.000000000 -0800
+++ ckoker.mak 2023-01-31 18:38:06.000000000 -0800
@@ -686,9 +686,9 @@
!ifdef PLATFORM
!if "$(PLATFORM)" == "OS2"
LIBS = os2386.lib rexx.lib \
-!if "$(CMP)" != "OWCL"
- bigmath.lib
-!endif
+#!if "$(CMP)" != "OWCL"
+# bigmath.lib
+#!endif
# OpenWatcom doesn't have bigmath.lib
# SRP support: libsrp.lib
!else if "$(PLATFORM)" == "NT"
I see this,
===============================================================================
C-Kermit Build Configuration
===============================================================================
Platform: OS2
Build: K95
Architecture: x86
Compiler: OpenWatcom WCL386
Compiler Version: OpenWatcom
Compiler Target Platform: OS/2
Enabled Features: Network-Connections DECnet
Disabled Features: Kerberos SRP ZLIB SSL SSH ConPTY TelnetEncryptionOption CryptDLL XYZMODEM SuperLAT NetBIOS Mouse-Wheel
===============================================================================
Couple of observations, kerberos, zlib, crypto10.dll, (from OpenSSL) ) are available as GCC builds.
Quickly looking, it looks like you're using the old 16bit TCPIP stack, it would need updating to the 32 bit stack. Actually you should be targeting OS/2 4.5, basically V4 with all the free updates, especially FP#15 and the latest MPTS packages and whatever the last kernel was released by IBM.
There doesn't seem to be any DLLs associated with openssh. For openssl, probably the easiest would be to create OW friendly import libs and add some directive for the right calling convention.
One project I ended up supporting, the screensaver, links to some GCC compiled DLLs, it uses these flags. I'm far from an OW expert.
dllflags = -bd
cflags = $(debugflags) -zq -bm -bt=OS2 -6s -fpi87 -fp6 -sg -otexanr -wx
Perhaps Martin should split this topic off to its own thread as well.