[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Could someone please help me



Hi, 
  I'm a student from the University of Tokyo and I wish to use ns to
simulate my research. I succeeded to install the previous version,
ns-2.0a16 but when I tried to install the new version, ns-2.0b17, I
failed. It seems that the trace file has changed and the declaration
of "TracedVar" cannot be found. The make result is like below(some has 
been omitted):

c++ -o connector.o -c -I../Tcl-1.0a6   -I/home/balim/src/ns-2.0b17/../otcl-0.96 -I/home/balim/src/ns-2.0b17/../tk4.2/generic -I/home/balim/src/ns-2.0b17/../tcl7.6/generic   -I. -DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK -Dabort=_ABORT -O2 connector.cc
c++ -o ttl.o -c -I../Tcl-1.0a6   -I/home/balim/src/ns-2.0b17/../otcl-0.96 -I/home/balim/src/ns-2.0b17/../tk4.2/generic -I/home/balim/src/ns-2.0b17/../tcl7.6/generic   -I. -DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK -Dabort=_ABORT -O2 ttl.cc
c++ -o trace.o -c -I../Tcl-1.0a6   -I/home/balim/src/ns-2.0b17/../otcl-0.96 -I/home/balim/src/ns-2.0b17/../tk4.2/generic -I/home/balim/src/ns-2.0b17/../tcl7.6/generic   -I. -DNEED_SUNOS_PROTOS -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK4_2 -DHAVE_TK_H -DHAVE_LIBTCL7_6 -DHAVE_TCL_H  -DNO_TK -Dabort=_ABORT -O2 trace.cc
In file included from trace.cc:43:
tcp.h:157: `TracedVar' was not declared in this scope
tcp.h:157: `v' was not declared in this scope
tcp.h:157: variable or field `trace' declared void
tcp.h:164: `TracedVar' was not declared in this scope
tcp.h:164: `v' was not declared in this scope
tcp.h:164: variable or field `traceVar' declared void
tcp.h:171: syntax error before `;'
tcp.h:172: syntax error before `;'
tcp.h:173: syntax error before `;'
tcp.h:174: syntax error before `;'
tcp.h:175: syntax error before `;'
tcp.h:219: syntax error before `;'
tcp.h:223: syntax error before `;'
tcp.h:229: syntax error before `;'
tcp.h:232: syntax error before `;'
tcp.h:237: syntax error before `;'
*** Error code 1
make: Fatal error: Command failed for target `trace.o'

Can someone please tell me how to cope with the problem? Thanks in
advance for your great help.

Boon Aik