[tkined] Could you please help me...

Chandra Sekhar . K (csekhar@cisco.com)
Thu, 25 Jun 1998 05:42:10 -0700 (PDT)

Hi ,

I am Chandra Sekhar , working on a porting of a software from UNIX to
WINDOWS-NT. I require tcl8.0, tclX8.0 ,expect5.21 and scotty on WINDOWS-NT
platform for this project. I wanted to have your scotty integrated
with tcl8.0 for
WINDOWS-NT. As tcl8.0 is not available inyour site , I downloaded tcl8.0
and tk8.0
source from http://bmrc.berkeley.edu/people/chaffee/expectnt.html and
built the
libraries tcl80.lib and tk80.lib . Using these libraries I tried to
integrate scotty. But
the compilation fails with the following error message.

link /RELEASE /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO
align:0x1000 -entry:_DllMainCRTStartup@12 -dll tcl80.lib oncrpc.lib
resolv.lib wsock32.lib
msvcrt.lib ldnames.lib kernel32.lib advapi32.lib user32.lib gdi32.lib
comdlg32.lib winspool.lib -
out:tnm.dll \tnmDns.obj .\tnmEvent.obj .\tnmHttp.obj .\tnmIcmp.obj
.\tnmIned.obj .\tnmInit.obj
.\tnmJob.obj \tnmNetdb.obj .\tnmNtp.obj .\tnmSunrpc.obj .\tnmSyslog.obj
.\tnmUdp.obj .
\tnmUtil.obj .\tnmAsn1.obj \tnmMD5.obj .\tnmSnmpAgent.obj
.\tnmSnmpInst.obj .\tnmSnmpNet.obj .\tnmSnmpRecv.obj \tnmSnmpSend.obj
.\tnmSnmpTcl.obj .\tnmSnmpUtil.obj .\tnmMibFrozen.obj
.\tnmMibParser.obj \tnmMibQuery.obj .\tnmMibTcl.obj .\tnmMibTree.obj
.\tnmWinIcmp.obj
.\tnmWinInit.obj tnmWinLog.obj .\tnmWinSocket.obj .\ether_xdr.obj
.\ether_clnt.obj .\mount_xdr.obj .\mount_clnt.obj rstat_xdr.obj
.\rstat_clnt.obj .\pcnfsd_clnt.obj .\pcnfsd_xdr.obj

Creating library tnm.lib and object tnm.exp
tnmUdp.obj : error LNK2001: unresolved external symbol _Tcl_DeleteFileHandler
tnmSnmpNet.obj : error LNK2001: unresolved external symbol
_Tcl_DeleteFileHandler
tnmUdp.obj : error LNK2001: unresolved external symbol _Tcl_CreateFileHandler
tnmSnmpNet.obj : error LNK2001: unresolved external symbol
_Tcl_CreateFileHandler
tnm.dll : fatal error LNK1120: 2 unresolved externals

Could you please analyse the error message and let me know the reason for
compilation failure.

For your information the Tcl8.0 Readme file specifies that

TclCreateFileHandler and Tcl_DeleteFileHandler now take unix fd’s and are only
supported on the Unix platform.

Is this limitation has any relation with the above error message. If
yes, How can
I go about in getting this problem resolved.

Could you please help me in resolving this problem. Please let me know
if any
additional information is required.

Awaiting your reply.

Thanks in advance
Chandra

--
!! 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.