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

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



On Tue, 07 Jul 1998 16:57:55 +0800, Cheng Lin TAN wrote: 
>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.


Shhhhh... you weren't supposed to notice that.
Tclcl-current requires a slightly newer version of otcl than is
currently available.  (Unfortunately there's no otcl-current!)
Also, ns-current requires tclcl-current.

We expect to release the new otcl this week (hopefully today or
tomorrow), with corresponding tclcl and ns to follow.

As a temporary work-around I've put a snapshot of the working otcl in
<http://www-mash.cs.berkeley.edu/dist/vint/otcl-snapshot-980707.tar.gz>,
but you may want to wait for the impending release.

   -John Heidemann