cannot compile tnm.exe with vc++ 2.0 on NT4.0
Closed / Fixed218052ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:37
OriginalBugID: 1422 Bug
Version: 8.0.3
SubmitDate: '1999-03-02'
LastModified: '1999-04-16'
Severity: CRIT
Status: Closed
Submitter: pat
ChangedBy: stanton
OS: Windows NT
OSVersion: 4.0
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-04-16'
Name:
John G. Budnichuk
CVS:
installed from Tcl Blaster CDrom
Extensions:
TNM
ReproducibleScript:
# Makefile.vc
#
# This makefile builds tnm.dll as a dynamically loadable Tcl extension.
# This makefile is suitable for use with Microsoft Visual C++ 2.x and 4.0
# and is derived from the example provided by Sun Microsystems.
TNM_VERSION = 2.1.9
TKI_VERSION = 1.4.9
#
# Project directories -- these may need to be customized for your site
#
# ROOT --top of the source tree.
# TMPDIR --location for .obj files.
# TOOLS32 --location of VC++ compiler installation.
# TCL --location where Tcl is installed.
# TNM --location where Tnm will be installed.
# TKI --location where Tkined will be installed.
#
ROOT= .\..
TMPDIR= c:\temp
TOOLS32= c:\msdev
TCL= e:\tcl
TNM= $(TCL)\lib\tnm$(TNM_VERSION)
TKI= $(TCL)\lib\tkined$(TKI_VERSION)
CPU = i386
# comment the following line to compile with symbols
NODEBUG=1
#
# Visual C++ tools
#
PATH=$(TOOLS32)\bin;$(PATH)
cc32= $(TOOLS32)\bin\cl -I$(TOOLS32)\include
CP = copy
RM = del
INCLUDES = -I $(ROOT)\tnm\generic -I$(ROOT)\tnm\snmp -I$(ROOT)\compat -I$(ROOT)\compat\res -I$(ROOT)\tkined\generic -I$(TOOLS32)\include -I$(TCL)\include
DEFINES = -nologo $(DEBUGDEFINES) -Di386
!include <ntwin32.mak>
#
# Global makefile settings
#
TNMOBJS = $(TMPDIR)\tnmDns.obj $(TMPDIR)\tnmEvent.obj $(TMPDIR)\tnmHttp.obj $(TMPDIR)\tnmIcmp.obj $(TMPDIR)\tnmIned.obj $(TMPDIR)\tnmInit.obj $(TMPDIR)\tnmJob.obj $(TMPDIR)\tnmNetdb.obj $(TMPDIR)\tnmNtp.obj $(TMPDIR)\tnmSunrpc.obj $(TMPDIR)\tnmSyslog.obj $(TMPDIR)\tnmUdp.obj $(TMPDIR)\tnmUtil.obj $(TMPDIR)\tnmAsn1.obj $(TMPDIR)\tnmMD5.obj $(TMPDIR)\tnmSnmpAgent.obj $(TMPDIR)\tnmSnmpInst.obj $(TMPDIR)\tnmSnmpNet.obj $(TMPDIR)\tnmSnmpRecv.obj $(TMPDIR)\tnmSnmpSend.obj $(TMPDIR)\tnmSnmpTcl.obj $(TMPDIR)\tnmSnmpUtil.obj $(TMPDIR)\tnmMibFrozen.obj $(TMPDIR)\tnmMibParser.obj $(TMPDIR)\tnmMibQuery.obj $(TMPDIR)\tnmMibTcl.obj $(TMPDIR)\tnmMibTree.obj $(TMPDIR)\tnmWinIcmp.obj $(TMPDIR)\tnmWinInit.obj $(TMPDIR)\tnmWinLog.obj $(TMPDIR)\tnmWinSocket.obj $(TMPDIR)\ether_xdr.obj $(TMPDIR)\ether_clnt.obj $(TMPDIR)\mount_xdr.obj $(TMPDIR)\mount_clnt.obj $(TMPDIR)\rstat_xdr.obj $(TMPDIR)\rstat_clnt.obj $(TMPDIR)\pcnfsd_clnt.obj $(TMPDIR)\pcnfsd_xdr.obj
TKIOBJS = $(TMPDIR)\tkiEditor.obj $(TMPDIR)\tkiObjects.obj $(TMPDIR)\tkiMethods.obj $(TMPDIR)\tkiMisc.obj $(TMPDIR)\tkiFlash.obj $(TMPDIR)\tkiStripchart.obj $(TMPDIR)\tkiBarchart.obj $(TMPDIR)\tkiUtil.obj $(TMPDIR)\tkiInit.obj $(TMPDIR)\tkiWinInit.obj
# Targets
all: tnm.dll tkined.dll
tnm.dll: $(TNMOBJS) tcl75.lib oncrpc.lib resolv.lib
$(link) $(linkdebug) $(dlllflags) tcl75.lib oncrpc.lib resolv.lib wsock32.lib $(guilibsdll) -out:tnm.dll $(TNMOBJS)
tkined.dll: $(TKIOBJS) tcl75.lib tk41.lib
$(link) $(linkdebug) $(dlllflags) tcl75.lib tk41.lib $(guilibsdll) -out:tkined.dll $(TKIOBJS)
# Implicit Targets
.c.obj:
$(cc32) $(cdebug) $(cflags) $(cvarsdll) $(INCLUDES) $(DEFINES) -Fo$(TMPDIR)\ $<
{$(ROOT)\tnm\generic}.c{$(TMPDIR)}.obj:
$(cc32) $(cdebug) $(cflags) $(cvarsdll) $(INCLUDES) $(DEFINES) -Fo$(TMPDIR)\ $<
{$(ROOT)\tnm\snmp}.c{$(TMPDIR)}.obj:
$(cc32) $(cdebug) $(cflags) $(cvarsdll) $(INCLUDES) $(DEFINES) -Fo$(TMPDIR)\ $<
{$(ROOT)\compat}.c{$(TMPDIR)}.obj:
$(cc32) $(cdebug) $(cflags) $(cvarsdll) $(INCLUDES) $(DEFINES) -Fo$(TMPDIR)\ $<
{$(ROOT)\tkined\generic}.c{$(TMPDIR)}.obj:
$(cc32) $(cdebug) $(cflags) $(cvarsdll) $(INCLUDES) $(DEFINES) -Fo$(TMPDIR)\ $<
#
# Lots of installation targets.
#
install: tnm-install
tnm-install: tnm-install-bin tnm-install-library tnm-install-mibs tnm-install-agents tnm-install-examples
tnm-install-bin: tnm.dll
-mkdir $(TNM)
copy tnm.dll $(TCL)\bin\tnm$(TNM_VERSION).dll
echo package ifneeded Tnm $(TNM_VERSION) \"load c:/tcl/bin/tnm$(TNM_VERSION).dll\" > $(TNM)\pkgIndex.tcl
tnm-install-library:
-mkdir $(TNM)\library
copy $(ROOT)\tnm\library\* $(TNM)\library
tnm-install-mibs:
-mkdir $(TNM)\mibs
copy $(ROOT)\tnm\mibs\*.smi $(TNM)\mibs
copy $(ROOT)\tnm\mibs\*.tc $(TNM)\mibs
copy $(ROOT)\tnm\mibs\*.mib $(TNM)\mibs
tnm-install-agents:
-mkdir $(TNM)\agents
copy $(ROOT)\tnm\agents\* $(TNM)\agents
tnm-install-examples:
-mkdir $(TNM)\examples
copy $(ROOT)\tnm\examples\* $(TNM)\examples
tki-install: tki-install-bin tki-install-library tki-install-bitmaps tki-install-apps
tki-install-bin: tkined.dll
-mkdir $(TKI)
copy tkined.dll $(TCL)\bin\tkined$(TKI_VERSION).dll
copy tkined $(TCL)\bin\tkined
copy $(ROOT)\tkined\tkined.defaults $(TKI)
echo package ifneeded Tkined $(TKI_VERSION) \"load c:/tcl/bin/tkined$(TKI_VERSION).dll\" > $(TKI)\pkgIndex.tcl
tki-install-library:
-mkdir $(TKI)\library
copy $(ROOT)\tkined\library\* $(TKI)\library
tki-install-bitmaps:
-mkdir $(TKI)\bitmaps
copy $(ROOT)\tkined\bitmaps\* $(TKI)\bitmaps
tki-install-apps:
-mkdir $(TKI)\apps
copy $(ROOT)\tkined\apps $(TKI)\apps
clean:
-$(RM) $(TMPDIR)\*.obj
-$(RM) $(TMPDIR)\tnm.dll
-$(RM) $(TMPDIR)\tkined.dll
-$(RM) $(TMPDIR)\*.lib
-$(RM) $(TMPDIR)\*.exp
-$(RM) $(TMPDIR)\bcc32.cfg
ObservedBehavior:
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
NMAKE : fatal error U1073: don't know how to make 'c:\temp\tnmDns.obj'
Stop.
Error executing NMAKE.
makefile.exe - 1 error(s), 0 warning(s)
This is not a supported product.
04/16/1999 13:32 - stanton -
welch Closed ticket [218052ffff].
[History diff]2000-10-26 08:13:44
dgp Ticket [218052ffff]: 3 changes
[History diff]2001-04-05 08:23:13
Log in (anonymous is fine) to add a comment.