Hi,

I have a modified ns-2.34 however it appears that the modified code only
works when inside gdb and not outside gdb.

The modified code contains new tcl commands (in Mac802_11::command) with
added command "client." When outside gdb, I get this error:

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 6)
    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 144)

What could be wrong?

-- 
Carlo Santos

Reply via email to