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

[ns] segmentation fault when running snoop




hi all,

 I have integrated the snoop patch that is given in the ns webpage.

When i try to run the wireless2.tcl given in marc greis' tutorial with a
change in the following line.

set opt(ll)   LL              ;# link layer type  

to
 
set opt(ll)   LL/LLSnoop      ;# link layer type

It gives me the following warning and segmentation fault.




num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
Loading connection pattern...
Loading scenario file...
Load complete...
Starting Simulation...
warning: no class variable Snoop::debug_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Snoop::debug_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Snoop::debug_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Snoop::debug_

	see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Snoop::debug_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Snoop::debug_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Snoop::debug_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Snoop::debug_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Snoop::debug_

        see tcl-object.tcl in tclcl for info about this warning.

Segmentation fault


 Can somebody give any reason what is wrong??

Thanks in advance

--