[ns] Added tcl command in 802.11 not found by NS2 [URGENT]
Carlo Santos
moonseraph128 at gmail.com
Sun Apr 15 10:40:14 PDT 2012
My bad. I mixed up the files. The files I used are the ones attached to
this.
On Mon, Apr 16, 2012 at 1:35 AM, Carlo Santos <moonseraph128 at gmail.com>wrote:
> Hi,
>
> I am currently having trouble with a Tcl command that has someone else has
> added for Mac802_11. Even though I have already recompiled NS-2, the new
> command does not appear to be found. I am always getting the following
> error:
>
>
>> INITIALIZE THE LIST xListHead
>>
>> client lookup failed
>>
>>
>>> (_o62 cmd line 1)
>>
>> invoked from within
>>
>> "_o62 cmd client 1"
>>
>> 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 "_o62" line 2)
>>
>> (SplitObject unknown line 2)
>>
>> invoked from within
>>
>> "$mac([expr $k+1]) client 1"
>>
>> ("for" body line 5)
>>
>> invoked from within
>>
>> "for {set k 0} {$k < $opt(nn)} {incr k} {
>>
>> set node_($k) [ $ns_ node [lindex $temp \
>>
>> [expr $k+1]] ]
>>
>> $node_($k) base-station [AddrParams add..."
>>
>> (file "wifi-exp-psm.tcl" line 141)
>>
>>
>>
> I have attached the modified NS-2 file that I have used (made by
> chenxijianabc at gmail.com) and the TCL script that I am using. Please help.
> --
> Carlo Santos
>
>
--
Carlo Santos
More information about the Ns-users
mailing list