Hi! I've got the same problem in ns2.26. Apply this patch:
--- tclcl.h~ 2003-07-29 11:24:50.000000000 -0700 +++ tclcl.h 2004-12-10 08:55:34.692584936 -0800 @@ -45,8 +45,8 @@ } #include "tclcl-config.h" -#include "tclcl-mappings.h" #include "tracedvar.h" +// tclcl-mappings.h included below, AFTER definition of class Tcl struct Tk_Window_; @@ -158,6 +158,8 @@ Tcl_HashTable objs_; }; +#include "tclcl-mappings.h" + class InstVar; class TclObject { ps: to apply the patch enter in the tclcl directory and execute: patch -b < name_of_patch_file.patch Regards, Rafael 2006/1/19, nauman aslam <[EMAIL PROTECTED]>: > > > Hi All, > > I am sure someone knows the answer to this, > > I want to install NS2.27 on Fedora core 4 but getting the error message as > below, > > In file included from tclcl.h:48, > from Tcl.cc:47: > tclcl-mappings.h: In static member function `static int > TclObjectHelper<T>::disp > atch_(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.15 make failed! Exiting ... > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > > The NS-2.29 version installs fine, so can some one please guide me how to > rectify this problem. > > Thanks, > > NAUMAN >