Quote:
Originally Posted by Aman Kemal
Code:
aman@aman-VirtualBox:~$ cd /home/aman/ns-allinone-2.35/ns-2.35/Directional-Antenna_ex-2
aman@aman-VirtualBox:~/ns-allinone-2.35/ns-2.35/Directional-Antenna_ex-2$ ns Dir-antenna-test.tcl
num_nodes is set 6
invalid command name "Antenna/DirAntenna"
while executing
"Antenna/DirAntenna create _o22 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new $anttype"
(procedure "_o14" line 13)
(Node/MobileNode add-interface line 13)
invoked from within
"$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_
$antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_"
(procedure "_o3" line 83)
(Simulator create-wireless-node line 83)
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"
(procedure "create_node" line 27)
invoked from within
"create_node 10 10 0"
invoked from within
"set node_(0) [create_node 10 10 0]"
(file "Dir-antenna-test.tcl" line 259)
aman@aman-VirtualBox:~/ns-allinone-2.35/ns-2.35/Directional-Antenna_ex-2$
|
Is there an actual question here??? You just posted a lump of commands/errors/messages with zero context, and no details about your system. Likely related to your other thread:
https://www.linuxquestions.org/quest...-a-4175736665/
...where you're asking us to look things up for you, so you can do your homework.