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

Re: Installation Error



On Mon, 8 Jun 1998, Amit Garg wrote:

> Hi,
> 
> I was tring to install ns v2.1b2 on my Linux system and was getting the
> following error:
> ----------------------------------------------------------------------------
> ---
> 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 ge
> n/ns_tcl.o  win32.o -L../tclcl -ltclcl -L../otcl -lotcl
> -L/home/amit/ns/ns-2.1b2
> /../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+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'
link libdl.a too..

so add  -ldl to the flags

> make: *** [ns] Error 1