Greeting list members
We have recently implemented the multiple interface support in NS-2 as
proposed in http://telecom.inescporto.pt/~rcampos/ucMultiIfacesSupport.pdf.
We also modified the simple-wireless.tcl script according the specifications
given in the above mentioned document. However, when we invoke the script,
we get the following error:
$ ns simple-wireless.tcl
When configured, ns found the right version of perl in
but it doesn't seem to be there anymore, so ns will fall back on running the
first perl in your path. The wrong version of perl may break the test
suites. Reconfigure and rebuild ns if this is a problem.
num_nodes is set 6
extra characters after close-brace
while compiling
for {set i 0} {$i $numifs_} {incr i}{
$node add-interface $chan($i) $propInstance_ $llType_
$macType_ $ifqType_ $ifqlen_ $phyType_ $antType_
$topoI...
(if then script line 2)
while compiling
if {[info exist numifs_] } {
for {set i 0} {$i $numifs_} {incr i}{
$node add-interface $chan($i) $propInstance_ $llType_
$macType_ $ifqType_ $ifqle...
(compiling body of proc _o3, line 50)
(Simulator create-wireless-node line 50)
invoked from within
_o3 create-wireless-node
(eval body line 1)
invoked from within
eval $self create-wireless-node $args
(procedure _o3 line 14)
(Simulator node line 14)
invoked from within
$ns_ node
(for body line 2)
invoked from within
for {set i 0} {$i $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0
}
(file simple-wireless.tcl line 108)
I checked for back to back opening and closing braces as suggested in the
error message. I found one in ns-2.31/gen/ns_tcl.cc, and I put a space
between the closing and opening braces, but to no avail. Can anyone shed
some light on this issue?
Thanks and best regards
--
Muhammad Saqib Ilyas
PhD Student, Computer Science and Engineering
Lahore University of Management Sciences