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

[ns] ns-2.1b8 installation



Hello 

 I'm trying to install ns-2.1b8 on:
 SunOS 5.8 Generic_108528-12 sun4u sparc SUNW,Sun-Blade-100
 and I can not "make" it. It ggives the error:
 Undefined                       first referenced
 symbol                             in file
RouteLogic::elements_in_level(int*, int)simulator.o
ld: fatal: Symbol referencing errors. No output written to ns
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ns'
I have installed:
gcc-3.0.1
otcl-1.0a7
tcl8.3.2
tk8.3.2
tclcl-1.0b11
I have the following environment:
OWBIN=/usr/openwin/bin
OWINC=/usr/openwin/include
OWLIB=/usr/openwin/lib
OWMAN=/usr/openwin/man
TCL_INCLUDE=/usr/local/include
TCL_LIBRARY=/usr/local/lib
TK_INCLUDE=/usr/local/include
TK_LIBRARY=/usr/local/lib

The command that fails is:
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-bst.o classifier-mpath.o 
replicator.o  classifier-mac.o classifier-port.o src_rtg/classifier-sr.o  
src_rtg/sragent.o src_rtg/hdr_src.o ump.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  baytcp/tcp-full-bay.o 
baytcp/ftpc.o baytcp/ftps.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 fec.o delay.o snoop.o  gaf/gaf.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  webcache/mcache.o 
webcache/webtraf.o  realaudio/realaudio.o  lanRouter.o filter.o pkt-counter.o  
Decapsulator.o Encapsulator.o encap.o  channel.o mac.o ll.o mac-802_11.o 
mac-802_3.o mac-tdma.o  mip.o mip-reg.o gridkeeper.o  propagation.o 
tworayground.o antenna.o omni-antenna.o  shadowing.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 rtqueue.o rttable.o  imep/imep.o imep/dest_queue.o imep/imep_api.o 
 imep/imep_rt.o imep/rxmit_queue.o imep/imep_timers.o  imep/imep_util.o 
imep/imep_io.o  tora/tora.o tora/tora_api.o tora/tora_dest.o tora/tora_io.o  
tora/tora_logs.o tora/tora_neighbor.o  dsr/dsragent.o dsr/hdr_sr.o 
dsr/mobicache.o dsr/path.o  dsr/requesttable.o dsr/routecache.o  
aodv/aodv_logs.o aodv/aodv.o  ns-process.o  satgeometry.o sathandoff.o satlink.o 
satnode.o  satposition.o satroute.o sattrace.o  rap/raplist.o rap/rap.o 
rap/media-app.o rap/utilities.o  fsm.o tcp-abs.o  diffusion/diffusion.o 
diffusion/diff_rate.o diffusion/diff_prob.o  diffusion/diff_sink.o 
diffusion/flooding.o diffusion/omni_mcast.o  diffusion/hash_table.o 
diffusion/routing_table.o diffusion/iflist.o  tfrc.o tfrc-sink.o energy-model.o 
ping.o tcp-rfc793edu.o  rio.o semantic-rio.o tcp-sack-rh.o scoreboard-rh.o  
plm/loss-monitor-plm.o plm/cbr-traffic-PP.o  linkstate/hdr-ls.o  
mpls/classifier-addr-mpls.o mpls/ldp.o mpls/mpls-module.o  rtmodule.o 
classifier-hier.o addr-params.o  nix/hdr_nv.o nix/classifier-nix.o  
nix/nixnode.o  routealgo/rnode.o  routealgo/bfs.o  routealgo/rbitmap.o  
routealgo/rlookup.o  routealgo/routealgo.o  nix/nixvec.o  nix/nixroute.o  
diffserv/dsred.o diffserv/dsEdge.o diffserv/dsCore.o diffserv/dsPolicy.o 
diffserv/dsredq.o  red-pd.o  pushback/rate-limit.o 
pushback/rate-limit-strategy.o  pushback/ident-tree.o pushback/agg-spec.o  
pushback/logging-data-struct.o pushback/rate-estimator.o  
pushback/pushback-queue.o pushback/pushback.o  parentnode.o  basetrace.o  
simulator.o gen/version.o gen/ns_tcl.o gen/ptypes.o  win32.o 
-R/lucru/tclcl-1.0b11/ -L/lucru/tclcl-1.0b11 -ltclcl -R/usr/local/lib 
-L/usr/local/lib -lotcl -R/usr/local/lib -L/usr/local/lib -ltk8.3 
-R/usr/local/lib -L/usr/local/lib -ltcl8.3  -lXext -lX11  -lsocket -lnet -lnsl 
-lintl -ldl -ldl  -lm -ldl
        
 Any suggestions, somebody?
 
 Thank you,
 Sorin