[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NS - makefile
Hi
you are configuring with "static" variable. Delete the variable STATIC = static
in the Makefile or take care of that during configuration.
kedar
ps: Since this seems to be a common problem it might be a good idea to
put it somewhere in the documentation.
> I have configured ns2 using ./configure & created the makefile.
> However, the makefile contains a library "dl" .The sun-sparc system on
> which i have loaded it does not seem to have it. Please look at the
> following error i received on running make for ns2 & i will be thankful
> for any suggestions in correcting the same.
> Thank's
> Ranganath
>
>
>
> make
> 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/usr/pkg/ns2/tclcl-1.0b5 -L/usr/pkg/ns2/tclcl-1.0b5 -ltclcl
> -R../otcl-1.0a2 -L../otcl-1.0a2 -lotcl
> -R/usr/pkg/ns2/ns-2.1b2/../tk8.0/unix
> -L/usr/pkg/ns2/ns-2.1b2/../tk8.0/unix -ltk8.0 -R../tcl8.0/unix
> -L../tcl8.0/unix -ltcl8.0 -L /usr/pkg/ns2/Xext
> -L/usr/pkg/ns2/tk8.0/xlib/X11 -ldl -lsocket -lnsl -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'
> #
>
>