[ns] help in vanet error

Usman Amin usmanamin.ch at gmail.com
Fri Jun 26 13:58:04 PDT 2009


Hi can anybody please help me with this error.

[root at localhost usman-practice]# ns abc.tcl 14 10 25
num_nodes is set 150
INITIALIZE THE LIST xListHead

    (_o2415 cmd line 1)
    invoked from within
"_o2415 cmd log-target _o10"
    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 "_o2415" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$p($i) log-target $RevTrace"
    ("for" body line 5)
    invoked from within
"for {set i 0} {$i < $opt(nn)} {incr i} {
    set p($i) [new Agent/VanetCR $i]
    $ns_ attach-agent $node($i) $p($i)
    # set the logtarget for every agent
    $..."
    (file "abc.tcl" line 251)

Regards,
Usman


More information about the Ns-users mailing list