[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ns-2 and nam installation on Red Hat 5.1 Linux
I've been working all day getting ns working for RH5.1 and adding -ldl to
the LIBS line in the makefile for nam after manually running
./nam-1/configure fixed this problem for me. Note that this gets "undone"
if you run ./install, so you'll need to run make manually too.
-Jisup
> 3) "nam" did not pretend to have been "installed successfully!": it said it
> refused to "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 lan.o gen/version.o gen/nam_tcl.o -L../tcl-debug-1.7 -ltcldbg -L../TclCL -
> ltclcl -L../otcl -lotcl -L/usr/local/NS/ns-allinone/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+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
>