Hi ns users
I donwnloaded the ns2 extension for MAC 802.15.3 (Mustafa) from this
website: http://inrg.csie.ntu.edu.tw/802153_extension/ns2extension.html
When I try to compile, I get the following error:

configure: creating ./config.status
config.status: creating Makefile
g++ -c  -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  -DSTDC_HEADERS=1
-DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1
-DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_3=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_3=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A8=1  -I.
-I/home/dragonx/programas/mustafa/otcl-1.0a8-I/home/dragonx/programas/mustafa/include
-I/home/dragonx/programas/mustafa/include -o Tcl.o Tcl.cc
tclcl-mappings.h: In static member function 'static int
TclObjectHelper<T>::dispatch_(void*, Tcl_Interp*, int, char**)':
tclcl-mappings.h:51: error: incomplete type 'Tcl' used in nested name
specifier
tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
make: *** [Tcl.o] Error 1
tclcl-1.0b12 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

Can someone help me?

Reply via email to