Hey, I had a similar problem few days back and I think its probably the same 
dependency problem. I think all you need to do is to install your all the 
components of  "Development " from your linux CD and make sure. I suggest you 
install all the Development Stuff: which are Development Tools, Kernel 
Development, X Software, GNOME Software Development and KDE Software. In simple 
words just insert the linux installation CD, choose to upgrade and install the 
ALL the stuff under Development. Make sure you install all the subcomponents( 
i.e. check all the boxes). Once linux is upgraded, I think it will install. It 
doesn't matter whether your using Red Hat or Fedora, the process applies to all.

NS uses a lot of development tools while compiling, thus the problem occur. 
Hope it works!

Good luck!

Maruf

________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Nicolas Boettcher [EMAIL 
PROTECTED]
Sent: Monday, February 04, 2008 1:36 PM
To: [email protected]
Subject: [ns]  error when compiling ns2 mustafa extension for 802.15.3

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