While running one of script, following error occurd

invalid command name "Agent/DTNAgent"
    while executing
"Agent/DTNAgent create _o59 "
    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/DTNAgent"
    invoked from within
"set dtn1 [new Agent/DTNAgent]"
    (file "dtn-demo-small.tcl" line 33)

Can anyone tell me how to resolve it?

Thnx in advance,

From: Mubashir Rehmani <mshrehm...@gmail.com>
To: itishi saxena <itish...@yahoo.com>
Sent: Thursday, 10 November 2011 10:35 PM
Subject: Re: [ns] DTN routing

here you can find the DTN code for ns2

On 10 November 2011 13:28, itishi saxena <itish...@yahoo.com> wrote:

>Hello frds,
>can anyone help me implementing DTN routing in ns2?
>any would be appreciated.
>Thanks in advance.
>From: Andres Vazquez <vazquezro...@gmail.com>
>To: ns-users@ISI.EDU
>Sent: Thursday, 10 November 2011 9:36 PM
>Subject: Re: [ns] how to monitor the queue on a wireless node
>AndresV wrote:
>> Hi,
>> I follow all the instructions given by
>> http://hpds.ee.ncku.edu.tw/~smallko/ns2/qa_en.htm
>> but I receive an error message when I try to re-compile the code. The
>> error message after "make" is:
>> in member function virtual void PriQueue::trace(TracedVar* v) error:
>> invalid conversion from 'const char*' to 'char*' [-fpermissive]
>> I am working on ns-2.34 under Fedora15 OS. I hope someone could help me
>> with this problem or with a different solution for monitor and modify the
>> queue on a wireless node at run time.
>> Thanks in advance.

Mubashir Husain Rehmani

Reply via email to