Hi all,

I found the below wesite solving the tclcl-mappings.h: 51: error by applyinng a 
patch but no matter what I do I am not succeeding in applying it. I thing I am 
doing it wrong as I never done it before. Can anybody who knows how to apply 
this patch guide me please???

Thanks a lot,

http://zzlinux.blogspot.com/2004/12/ns2-building-experiences.html

[apply the following patch] 

 #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 {





________________________________
De: salahedin rehan <s_l_...@yahoo.es>
Para: NS-users <ns-users@ISI.EDU>
Enviado: miƩ,30 marzo, 2011 20:05
Asunto: [ns] Allinone NS 2.1b5 installation error


Hi,

I am  trying to install Allinone-ns 2.1b5 but I keep gettin the next error:

tctcl-mappings.h : 51: error : incomplete type Tcl used in nested name spacifier
tctcl-mappings.h : 52: error : invalid use of incomplete type struct Tcl
tctcl-mappings.h : 40: error : forward declaration of struct Tcl
tctcl-mappings.h : 57: error : invalid use of incomplete type struct Tcl
tctcl-mappings.h : 40: error : forward declaration of struct Tcl

I found some posting regarding this error and said to apply a certain patch 
file 

but it didnt work.  Please guys I need to use this version, or please if 
anybody 

knows a version that could be installed without any problem that is almost the 
same as Allinone-ns 2.1b5 please let me know. I already have the 
Allinone=ns2.34 

but the software is not working on this version. When I tried to apply it on 
ns2.34 I was getting a lot of errors, so I need to install Allinone-ns 2.1b5.

Thank  you sooo much,

Reply via email to