Quote:
$ export CC=gcc-4.4 CXX=g++-4.4 && ./install
|
when I execute it it didn't give any errors, but after when I tried to run some simulations, I got these errors.
for olsr simulation:
PHP Code:
num_nodes is set 5
can't read "numifs": no such variable
while executing
"subst $[subst $var]"
(procedure "_o3" line 5)
(SplitObject set line 5)
invoked from within
"$ns set numifs"
(procedure "_o14" line 6)
(Node/MobileNode add-interface line 6)
invoked from within
"$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_"
(procedure "_o3" line 77)
(Simulator create-wireless-node line 77)
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 < $opt(nn)} {incr i} {
set node_($i) [$ns_ node]
}"
(file "olsr.tcl" line 94)
for Dir-antenna-test:
PHP Code:
num_nodes is set 6
INITIALIZE THE LIST xListHead
(_o18 cmd line 1)
invoked from within
"_o18 cmd dir-antenna _o36"
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
"[$node_(0) set netif_(0)] dir-antenna $a"
(file "Dir-antenna-test.tcl" line 281)
can you please help me...