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

Re: Compilation error on the daily snapshot



>I got the following compilation error while compiling the daily
>snapshot:
>
>g++ -c  -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc
>-D__svr4__ -DUSE_SHM -DHAVE_LIBTCLDBG -DHAVE_LIBTCLCL1_0B8
>-DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0
>-DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I.  
>-I/usr/packages2/ns/tclcl-1.0b8/ -I/usr/packages2/ns/otcl-1.0a4/
>-I/usr/packages2/ns/tk8.0.4//generic
>-I/usr/packages2/ns/tcl8.0.4//generic -o trace.o trace.cc
>In file included from /usr/packages2/ns/tclcl-1.0b8/tclcl.h:47,
>                 from config.h:56,
>                 from packet.h:43,
>                 from trace.cc:39:
>/usr/packages2/ns/tclcl-1.0b8/tclcl-config.h:37: warning: `HAVE_INT64'
>redefined
>autoconf.h:46: warning: this is the location of the previous definition
>trace.cc: In method `void Trace::trace(class TracedVar *)':
>trace.cc:406: too many arguments for method `char *
>TracedVar::value(char *)'
>*** Error code 1
>make: Fatal error: Command failed for target `trace.o'

You have an old tclcl or at least tclcl.h.  (Maybe two in your include
path?)

The current ns shapshot requires the current tclcl snapshot.

   -John Heidemann