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

installing tclcl1.0b5/ns2.1b3-current problem



hi,

I have just downloaded tclcl1.0b5-current, and ns2.1b3-current.  I am
using gcc v2.8.1 on Sun solaris 2.5.1

I encountered 2 warnings when making tclcl1.0b5:

Tcl.cc: In method `int TclObject::create_framevar(const char *)':
Tcl.cc:348: warning: implicit declaration of function `int
snprintf(...)'
Tcl.cc: In function `static int TclClass::dispatch_instvar(void *,
struct Tcl_Interp *, int, char **)':
Tcl.cc:513: warning: implicit declaration of function `int
OTclOInstVarOne(...)'

But it managed to create libtclcl.a

Then I encountered the following error when i try to make ns :

/program/ns2/tclcl-1.0b5/libtclcl.a(Tcl.o): In function
`TclClass::dispatch_instvar(void *, Tcl_Interp *, int, char **)':
Tcl.o(.text+0x9e4): undefined reference to `OTclOInstVarOne'

anyone knows where is OTclOInstVarOne defined or how to solve this
problem?  I am using otcl-1.0a2.

thanks.

regards,
chenglin