[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Question on mac-test.tcl
Thanks for the reply.
I looked into ns-lib.tcl file, there is a line " source ../lan/vlan.tcl".
But
"source ../lan/ns-lan.tcl" and "source ../lan/ns-mac.tcl" are there
ahead of it. I tried "source ../lan/vlan.tcl" in mac-test.tcl, it give me
the same error message.
I would like to know what the following error message means:
_o18: unable to dispatch method trace
while executing
"$lan trace $ns $trfd "
(file "./mac-test.tcl" line 160)
Thanks in advance!!
Laura Liu
> -----Original Message-----
> From: Yuri Pryadkin [SMTP:[email protected]]
> Sent: Thursday, January 28, 1999 11:39 AM
> To: Liu, Laura-Lei [RICH2:IP10:EXCH]
> Cc: '[email protected]'
> Subject: Re: Question on mac-test.tcl
>
> Look in your ns-lib.tcl file. You have probably a line there 'source
> ../lan/vlan.tcl'. If you do, then you don't need to do anything
> special (don't need explicitly to source anything, you can use LANs as
> described in nsDoc and in test-suite-lan.tcl. However, if your ns-lib
> doesn't source vlan.tcl, I suggest you update your version of ns from
> the current snapshot.
>
> -Yuri
>
> "Laura-Lei Liu" <[email protected]> writes:
>
> > Hi Yuri,
> >
> > Thanks for the reply. I am using ns2.1b4, the newest version.
> > So you suggest instead of using ns-lan.tcl, I should use vlan.tcl?
> >
> > Am I correct?
> >
> > thanks,
> >
> > Laura
> > > -----Original Message-----
> > > From: Yuri Pryadkin [SMTP:[email protected]]
> > > Sent: Wednesday, January 27, 1999 4:49 PM
> > > To: Liu, Laura-Lei [RICH2:IP10:EXCH]
> > > Cc: '[email protected]'
> > > Subject: Re: Question on mac-test.tcl
> > >
> > > mac-test.tcl hasn't been updated since changes to LAN stuff. See
> > > test-suite-lan.tcl in tcl/test for examples of LAN test.
> > >
> > > You didn't mention which ns version you're using, but in the current
> > > snapshot ns-lan.tcl doesn't exist. It's been replaced by vlan.tcl.
> > >
> > > -Yuri
> > >
> > > "Laura-Lei Liu" <[email protected]> writes:
> > >
> > > > hello,
> > > >
> > > > When I run under ns-2/tcl/ex/
> > > >
> > > > # mac-test.tcl -node 4 -stop 400
> > > > ../..
> > > > _o18: unable to dispatch method trace
> > > > while executing
> > > > "$lan trace $ns $trfd "
> > > > (file "./mac-test.tcl" line 160)
> > > >
> > > > What does the error message mean?
> > > >
> > > > If I source two files ns-2/tcl/lan/ns-lan.tcl and
> > > ns-2/tcl/lan/ns-mac.tcl
> > > > into the mac-test.tcl, the above error will disappear. But I got
> another
> > > > error message:
> > > >
> > > > Number found where operator expected at (eval 3) line 1, near "6 2"
> > > > (Missing operator before 2?)
> > > >
> > > > Where should I look for the problem?
> > > >
> > > > Thanks for the help!
> > > >
> > > > Laura Liu
> > > > Wireless IP Mobility
> > > > Nortel Networks
> > > > Tel: 972-685-7960
> > > > Fax: 972-685-3207
> > > > [email protected]