[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NS installation problem
Try to compile without the -static flag .edit ns Makefile to remove value
of the macro STATIC. alternatively you may want to configure ns
explicitly turning static option off with --disable-static.
hope this helps.
Padma.
ps. you may want to take a look at the ns problems web page. we are in the
process of updating/adding to the problems list.
http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html
On Mon, 9 Feb 1998, Jie Lai wrote:
> Hi,
>
> I am getting there with my Ns installation with the help of many people.
> After otcl, tclcl, I run "make" for "ns-2.1b2". I got follows:
>
>
> 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/common/madras/ns/ns-2.1b2/../tcl-debug-1.7
> -L/common/madras/ns/ns-2.1b2/../tcl-debug-1.7 -ltcldbg -R../tclcl-1.0b5
> -L../tclcl-1.0b5 -ltclcl -R/usr/local/lib -L/usr/local/lib -lotcl
> -R/common/madras/ns/ns-2.1b2/../tk8.0/unix
> -L/common/madras/ns/ns-2.1b2/../tk8.0/unix -ltk8.0 -R../tcl8.0/unix
> -L../tcl8.0/unix -ltcl8.0 -lXext -lX11 -lsocket -lnsl -ldl -lm
> ld: fatal: library -ldl: not found
> ld: fatal: File processing errors. No output written to ns
> *** Error code 1
> make: Fatal error: Command failed for target `ns'
>
>
> There is no dynamic load library. Where does this "dl" come from ?
> Any comments ?
>
> Thanks.
>
> ====================================================================
> Jie Lai jlai@winlab.rutgers.edu
> WINLAB, Rutgers University Phone: 732-445-0626(O)
> 73 Brett Rd. Fax: 732-445-3693(O)
> Piscataway, NJ 08854-8060 Phone/Fax: 732-235-0833(H)
> ____________________________________________________________________
>
>
>
-----------------------------
Padmaparna Haldar
ISI/USC.
310.822.1511 #352