hi.....i have integrated a new protocol to ns2...the object files for the protocol is sucessfully created. but while running the tcl script im getting a error that is given below...any one pls help me to fix it...the error occurs even im running the tcl script using AODV protocol, which was previously working gud..
Code:
ns 40n.tcl
num_nodes is set 40
Go to create-mobileexor-agent
In create-mobileexor-agent { node }
start to create MOBILEEXOR agent for node with address 0
warning: no class variable Agent/MOBILEEXOR::enable_local_forwarder_
see tcl-object.tcl in tclcl for info about this warning.
can't read "rtname": no such variable
while executing
"if { $rtname == "Agent/MOBILEEXOR" } {
[$self set ragent_] mac-type [$mac_($t) info class]
[$self set ragent_] set-mac $mac_($t)
$mac_($t)..."
(procedure "_o14" line 12)
(Node/MobileNode add-interface line 12)
invoked from within
"$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_"
(procedure "_o3" line 81)
(Simulator create-wireless-node line 81)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
invoked from within
"set n0 [$ns node]"
(file "40n.tcl" line 61)