Problems with Scotty on NT: Solution

Daniel Brown (danb@linda.visicom.com)
Thu, 30 Jan 1997 14:25:17 -0800

Previously, I mentioned that I was having some difficulties
getting the tnm and tkined dlls loaded into Tcl/Tk. I've
subsequently figured out the problem. It has to do with
differences in the patches version 7.5 of Tcl. Because others
have related similar problems in loading the libraries, I
suggest the following be placed in the FAQ.

Here are the versions of Tcl/Tk and their libraries, as well
as where I got them. Note that the version of Tcl mentioned
is the patched version of Tcl7.5 which has some entry point
changes. This is, of course, for Scotty2.1.5:

Tcl7.5/Tk4.1: win41p1.exe (Installing executable)
ftp://ftp.sunlabs.com/pub/tcl/win41p1.exe

tcl75.lib and tk41.lib: vclibs41.zip (for use with Suns Tcl)
ftp://ftp.sunlabs.com/pub/tcl/vclibs41.zip

oncrpc.lib and resolv.lib: vclibs21.zip
ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/Win32

After installing Tcl in C:\Tcl, I built all from c:\scotty2.1.5\win\
using the makefile.vc. I then installed tnm using the make install
command in the same directory.

Once completed, tnm can be loaded directly in either wish or tclsh
with the command "load tnm". Tkined can be loaded directly only to
wish with the command "load tkined". If you have init.tcl problems
with tnm, make sure you've run make install from the directory above.
If you get the ordinal errors such as that below, you are probably
using the wrong patch for Tcl7.5.

At 09:59 AM 1/30/97 +0100, you wrote:
>
>Daniel Brown <danb@linda.visicom.com> said:
>
>Daniel> I'm trying to run scotty on NT and have had two problems.
>
>Daniel> i) When compiling scotty, the tnm.dll reports the unresolved
>Daniel> extern TclGetTime in several object files. To remedy the
>Daniel> situation temporarily, I made the following change to the
>Daniel> tnmInt.h file in scotty2.1.5\tnm\generic:
>
>[...]
>
>Daniel> I'm not sure what the consequences of such a change are other than
>Daniel> suggesting that Tcl_Ckfree is defined. I'm sure they could
>Daniel> be bad.
>
>The Tcl folks at Sun changed the name of TclGetTime to TclpGetTime in
>one of the patches. Changing the definition of TnmGetTime in tnmInt.h
>is the correct way to solve this problem.
>
>Daniel> ii) When I run Tcl and try to load tnm, I get the following error:
>Daniel>
>Daniel> The ordinal 384 could not be located in the ddl tcl75.dll.
>
>Sorry, I can't help with this one. I have seen that before, but I
>never understood why this error went away later. I actually have no
>idea what ordinal 384 is and what this message means.
>
> Juergen
>--
>Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
>Computer Science Department, University of Twente, (Fax: +31-53-489-3247)
>P.O. Box 217, NL-7500 AE Enschede, The Netherlands. (Tel. +31-53-489-3678)
>
>
-------------------------------------------------------------
Daniel C. Brown dbrown@dalmatian.com
The Dalmatian Group http://matia.stanford.edu/~danbrown
Software Engineer 619.794.4026 H
-------------------------------------------------------------

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.