[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Assistance on NS Windows NMake build (link) error



Hi,
I seem to be stuck on the following(below) link errors in building the
NS exec under Win32. I
cannot seem to get by the Tclcl/Otcl (error LNK2001: unresolved external
symbol ) link errors.

I have managed(previously) to build the Tclcl and Otcl binaries
successfully.

Can anyone offer some suggestions?

Thanks, John

--------------------Configuration: NS - Win32 Debug--------------------
Microsoft (R) Program Maintenance Utility   Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
 link -LIBPATHc:\msdev\lib /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE
/RELEASE /NOLOGO msvcrt.lib oldnames.lib kernel32.lib  wsock32.lib
advapi32.lib -out:ns.exe  tclAppInit.o  random.o rng.o ranvar.o misc.o
timer-handler.o  scheduler.o object.o  packe
t.o ip.o route.o connector.o ttl.o  trace.o trace-ip.o  classifier.o
classifier-addr.o classifier-hash.o  classifier-mcast.o
classifier-mpath.o replicator.o  classifier-mac.o  cbr.o traffictrace.o
app.o trafgen.o address.o pareto.o expoo.o telnet.o
tcplib-telnet.o  tbf.o resv.o sa.o saack.o  measuremod.o estimator.o
adc.o ms-adc.o timewindow-est.o acto-adc.o  pointsample-est.o salink.o
actp-adc.o hb-adc.o expavg-est.o agent.o message.o udp.o session-rtp.o
rtp.o rtcp.o ivs.o  tcp.o tcp-sink.o t
cp-reno.o tcp-newreno.o  tcp-vegas.o tcp-rbp.o tcp-full.o  scoreboard.o
tcp-sack1.o tcp-fack.o  tcp-asym.o tcp-asym-sink.o tcp-fs.o
tcp-asym-fs.o  tcp-int.o chost.o tcp-session.o nilist.o  integrator.o
queue-monitor.o flowmon.o loss-monitor.o  queue
.o drop-tail.o simple-intserv-sched.o red.o  semantic-packetqueue.o
semantic-red.o ack-recons.o  sfq.o fq.o drr.o   hackloss.o errmodel.o
delay.o ll.o snoop.o  channel.o mac.o mac-csma.o mac-802_11.o
mac-multihop.o  dynalink.o rtProtoDV.o net-inter
face.o  ctrMcast.o prune.o srm.o  sessionhelper.o delaymodel.o
srm-ssm.o  srm-topo.o  lib\\int.Vec.o lib\\int.RVec.o
lib\\dmalloc_support.o c:\ns\version.o c:\ns\ns_tcl.o  win32.o
tkConsole.o -LIBPATH:c:\otcl otcl.lib -LIBPATH:c:\ns\tclcl-1.0b6 tcl
cl.lib  -LIBPATH:c:\tk8.0\tk80 tk80.lib -LIBPATH:c:\tcl8.0\tcl80
tcl80.lib  libc.lib oldnames.lib kernel32.lib  wsock32.lib advapi32.lib
user32.lib gdi32.lib comdlg32.lib winspool.lib
LINK : warning LNK4031: no subsystem specified; CONSOLE assumed
tclAppInit.o : error LNK2001: unresolved external symbol "int __cdecl
Otcl_Init(struct Tcl_Interp *)" (?Otcl_Init@@YAHPAUTcl_Interp@@@Z)
tclcl.lib(Tcl.o) : error LNK2001: unresolved external symbol "void
__cdecl OTclAddPMethod(struct OTclObject *,char *,int (__cdecl*)(void
*,struct Tcl_Interp *,int,char * * const),void *,void (__cdecl*)(void
*))" (?OTclAddPMethod@@YAXPAUOTclObject@@P
ADP6AHPAXPAUTcl_Interp@@HQAPAD@Z2P6AX2@Z@Z)
tclcl.lib(Tcl.o) : error LNK2001: unresolved external symbol "struct
OTclObject * __cdecl OTclGetObject(struct Tcl_Interp *,char *)"
(?OTclGetObject@@YAPAUOTclObject@@PAUTcl_Interp@@PAD@Z)
tclcl.lib(Tcl.o) : error LNK2001: unresolved external symbol "int
__cdecl OTclOInstVarOne(struct OTclObject *,struct Tcl_Interp *,char
*,char *,char *,int)"
(?OTclOInstVarOne@@YAHPAUOTclObject@@PAUTcl_Interp@@PAD22H@Z)
tclcl.lib(Tcl.o) : error LNK2001: unresolved external symbol "void
__cdecl OTclAddIMethod(struct OTclClass *,char *,int (__cdecl*)(void
*,struct Tcl_Interp *,int,char * * const),void *,void (__cdecl*)(void
*))" (?OTclAddIMethod@@YAXPAUOTclClass@@PAD
P6AHPAXPAUTcl_Interp@@HQAPAD@Z2P6AX2@Z@Z)
tclcl.lib(Tcl.o) : error LNK2001: unresolved external symbol "struct
OTclClass * __cdecl OTclGetClass(struct Tcl_Interp *,char *)"
(?OTclGetClass@@YAPAUOTclClass@@PAUTcl_Interp@@PAD@Z)
ns.exe : fatal error LNK1120: 6 unresolved externals
NMAKE : fatal error U1077: 'C:\MSDEV\BIN\link.exe' : return code '0x19'
Stop.
Error executing NMAKE.

NS.EXE - 8 error(s), 1 warning(s)