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

Re: ns-allinone-2.1b5 installation problem (fwd)



Please check if you have a libtcldbg.a in /usr/local/lib. Because
configure detects tcl-debug package by Dbg.h, if you have some other Dbg.h
in one of the default include/ places, it may mistake that for tcl-debug
and include that in the build. 

If this is indeed the cause, first do a 'make clean' under your ns-2
directory, then recofigure with 'configure --with-tcldebug=<path to your
tcl-debug package>', then make. Hope this helps.

- Haobo

>  Hi,
> 
>  I am having problems with installation of ns-allinone-2.1b5 (SunOS 5.5.1,
> sparc). How can I resolve this trouble?
> 
>  Thank you,
> 
>  Sergey
> --------------------------------------------------------------------------
> 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-hash.o
> classifier-virtual.o classifier-mcast.o classifier-mpath.o replicator.o
> classifier-mac.o app.o telnet.o tcplib-telnet.o trafgen.o traffictrace.o
> pareto.o expoo.o cbr_traffic.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 param-adc.o null-estimator.o
> adaptive-receiver.o vatrcvr.o consrcvr.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 snoop.o dynalink.o rtProtoDV.o
> net-interface.o ctrMcast.o mcast_ctrl.o srm.o sessionhelper.o delaymodel.o
> srm-ssm.o srm-topo.o mftp.o mftp_snd.o mftp_rcv.o codeword.o
> alloc-address.o address.o lib/int.Vec.o lib/int.RVec.o
> lib/dmalloc_support.o webcache/http.o webcache/tcp-simple.o
> webcache/pagepool.o webcache/inval-agent.o webcache/tcpapp.o
> webcache/http-aux.o lanRouter.o tfcc.o filter.o pkt-counter.o
> Decapsulator.o Encapsulator.o channel.o mac.o ll.o mac-802_11.o
> mac-802_3.o mip.o mip-reg.o propagation.o tworayground.o antenna.o
> omni-antenna.o bi-connector.o node.o mobilenode.o arp.o god.o dem.o
> topography.o modulation.o priqueue.o phy.o wired-phy.o wireless-phy.o
> mac-timers.o cmu-trace.o varp.o dsdv/dsdv.o dsdv/rtable.o dsr/dsragent.o
> dsr/hdr_sr.o dsr/mobicache.o dsr/path.o dsr/requesttable.o
> dsr/routecache.o ns-process.o  gen/version.o gen/ns_tcl.o gen/ptypes.o
> win32.o -R/usr/local/lib -L/usr/local/lib -ltcldbg -R../tclcl-1.0b8
> -L../tclcl-1.0b8 -ltclcl -R../otcl-1.0a4 -L../otcl-1.0a4 -lotcl
> -R../tkbox/lib -L../tkbox/lib -ltk8.0 -R../tclbox/lib -L../tclbox/lib
> -ltcl8.0 -R/usr/openwin/lib -L/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
> -lintl -ldl -ldl -lm -ldl 
> Undefined                       first referenced
>  symbol                             in file
> Tcldbg_Init                         tclAppInit.o
> ld: fatal: Symbol referencing errors. No output written to ns
> collect2: ld returned 1 exit status
> make: *** [ns] Error 1
> Ns make failed! Exiting ...
> 
> 
> 
> 
>