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

Help



I was having problems installing the NS2 package release 2.1b4.
Everything installs fine except for the
NAM. I get the following error:

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../tkbox/lib
-ltk8.0 -L../tclbox/lib -ltcl8.0 -lXext -lX11 -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+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'
make: *** [nam] Error 1
Nam make failed! Continue ...
Please compile your nam separately.


I have tried to compile it separately still the same message occurs. I
tried different versions of tclcl
library, but still the same message occurs

In addition the following message occurs:

geog.c:208: `namestr' undeclared (first use this function)
geog.c:213: invalid lvalue in assignment
geog.c:214: invalid operands to binary /
geog.c:214: invalid operands to binary %
geog.c:215: invalid operands to binary /
geog.c:215: invalid operands to binary %
geog.c:220: `up' undeclared (first use this function)
geog.c:221: `j' undeclared (first use this function)
make: *** [geog.o] Error 1



Please advise.
Thanks,

-Sanjay k. Agrawal, Cisco Systems
begin:vcard 
n:Agrawal;Sanjay 
tel;work:(408) 525-0938
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[email protected]
end:vcard