[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation error



Martin,

Thanks for pointing out the problem.  Since the mftp source does not
seem to be part of our validation test scripts, these errors continued
to exist.  

Nader


>>> "Martin" == Martin Koyabe <[email protected]> writes:

Martin> Nader, You'll be suprised what I foung to be the problem !!

Martin> I found that ~/tcl/mcast/mftp_rcv.tcl and
Martin> ~/tcl/mcast/mftp_snd.tcl need to be updated as follows in
Martin> order to compile well with 'dst_addr_' change !!

Martin> replace 'dst_' with 'dst_addr_' in mftp_rcv.tcl [lines
Martin> 44,46,48,57,59] also replace 'dst_' with 'dst_addr_' in
Martin> mftp_snd.tcl [lines 65,67,70]

Martin> Hope these changes will be updated in the next ns release !!


Martin> -- Martin


>>  Martin,
>> 
>> Take a look at agent.cc and agent.h and you'll see that dst_ is
>> decmposed into daddr_ and dport_.
>> 
>> Nader
>> 
>> 
>> >>> "Martin" == Martin Koyabe <[email protected]> writes:
>> 
Martin> Hi all, I am compiling my source code and keep getting this
Martin> error:
>>
Martin> ---error---
>>
Martin> Koyabe @ churchward 705 > !ns ns mftp_2.tcl Creating 2 Nodes
Martin> .....  Creating Links .....  Transmitting 2000000 byte file
Martin> with group-size 16 simulation is running...  ns: _o112 start:
Martin> can't read "dst_": no such variable while executing "expr
Martin> $dst_" (procedure "_o112" line 4) (Agent/MFTP/Snd start line
Martin> 4) invoked from within "_o112 start"
>>
Martin> ---end---
>>
Martin> Can someone tell me what that error means ?
>>
Martin> -- Martin
>>
Martin> e-mail: [email protected]
>>