Hello friends

I am trying to run Dream tcl script, which i obtained form Toilers, ported
to ns2.32
After making the changes i.e after applying the patch and executing the
command make, then when i run the program
and when i use the command           "     ns dream.tcl ./output.dat
./scen-300x600-50-10-5-00 "   to run the tcl script , i
am facing with the following error



[root@localhost dream]# ns dream.tcl ./output.dat ./scen-300x600-50-10-5-00
num_nodes is set 50
INITIALIZE THE LIST xListHead
invalid command name "Agent/Dream"
    while executing
"Agent/Dream create _o1015 "
    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 Agent/Dream"
    ("for" body line 2)
    invoked from within
"for {set i 0} {$i < $opt(nn)} {incr i} {
  set d($i) [new Agent/Dream]
  $node_($i) attach $d($i) 253

  # need to tell the geocast agents about their..."
    (file "dream.tcl" line 222)
[root@localhost dream]#



can any one provide me the solution?
-- 
**R.Manjula
Sr.Lecturer, Dept of ECE
BITM, Bellary
Karnataka.

Current Status:

Research Scholar
Dept of E&ECE
IIT Kharagpur
Cell:08900479328
**

Reply via email to