Looking at the autogenerated DEF file all these symbols are missing a
leading underscore. So I added them and got
ILink : error LNK2022: _TclOS2OpenFileChannel (alias
_TclOS2OpenFileChannel) : export undefined
ILink : error LNK2022: _TclOS2GetHAB (alias _TclOS2GetHAB) : export
undefined
ILink : error LNK2022: _TclpGetPid (alias _TclpGetPid) : export undefined
...
Next I tried changing the DEF file to use alias's like
TclOS2OpenSerialChannel=_TclOS2OpenSerialChannel
and also vice versa which gave these errors
weakld: I:\usr\src\TK\tcl8.3.5\os2\tclStubInit.o - error: Duplicate
symbol '_TclOS2OpenFileChannel' ('_TclOS2OpenFileChannel').
gcc: Internal error: Trace/BPT trap (program emxomfld.exe)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [tcl83.dll] Error 1
I have no idea how to overcome this and get the DLL to link, wondering
if anyone has any ideas
Dave