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

Re: ns-2.1b3 compilation



On Mon, 20 Jul 1998 09:25:31 +0800, Brad Williamson wrote: 
>Dear All,
>
>  I am compiling ns-2.1b3, using gcc 2.8.1, on a SUN workstation running
>solaris 2.1. The following error has appeared:
>
>c++ -c -g -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -mv8 -msupersparc
>-D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B6 -DHAVE_TCLCL_H
>-DHAVE_LIBOTCL1_0A2 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
>-DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -I. -I/usr/openwin/include
>-I/home/uc1/brad/data/include -I/home/uc1/brad/data/include
>-I/home/uc1/brad/data/include -I/home/uc1/brad/data/include  -o object.o
>object.cc
>object.cc: In method `void NsObject::delay_bind_init_all()':
>object.cc:60: warning: implicit declaration of function `int
>delay_bind_init_one(...)'
>object.cc: In method `int NsObject::delay_bind_dispatch(const char *,
>const char *)':
>object.cc:67: warning: implicit declaration of function `int
>DELAY_BIND_DISPATCH(...)'
>object.cc:67: `delay_bind' undeclared (first use this function)
>object.cc:67: (Each undeclared identifier is reported only once
>object.cc:67: for each function it appears in.)
>object.cc:69: no method `TclObject::delay_bind_dispatch'
>make: *** [object.o] Error 1

This error suggests you upgraded ns without upgrading tclcl.
The recent ns release *requires* the current releases of otcl and
tclcl.  (The good news is that as a result, large simulations save a
lot of memory...)

   -John Heidemann