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

Re: ns problems



Perhaps you should update your tclcl to the current snapshot as well? 

- Haobo

On Wed, 24 Nov 1999, Jong-seon Kim wrote:

> Hi,
> 
> I got two problems in ns2.
> One is related to intallation for daily snapshot of ns-2.
> After successfully installing 2.1b5 using allinone package,
> when I was trying to compile daily snapshot of ns-2 I got
> these error messages. There was no problem in configuration.
> 
> -----
> g++ -c  -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc
> -D__svr4__ -DUS
> E_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4
> -DHAVE_OTCL_H -DHA
> VE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -DHAVE_CONFIG_H -I.
> -I.
> ./tclcl-1.0b8 -I../otcl-1.0a4
> -I/home/rcf-00/jkim/ns2/ns-2.1b6/../tk8.0.4/generi
> c -I../tcl8.0.4/generic -o trace.o trace.cc
> In file included from ../tclcl-1.0b8/tclcl.h:47,
>                  from config.h:56,
>                  from packet.h:43,
>                  from trace.cc:39:
> ../tclcl-1.0b8/tclcl-config.h:37: warning: `HAVE_INT64' redefined
> autoconf.h:46: warning: this is the location of the previous definition
> In file included from trace.cc:40:
> ip.h:47: warning: `IP_BROADCAST' redefined
> /usr/include/netinet/in.h:275: warning: this is the location of the
> previous def
> inition
> trace.cc: In method `void Trace::trace(class TracedVar *)':
> trace.cc:406: no matching function for call to `TracedVar::value
> (char[256], int
> )'
> ../tclcl-1.0b8/tracedvar.h:45: candidates are: TracedVar::value(char *)
> *** Error code 1
> make: Fatal error: Command failed for target `trace.o'
> 
> ----------
> 
> Second is related to the example tcl code.
> In Marc Greis's tutorial, I downloaded the simple-wireless.tcl file.
> When I exucute this using ns ver2.1b5 which is successfully installed
> I got the following things:
> 
> -------------
> 
> almaak.usc.edu(171): ns simple-wireless.tcl
> invalid command name "create-god"
>     while executing
> "create-god $val(nn)"
>     (file "simple-wireless.tcl" line 69)
> 
> -------------------
> 
> Please let me know what is the reason and how to solve it.
> 
> Thanks,
> 
> Jong-Seon
> 
>