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

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]