[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem met when building ns
Hi, all:
I met the following errors when I tried to build another version of ns in
sun solaris2.5.1:
(1.when I tried to make after successful configuration of tclcl1.0b5 with
the workable path of tcl and tk and otcl )
ranlib libtclcl.a
test -e libTcl.a && rm -f libTcl.a || true
/bin/sh: test: argument expected
make: [libtclcl.a] Error 1 (ignored)
ln -s libtclcl.a libTcl.a
(Type make install, I got the following error, so the problem is libtclcl.a)
cp libtclcl.a /home/users/softrel9/simulator/lib/libtclcl.a
cp: cannot create /home/users/softrel9/simulator/lib/libtclcl.a: No such
file or directory
make: *** [install] Error 2
===================================
(2. Since tclcl1.0b5 is not working, so I linked the ns-2.1b2 with the right
and workable paths of tcl/tk/otcl/tclcl I used before and got successful
configuration. But when I typed make, I got the following error message:)
c++ -static -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/home/users/softrel9/tools/tclcl-1.0b7-current
-L/home/users/softrel9/tools/tclcl-1.0b7-current -ltclcl
-R/home/users/softrel9/tools/otcl-1.0a3
-L/home/users/softrel9/tools/otcl-1.0a3 -lotcl
-R/home/users/softrel9/tools/tk8.0/unix
-L/home/users/softrel9/tools/tk8.0/unix -ltk8.0
-R/home/users/softrel9/tools/tcl8.0/unix
-L/home/users/softrel9/tools/tcl8.0/unix -ltcl8.0 -lXext -lX11 -lsocket
-lnsl -ldl -ldl -lm -ldl
ld: fatal: library -ldl: not found
ld: fatal: library -ldl: not found
ld: fatal: library -ldl: not found
ld: fatal: File processing errors. No output written to ns
make: *** [ns] Error 1
=============================================
Could someone help me out? Thanks in advance.
Cheers,
Sarah
----------------------------------------------------------------------------
--------------------------------
Sarah Xiaohui Liu, 613-765-3203 o__ o~__
Email: [email protected] _,>/_ _,>/_
[email protected] (*) (*) (*) (*)
Mail Stop: 0C32, Nortel Networks Corp.
----------------------------------------------------------------------------
--------------------------------