[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NS build problem
Hi,
I met the same tclcl problem when I try to build ns-2.1b2. I only see the
problem after our network system has been upgraded to gcc-2.8.x.(My system type
is sparc-sun-solaris2.6, and I am using Tclcl-1.0b5).
I try to follow your directions to update my system. First I downloaded the
tclcl daily snapshort and then replace ns with its current daily snapshot. After
that I did a 'make'. And it almost there...however finally it gave errors as the
following,
c++ -o ns \
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-flow.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 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 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 -R/jsft/tcl-debug-1.7 -L/jsft/tcl-debug-1.7
-ltcldbg -R/jsft/tclcl-1.0b5 -L/jsft/tclcl-1.0b5 -ltclcl -R/jsft/otcl-0.96
-L/jsft/otcl-0.96 -lotcl -R/usr/local/lib -L/usr/local/lib -ltk -R/usr/local/lib
-L/usr/local/lib -ltcl -lXext -lX11 -lsocket -lnsl -ldl -ldl -lm -ldl
Undefined first referenced
symbol in file
stop__16TrafficGenerator traffictrace.o
print_portaddr__7Addressi trace.o
__tf10TclCommand misc.o
send__11Applicationi traffictrace.o
print_nodeaddr__7Addressi trace.o
__ti16TrafficGenerator traffictrace.o
instance__7Address trace.o
on__16TrafficGenerator traffictrace.o
start__16TrafficGenerator traffictrace.o
interval__16TrafficGenerator traffictrace.o
resume__16TrafficGenerator traffictrace.o
command__11ApplicationiPCPCc traffictrace.o
__tf8TclClass rng.o
__tf16TrafficGenerator traffictrace.o
delay_bind_init_all__9TclObject rng.o
__11Application telnet.o
__ti8TclClass rng.o
recv__11Applicationi traffictrace.o
recv__16TrafficGenerator traffictrace.o
resume__11Application telnet.o
timeout__16TrafficGenerator traffictrace.o
__ti9TclObject rng.o
delay_bind_dispatch__9TclObjectPCcT1 rng.o
__ti11Application telnet.o
__tf11Application telnet.o
__ti10TclCommand misc.o
_._16TrafficGenerator traffictrace.o
_._11Application telnet.o
__tf9TclObject rng.o
__16TrafficGenerator traffictrace.o
ld: fatal: Symbol referencing errors. No output written to ns
*** Error code 1
make: Fatal error: Command failed for target `ns'
I can't find these symbols from any file and have no idea when they come from.
If you know what 's going on or anyone from the ns-mailing list have something
to suggest, pls let me know asap.
Tks.
shquian