[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error in making nam
On Fri, 15 Jan 1999 22:21:33 +0800, Huang Hai wrote:
>Hi, I am a new user of ns. I encounter a problem while making nam, the
>error report is as follows:
>===================================
>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 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/home/huangh/ns/nam-1/../tk8.0/unix -ltk8.0
>-L../tcl8.0/unix -ltcl8.0 -L/usr/X11R6/lib -lXext -lX11 -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+0x53): undefined reference to `dlsym'
>tclLoadDl.o(.text+0x8e): undefined reference to `dlsym'
>tclLoadDl.o(.text+0xa9): undefined reference to `dlsym'
>tclLoadDl.o(.text+0xe7): undefined reference to `dlsym'
>collect2: ld returned 1 exit status
>make: *** [nam] Error 1
>=====================================
>It seems that one lib of TCL is not good, but I am not sure. I use
>Tcl8.0 enclosed in ns-allinone2.1b4a.tar.gz
>If you can help me, please send email to me at [email protected].
>Thanks in advance
This problem is covered in the ns and nam FAQs.
-John Heidemann