Mohammad Haseeb Zafar schrieb: > Hi > I got following error while compiling ns2.1b8a. Please help. > Haseeb > > > c++ -c -DTCP_DELAY_BIND_ALL -DNO_TK -DNIXVECTOR -DTCLCL_CLASSINSTVAR > -DNDEBUG > -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A7 -DHAVE_OTCL_H > -DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DHAVE_CONFIG_H > -I. -I/bonhome/haseeb/work/ns-allinone-2.1b8a/tclcl-1.0b11 You should provide more information, especially the version of gcc/g++ you are using. NS2.1b8a is very old. So, you will need an old gcc / binutils to compile it.
Daniel.