[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] running mns_v2.0 on ns-2.1b7a
it could be that the variables are initialized in tcl ... add the default
values of the variables in tcl/lib/ns-default.tcl
debo
On Sun, 9 Sep 2001, abrar hussain wrote:
>
>
> ---------- Forwarded message ----------
> Date: Sun, 9 Sep 2001 15:21:37 -0400 (EDT)
> From: abrar hussain <[email protected]>
> To: [email protected]
> Subject: running mns_v2.0 on ns-2.1b7a
>
> Hi,
>
> I have succesfully installed ns-2.17a.
> I was also able to add the mns_v2.0 patch to it following the
> instructions for ns-2.1b6 . "make" was executed successfully.
> But now when is try to run MPLS tcl scripts i get the follwing error ...
>
>
> *************************************************************************
>
> warning: no class variable Classifier/Addr/MPLS::data_driven_
>
> see tcl-object.tcl in tclcl for info about this warning.
>
> warning: no class variable Classifier/Addr/MPLS::control_driven_
>
> can't read "NodeMask_": no such variable
> (Object set line 1)
> invoked from within
> "AddrParams set NodeMask_(1)"
> (procedure "_o14" line 8)
> (MplsNode mk-default-classifier line 8)
> invoked from within
> "$self mk-default-classifier"
> (procedure "_o14" line 24)
> (Object next line 24)
> invoked from within
> "_o14 next"
> ("eval" body line 1)
> invoked from within
> "eval $self next $args"
> (procedure "_o14" line 2)
> (MplsNode init line 2)
> invoked from within
> "_o14 init "
> (Class create line 1)
> invoked from within
> "MplsNode create _o14 "
> invoked from within
> "catch "$className create $o $args" msg"
> (procedure "new" line 3)
> invoked from within
> "new MplsNode"
> ("eval" body line 1)
> invoked from within
> "eval new [Simulator set node_factory_] $args"
> (procedure "_o3" line 21)
> (Simulator node line 21)
> invoked from within
> "$self node"
> (procedure "_o3" line 9)
> (Simulator MPLSnode line 9)
> invoked from within
> "$ns MPLSnode"
> invoked from within
> "set LSR1 [$ns MPLSnode]"
> (file "rerouteinMPLS.tcl" line 25)
> ************************************************************************
>
> Is is something to do with the intructions that i used for adding the mns
> patch. ( as is used the ns-2.1b6 instructions ) .
>
> If yes , please tell me what extra changes i have to make.
>
>
> Thanks in advance.
> Sincerely,
> Abrar.
>
>
>