tags:

views:

43

answers:

0

Hey,

I installed ns-2.33, and then added the patches for Directional Antennas. And I downloaded a sample from: http://www.cse.iitk.ac.in/users/braman/tens/. When I run it the following error is given:

invalid command name "Channel/Channel_802_11"

while executing

"Channel/Channel_802_11 create _o11 "

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 $val(chan)" invoked from within

"$ns_ node-config -adhocRouting $val(rp) \ -llType $val(ll) \ -macType $val(mac) \ -ifqType $val(ifq) \ -ifqLen $val(ifqlen) \ -ant..." (file "sample.tcl" line 51)

Anyone has an idea how to solve this?

Thank you Vix