HI today,I add a new routing protocol to ns2 2.27 and there are five files which I put them in a fold,there are :protoname.h ,protoname.cc,protoname_pky.h,protoname_rtable.h,and protoname_rtable.cc Then I do some modifications in packet.h, ns-packet.tcl,ns-lib.tcl and makefile,I am sure I strictly follow the direction that how to add a new protocol in ns2 ,however,the compiles display that autoconf.f:85:error:namespace 'CPP_NAMESPACE' undeclared,and the more information I put them in the error.doc . and there are the code in autoconf.h
/* stl */ 81 #ifdef __cplusplus 82 #define HAVE_STL 1 83 #define CPP_REQUIRES_NAMESPACE 1 84 #ifdef CPP_REQUIRES_NAMESPACE 85 using namespace CPP_NAMESPACE; 86 #endif /* CPP_NAMESPACE */ 87 #endif /* __cplusplus */ I do not revised any since I install the ns2 2.27,how this error happened ? Could any one tell me ? Thanks a lot Varrick
