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

Re: nam installation problem



try add -ldl, if you are building static, add -Xlinkder -Bdynamic -ldl
at the _end_ of the line. 

On Fri, 17 Dec 1999, Makarand Kulkarni (98307005)  wrote:

> 
> 
> Hi,
> 	I get following message while installing 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 netgraph.o tracehook.o lan.o psview.o 
> group.o editview.o tag.o address.o animator.o wnetmodel.o gen/version.o 
> gen/nam_tcl.o  -L../tclcl -ltclcl -L../otcl -lotcl -L../tkbox/lib -ltk8.0 
> -L../tclbox/lib -ltcl8.0 -L/usr/X11R6/lib -lXext -lX11 -lnsl -lm 
> ../tclbox/lib/libtcl8.0.a(tclLoadDl.o): In function `TclLoadFile':
> tclLoadDl.o(.text+0x19): undefined reference to `dlopen'
> tclLoadDl.o(.text+0x29): undefined reference to `dlerror'
> tclLoadDl.o(.text+0x4f): undefined reference to `dlsym'
> tclLoadDl.o(.text+0x89): undefined reference to `dlsym'
> tclLoadDl.o(.text+0xa3): undefined reference to `dlsym'
> tclLoadDl.o(.text+0xdf): undefined reference to `dlsym'
> collect2: ld returned 1 exit status
> make: *** [nam] Error 1
> 
>         Is there anything with the lib file ? ? 
> 
> Can anyone please help. Thanx in advance.
> 
> --Makarand
> 
> -------------------------------------------------------------------------------
> Makarand G Kulkarni                  | Ph.No. (+91-22)-578-1017Ext.5601,7414
> Department of Electrical Engineering |                               8498 
> IIT - Bombay                         | URL : http://wowsites2.com/makarand
> Powai, Bombay 400 076, India         | Email: [email protected] 
> -------------------------------------------------------------------------------
> SPANN LAB: Direct Line: (+91-22)-579-0651
> -------------------------------------------------------------------------------
> 
>