Re: [ns] Compilation Error ns2.1b8a
http://mailman.isi.edu/pipermail/ns-users/2003-August/035002.html On 11/15/06, Mohammad Haseeb Zafar <[EMAIL PROTECTED]> wrote: > > Got answer from http://www.jlsnet.co.uk/index.php?tab=4&page=ns2_comperror > Cheers > Haseeb > > -Original Message- > From: [EMAIL PROTECTED] on behalf of Mohammad Haseeb Zafar > Sent: Wed 15/11/2006 11:06 AM > To: ns-users@ISI.EDU > Subject: [ns] Compilation Error ns2.1b8a > > > 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 > > > -- Renata Vidal "Triste é o destino de quem tenta vencer as batalhas e ter sucesso nos ataques sem cultivar o espírito da iniciativa (A Arte da Guerra – SUN TSU – pg 102)"
Re: [ns] Compilation Error ns2.1b8a
Got answer from http://www.jlsnet.co.uk/index.php?tab=4&page=ns2_comperror Cheers Haseeb -Original Message- From: [EMAIL PROTECTED] on behalf of Mohammad Haseeb Zafar Sent: Wed 15/11/2006 11:06 AM To: ns-users@ISI.EDU Subject: [ns] Compilation Error ns2.1b8a 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
Re: [ns] Compilation Error ns2.1b8a
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.
[ns] Compilation Error ns2.1b8a
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
[ns] Compilation Error ns2.1b8a
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