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

[ns] ns-2.1b5




When I run install result the above errors compiling Tcl.cc file under
tclcl-1.0b8 directory.

In my case     . /aplic/ns-2.1b5/ns-allinone-2.1b5/tclcl-1.0b8

I want to install  ns-2.1b5. Can you give an idea to install
successfully and by the way furfer posible obstacule in the Instalation
process?

Thanks.

Lemma.

Here is the errors.

        g++ -c -O2 -DNO_TK -DHAVE_STRTOLL -DHAVE_SNPRINTF  -DNDEBUG
-DIRIX6
-D_BSD_SIGNALS -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/aplic/ns-2.1b5/ns-allinone-2.1b5/tclcl-1.0b8/../tk8.0.4/generic
-I../tcl8.0.4/generic  -o Tcl.o Tcl.cc
In file included from tclcl.h:48,
                 from Tcl.cc:47:
tclcl-mappings.h:39: syntax error before `class'
tclcl-mappings.h:74: `TclObject' was not declared in this scope
tclcl-mappings.h:74: `value' was not declared in this scope
tclcl-mappings.h:74: data member `int TclArguments::arg' conflicts with
tclcl-mappings.h:69: function member `int TclArguments::arg(int &)'
Tcl.cc: In method `int TclArguments::arg(unsigned int &)':
Tcl.cc:1124: `TclArguments::arg' cannot be used as a function
Tcl.cc: In method `int TclArguments::arg(short unsigned int &)':
Tcl.cc:1134: `TclArguments::arg' cannot be used as a function
Tcl.cc: At top level:
Tcl.cc:1159: prototype for `int TclArguments::arg(class TclObject *&)'
does not
match any in class `TclArguments'
Tcl.cc:1105: candidates are: int TclArguments::arg(int &)
Tcl.cc:1122:                 int TclArguments::arg(unsigned int &)
Tcl.cc:1132:                 int TclArguments::arg(short unsigned int &)

Tcl.cc:1142:                 int TclArguments::arg(double &)
tclcl-mappings.h:73:                 int TclArguments::arg(const char
*&)
*** Error code 1 (bu21)