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

unresolved external symbol



Hi! while compiling ns-2.1b3 (code supporting node movement) for WIN95, i get the following link errors.  can somw one please help.

thanks 
Sid

link -LIBPATH:c:\progra~1\devstudio\vc\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  packet.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 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 tcp-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 cbq.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-interface.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 gen\\version.o gen\\ns_tcl.o  win32.o ..\tclcl\tclcl.lib -LIBPATH:..\otcl otcl.lib  -LIBPATH:..\tk8.0\win tk80.lib -LIBPATH:..\tcl8.0\win 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
trace.o : error LNK2001: unresolved external symbol "public: char * __thiscall Address::print_portaddr(int)" (?print_portaddr@Address@@QAEPADH@Z)
trace.o : error LNK2001: unresolved external symbol "public: char * __thiscall Address::print_nodeaddr(int)" (?print_nodeaddr@Address@@QAEPADH@Z)
trace.o : error LNK2001: unresolved external symbol "protected: static class Address *  Address::instance_" (?instance_@Address@@1PAV1@A)
agent.o : error LNK2001: unresolved external symbol "protected: static class Address *  Address::instance_" (?instance_@Address@@1PAV1@A)
traffictrace.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall TrafficGenerator::timeout(void)" (?timeout@TrafficGenerator@@UAEXXZ)
pareto.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall TrafficGenerator::timeout(void)" (?timeout@TrafficGenerator@@UAEXXZ)
expoo.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall TrafficGenerator::timeout(void)" (?timeout@TrafficGenerator@@UAEXXZ)
traffictrace.o : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TrafficGenerator::stop(void)" (?stop@TrafficGenerator@@MAEXXZ)
pareto.o : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TrafficGenerator::stop(void)" (?stop@TrafficGenerator@@MAEXXZ)
expoo.o : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TrafficGenerator::stop(void)" (?stop@TrafficGenerator@@MAEXXZ)
traffictrace.o : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TrafficGenerator::start(void)" (?start@TrafficGenerator@@MAEXXZ)
pareto.o : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TrafficGenerator::start(void)" (?start@TrafficGenerator@@MAEXXZ)
expoo.o : error LNK2001: unresolved external symbol "protected: virtual void __thiscall TrafficGenerator::start(void)" (?start@TrafficGenerator@@MAEXXZ)
traffictrace.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::recv(int)" (?recv@Application@@UAEXH@Z)
pareto.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::recv(int)" (?recv@Application@@UAEXH@Z)
expoo.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::recv(int)" (?recv@Application@@UAEXH@Z)
telnet.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::recv(int)" (?recv@Application@@UAEXH@Z)
traffictrace.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::send(int)" (?send@Application@@UAEXH@Z)
pareto.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::send(int)" (?send@Application@@UAEXH@Z)
expoo.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::send(int)" (?send@Application@@UAEXH@Z)
telnet.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::send(int)" (?send@Application@@UAEXH@Z)
traffictrace.o : error LNK2001: unresolved external symbol "public: __thiscall TrafficGenerator::TrafficGenerator(void)" (??0TrafficGenerator@@QAE@XZ)
pareto.o : error LNK2001: unresolved external symbol "public: __thiscall TrafficGenerator::TrafficGenerator(void)" (??0TrafficGenerator@@QAE@XZ)
expoo.o : error LNK2001: unresolved external symbol "public: __thiscall TrafficGenerator::TrafficGenerator(void)" (??0TrafficGenerator@@QAE@XZ)
traffictrace.o : error LNK2001: unresolved external symbol "protected: virtual int __thiscall Application::command(int,char const * const *)" (?command@Application@@MAEHHPBQBD@Z)
pareto.o : error LNK2001: unresolved external symbol "protected: virtual int __thiscall Application::command(int,char const * const *)" (?command@Application@@MAEHHPBQBD@Z)
expoo.o : error LNK2001: unresolved external symbol "protected: virtual int __thiscall Application::command(int,char const * const *)" (?command@Application@@MAEHHPBQBD@Z)
telnet.o : error LNK2001: unresolved external symbol "protected: virtual int __thiscall Application::command(int,char const * const *)" (?command@Application@@MAEHHPBQBD@Z)
telnet.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Application::resume(void)" (?resume@Application@@UAEXXZ)
telnet.o : error LNK2001: unresolved external symbol "public: __thiscall Application::Application(void)" (??0Application@@QAE@XZ)
win32.o : error LNK2001: unresolved external symbol _TkConsoleInit
win32.o : error LNK2001: unresolved external symbol _TkConsoleCreate
ns.exe : fatal error LNK1120: 14 unresolved externals