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

Re: Strange behaviour in Linux



On Tue, 04 Aug 1998 11:02:36 +0200, Ingela Anderton wrote: 
>John Heidemann wrote:
>
>>[...]
>> It sounds like you've done the right things (which is very helpful to
>> know), but mailing list readers can give you better help if you
>> describe your actual problem as more than "a problem compiling".
>Sorry, I thought it was clear that I still get the following error message:
>
>> make 
>[...]
>c++ -c -g -DNO_TK -DTCLCL_CLASSINSTVAR  -fsigned-char -fno-inline -DUSE_SHM -DHAVE_LIBTCLDBG -DHAVE_DBG_H -DHAVE_LIBTCLCL1_0B5 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A2 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -I. -I/usr/local/include -I../tclcl-1.0b6
>/ -I../otcl-1.0a3/ -I/usr/include -I/usr/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
>>
>
>
>I tried Samir suggestion: 
>
>You must modify the Makefile  in the ns-2 directroy  
>by changing that line 
>INCLUDES = \
>	-I.  \
>	-I/usr/local/include -I../TclCL -I../otcl -I../tkbox/include
>-I../tclbox/include 
>to this 
>INCLUDES = -I../tcl8.0/generic\
>	-I.  \
>	-I/usr/local/include -I../TclCL -I../otcl -I../tkbox/include
>-I../tclbox/include 
>...

You are getting an old version of tclcl.h
(where DELAY_BIND_DISPATCH and delay_bind_init_one are declared).
Just like you carefully removed old versions of the library (.so and
.a) please check for old versions of the header.

   -John Heidemann