[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange behaviour in Linux
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
however I don't have any directorys anywhere called tkbox and tclbox
is this something new?
This raw looks like this in my Makefile:
INCLUDES = \
-I. \
-I/usr/local/include -I../tclcl-1.0b6/ -I../otcl-1.0a3/ \
-I/usr/include -I/usr/include
Generated the following way:
> ./configure --with-otcl=../otcl-1.0a3/ --with-tclcl=../tclcl-1.0b6/ \
--enable-debug
I tried adding just -I/usr/src/tcl8.0/generic\ as this is where my
tcl is located. This don't seem to make any difference.
--
/m.v.h. Ingela
//The highway of life is always under construction. //
|\ _,,,--,,_ ,)
/,`.-'`' -, ;-;;'
|,4- ) )-,_ ) /\
'---''(_/--' (_/-'