LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (http://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   error in adding new protocol in ns2.34 for fedora 14 (http://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/error-in-adding-new-protocol-in-ns2-34-for-fedora-14-a-932945/)

jothi8 03-05-2012 11:33 PM

error in adding new protocol in ns2.34 for fedora 14
 
sir i try to implement the leach protocol using aodv.For that i have copied the file in the aodv protocol into my leach directory.during this,i got many errors but i solved all the error.

but while implementing the tcl file i got the following error.i do not know from where these errors are generated.
the errors are,
[root@foss leach]# ns cluster.tcl
num_nodes is set 150
Number of Nodes = 150
CLUSTERING
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl

(_o14 cmd line 1)
invoked from within
"_o14 cmd addr"
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 "_o14" line 2)
(SplitObject unknown line 2)
invoked from within
"_o14 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o3" line 14)
(Simulator create-wireless-node line 14)
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 node(0) [$ns node]"
(file "cluster.tcl" line 79)


but when using the default aodv protocol there errors are not generated.while using the leach protocol only the errors are generated.

plz help me.

my email-id :d.jothi1991@gmail.com


All times are GMT -5. The time now is 03:00 AM.