Hello,
I implemented multiple interfaces for AODV according to Ramons tutorial. My
" ns make" worked fine. The problem is i am getting error when i run my tcl
file god.tcl.
This is the error
*******************************************************
ERROR***************************************************************
INITIALIZE THE LIST xListHead
(_o17 cmd line 1)(_o17 Cmd line 1)
invoked from within
"_o17 cmd if-queue 0 _o20"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] { (
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $...
(procedure "_o17" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent if-queue $i [$self set ifq_($i)]
(procedure "_o14" line 31)
(Node/MobileNode add-target line 31)
invoked from within
"$self add-target $agent $port
procedure "-o14" line 15
"$self add-target $agent $port"
procedure "-o14" line 15
invoked with in $node attach etc.....
(Simulator create-wireless-node line 75)(Simulator create-wireless-node line
75)
invoked
invoked from withinInvoked from within
"for {set i 0} {$i < $val(nn) } {incr i}
set node_($i) [$ns_ node]
$node_($i) random-motion 0;
}"
*****************************END OF ERROR********************************
This error mainly occurs when there is no agent to handle the function.
I understood that the error is from the command function of my aodv.cc. But
I could not find any error in that. TclObject::lookup is not working fine I
guess.
So my one doubt is that : ----
In aodv for create-aodv- function in ns-lib.tcl, do we have to give $ node
id for ragent instead of addr.
PLEASE HELP ME TO SOLVE THIS ERROR!!!.
Thanks
Devu