[ns] Compilation Error ns2.1b8a

Mohammad Haseeb Zafar haseeb at eee.strath.ac.uk
Wed Nov 15 03:06:46 PST 2006


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 -I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 -I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o route.o route.cc
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 -I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 -I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o connector.o connector.cc
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 -I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 -I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o ttl.o ttl.cc
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 -I/bonhome/haseeb/work/ns-allinone-2.1b8a/otcl-1.0a7 -I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -I/bonhome/haseeb/work/ns-allinone-2.1b8a/include -o trace.o trace.cc
In file included from trace.cc:44:
tfrc.h:116: friend declaration requires class-key, i.e. `friend class
   TfrcSendTimer'
tfrc.h:117: friend declaration requires class-key, i.e. `friend class
   TfrcNoFeedbackTimer'
make: *** [trace.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


More information about the Ns-users mailing list