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

~{;X84~}: Help: I can't run MFTP and Ping



Dear Wood,
  Thanks for help! I have tried different methods as below, however can't
solve the problem.

1.copy the source code --> modify the files --> run "./configure" --> run
"make" --> ns success

2.copy the source code --> modify the files --> run "make distclean" --> run
"./configure" --> run "make" --> ns success

3. delete all the codes of ns (install with ns-allinone-2.1b3 packet) -->
ungip the packet again --> copy the source code --> modify the files --> run
"./install" --> ns success

  The results are the same. The operation of copy and modify is follow by
"mftp_readme.html" and NS Tutorial(for Ping). I don't familiar with TCL
debug but familiar with c/c++.
  A clue about MFTP is I saw " ../mcast/mftp_rcv_stat.tcl can't be opened or
found..." when I maked the program.The screen is scrolled very fast that I
can't catch it in
details. I don't know how to save the middle compile information.
  What is function of "make depend"? Does it the same as "make distclean"?
It is curious to me. Have you any suggestion?
  Thanks again.
                  sincerely Zhu Xiaogang

-----Original Message-----
~{7"<~HK~}: Lloyd Wood <[email protected]>
~{JU<~HK~}: Zhu xg <[email protected]>
~{HUFZ~}: 1998~{Dj~}11~{TB~}10~{HU~} 21:56
~{VwLb~}: Re: Help: I can't run MFTP and Ping


Did you recompile ns by doing a make depend?



On Tue, 10 Nov 1998, Zhu xg wrote:

> Date: Tue, 10 Nov 1998 20:34:57 +0800
> From: Zhu xg <[email protected]>
> To: ns-users <[email protected]>
> Cc: "[gb2312] ~{3B~} ~{:l~}" <[email protected]>
> Subject: Help: I can't run MFTP and Ping
>
> Hi,
>    I downloaded the MFTP source code and modified the files described in
> "mftp_readme.html". I got the wrong result when I ran the demo
> "mftp_demo.tcl". The result is
>
> invalid command name "Agent/MFTP/Snd"
>     while executing
> "Agent/MFTP/Snd create _o90 "
>     invoked from within
> "catch "$className create $o $args" msg"
>     (procedure "new" line 3)
>     invoked from within
> "new Agent/MFTP/Snd"
>     (file "mftp_demo.tcl" line 74)
>
>   When I tested the Ping programs described in NS Tutorial written by Marc
> Greis, the result is similar. Modifications are follow the instruction in
> the Tutorial.
>
> invalid command name "Agent/Ping"
>      while executing
> "Agent/Ping instproc recv {from rtt} {
>         $self instvar node_
>         puts "node [$node_ id] received ping answer from \
>               $from with round-trip-tim..."
>     (file "ping.tcl" line 27)
>
>   Are there any modifications I didn't modify. Who can help me? My
> environment is ns-2.1b3 in Linux.
>   Thanks.
>              Zhu Xiaogang
>
>

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>