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

Re[2]: compute-branch



Hi,

I have downloaded 1.16 of CtrMcastComp.tcl and re-built ns, but after that,
ns cannot work. The error message is as follows.

_o3: unable to dispatch method maybeEnableTraceAll
    while executing
"$ns_ maybeEnableTraceAll $self {}"
    (procedure "_o607" line 6)
    (CtrMcastComp init line 6)
    invoked from within
"_o607 init _o3"
    (Class create line 1)
    invoked from within
"CtrMcastComp create _o607 _o3"
    invoked from within
"catch "$className create $o $args" msg"
    (procedure "new" line 3)
    invoked from within
"new CtrMcastComp $self"
    (procedure "_o3" line 6)
    (Simulator mrtproto line 6)
    invoked from within
"$ns mrtproto $mproto {}"
    (file "satellite.tcl" line 68)

I think maybeEnableTraceAll is a new method but I cannot find it in
"CVS Tree". (I have checked the lastest version of CtrMcast.tcl, CtrRPComp.tcl,
ns-mcast.tcl, etc.) Please tell me which files should I also update. And I
think there should be a dependence description for each file.

I have browsed compute-branch of 1.16. It's very different with the old one.
Since it doesn't find upstream node when $tmp==$target, I think my script
can run smoothly with it. However, I'm not sure before I have tested it.

LW> On Fri, 26 Feb 1999, Huang Hai wrote:

LW> Huang, take a look at the CVS information for this file:

LW> http://www-mash.cs.berkeley.edu/cgi-bin/cvsweb/ns-2/tcl/ctr-mcast/CtrMcastComp.tcl

LW> It appears that you're looking at version 1.1.3 or earlier of that
LW> file (ideally the version # would be somewhere in the comments at the
LW> top).

LW> You will want to look at Polly/Kannans's small changes in
LW> 1.1.4 and further changes in 1.1.5/1.1.6, which modify this bit of
LW> code extensively, and see how those changes affect your problem and
LW> your proposed fix.

LW> Cheers,

LW> L.

LW> who is turning into something of a CVS evangelist.

LW> <[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>




Best regards,
 Huang                            mailto:[email protected]