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

Re: [ns] Linking in OTcl class variables



Sven,
if you are sure your code is all right,I think you forget make clean before make.
Hope it will help


Sven Ostring wrote:

> I'm developing a queueing mechanism which is based on RED and an associated TCP
> agent which is based on TCP/Reno.  The C++ code for these protocols compiles,
> but I'm getting warnings that my all variables are not linking into my tcl
> objects (for example):
>
> warning: no class variable Queue/QueueMechanism::bytes_
>
> warning: no class variable Agent/TCP/Type::threshold_
>         see tcl-object.tcl in tclcl for info about this warning.
>
> These variables are bound to the OTcl level using the method bind(char*,
> variable), initialised in the ns-default.tcl file and the specific TclClass is
> defined, and the TclObject created, etc, etc.
>
> Where else would the binding need to be addressed?
>
> Thanks,
> Sven.