hello i got one code on cbrp which was tested on ns-2.1b5. i made changes on my previously installed ns-2.28 under fedora 4 using the changes and readme files given in cbrp folder. then again tried to install it. but i couldn't install it as the following error has encountered "ns make failed".
No rule to make target 'inet.c', needed by 'inet.o'. Stop Ns make failed. then i tried to install ns-2.1b5 under fedora 4 . but during its installtion the following error has encountered: creating Makefile creating ./bin gcc -c -O2 -DNO_TK -DHAVE_STRTOLL -DHAVE_STRTOQ -DHAVE_SNPRINTF -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -DNO_TK -DHAVE_STRTOLL -DHAVE_STRTOQ -DHAVE_SNPRINTF -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -I. -I../otcl-1.0a4 -I../tkbox/include -I../tclbox/include -o tcl2c++.o tcl2c++.c tcl2c++.c: In function main: tcl2c++.c:193: warning: incompatible implicit declaration of built-in function exit tcl2c++.c:213: warning: incompatible implicit declaration of built-in function exit rm -f tcl2c++ c++ -o tcl2c++ tcl2c++.o c++ -c -O2 -DNO_TK -DHAVE_STRTOLL -DHAVE_STRTOQ -DHAVE_SNPRINTF -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -I. -I../otcl-1.0a4 -I../tkbox/include -I../tclbox/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.0b8 make failed! Exiting ... [EMAIL PROTECTED] ns-allinone-2.1b5]# i hav already patched the patch file for ns-2.1b5 in ns-allinone-2.1b5. plz help me, how should i fix it? i have installed ns-2.28. is it necessary to install ns-2.1b5 for the code of cbrp which was tested under ns-2.1b5? thanks in advance. parul