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

Re: [ns] Installation problems in nam, ns-allinone-2.1b4a



Is there any particular reason not to use 2.1b7. it has the cmu code
integrated already. 

debo

On Tue, 7 Nov 2000, Nitin Nagar wrote:

> Hi 
> 
> My name is Nitin Nagar, and I am trying to install CMU Package with
> ns-allinone-2,1b4a, on a Linux Machine. I get the following error while
> running make file:
> 
> mcbain:5 nam-1> make
> rm -f nam
> c++   -o nam \
>         tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o packet.o
> node.
> o main.o trace.o queue.o drop.o animation.o agent.o feature.o route.o
> transform.
> o paint.o state.o monitor.o anetmodel.o random.o rng.o view.o graphview.o
> netgra
> ph.o tracehook.o lan.o psview.o group.o editview.o tag.o address.o
> animator.o wn
> etmodel.o gen/version.o gen/nam_tcl.o  -L../tclcl -ltclcl -L../otcl -lotcl
> -L/gr
> ads/nagar/.mosaic/NET/ns-allinone-2.1b4a/nam-1/../tk8.0/unix -ltk8.0
> -L../tcl8.0
> /unix -ltcl8.0 -L/usr/X11R6/lib -lXext -lX11 -lnsl -lm
> ../tcl8.0/unix/libtcl8.0.a(tclLoadDl.o): In function `TclLoadFile':
> tclLoadDl.o(.text+0x1c): undefined reference to `dlopen'
> tclLoadDl.o(.text+0x2f): undefined reference to `dlerror'
> tclLoadDl.o(.text+0x58): undefined reference to `dlsym'
> tclLoadDl.o(.text+0xa2): undefined reference to `dlsym'
> tclLoadDl.o(.text+0xc3): undefined reference to `dlsym'
> tclLoadDl.o(.text+0x110): undefined reference to `dlsym'
> collect2: ld returned 1 exit status
> make: *** [nam] Error 1                           
> 
> I was going through the ns-users mailing lists yesterday and found out
> that i have to do something in Makefile.conf by making it run with an -ldl
> option. But i am not able to find that particular file anywhere.
> 
> Could any one please have a look at this problem and inform me what they
> have done to get rid of this bug?
> 
> I will appreciate any helpful input from your side
> thanks
> nitin
> 
> ------------------------------------------------------------------------------
> Nitin Nagar                            
> Graduate Teaching Assistant                   (R) (775) 348-7176
> Dept. of Computer Science                     [email protected]
> University of Nevada,Reno
> http://www.cs.unr.edu/~nagar
> Reno NV-89557
> 
> Address:46 West 10th Street Reno NV-89503     
>                                                           
> ------------------------------------------------------------------------------ 
> 
>