thank you for your replying
yes i have fixed those issues in cmu-trac.cc file and now the make goes successful but in last centroid_802_11.tcl generates error. and one thing new is that when ever i change the protocol type in .tcl file centroid to dsdv then the same file generates less errors then before I have send those errors in poat#1.
when i set protocol type = centroid, it generates error like this....
#####################
d# ns centroid_802_11.tcl
num_nodes is set 9
(_o15 cmd line 1)
invoked from within
"_o15 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 "_o15" line 2)
(SplitObject unknown line 2)
invoked from within
"_o15 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"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(nn) } { incr i } {
set mnode_($i) [$ns node]
$mnode_($i) random-motion 0
} "
(file "centroid_802_11.tcl" line 48)
# and whenever i set protocol type = AODV, it generates error like this....
#########################3
d# ns centroid_802_11.tcl
num_nodes is set 9
INITIALIZE THE LIST xListHead
ns: _o18 anchor:
(_o18 cmd line 1)
invoked from within
"_o18 cmd anchor"
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 "_o18" line 2)
(SplitObject unknown line 2)
invoked from within
"_o18 anchor"
############################
please tell me how to solve these errors ????