Hi Ying, I guess you have downloaded a malformed path file. Please try to download a fresh ns-2 source tree (2.32 version) and to apply the last patch (online from a few of days) again.
Let me know what happens. ----------------------------------------- Marcello Caleffi Department of Electronic and Telecommunication Engineering University of Naples "Federico II" 21 Claudio street - 80125 Naples ITALY Tel +39-(0)81-7683810. Fax +39-(0)81-7683149 http://wpage.unina.it/marcello.caleffi/ Il giorno 11/apr/08, alle ore 04:55, Ying Huang ha scritto: > > Hi Marcello, > > I am Ying HUANG, a student in SUNY-University at Buffalo. I have > found your work > on AOMDV protocol. I meet problems when install the AOMDV patch. (I > use fedora > core 8 and use your method to install ns2. It seems you have > updated your webpage > on installing ns2. I installed the version 2.30 ns2 software you > once stated.) > The error information is like the following: > > [EMAIL PROTECTED] ns-2.30]# patch -p2 < ./aomdv.diff > missing header for unified diff at line 4 of patch > patching file aomdv/aomdv.cc > missing header for unified diff at line 1931 of patch > patching file aomdv/aomdv.h > missing header for unified diff at line 2444 of patch > patching file aomdv/aomdv_logs.cc > missing header for unified diff at line 2608 of patch > patching file aomdv/aomdv_packet.h > missing header for unified diff at line 2863 of patch > patching file aomdv/aomdv_rqueue.cc > missing header for unified diff at line 3180 of patch > patching file aomdv/aomdv_rqueue.h > missing header for unified diff at line 3328 of patch > patching file aomdv/aomdv_rtable.cc > missing header for unified diff at line 3877 of patch > patching file aomdv/aomdv_rtable.h > missing header for unified diff at line 4177 of patch > patching file common/packet.h > missing header for unified diff at line 4218 of patch > patching file Makefile > Hunk #1 FAILED at 52. > Hunk #2 succeeded at 258 (offset -1 lines). > 1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej > missing header for unified diff at line 4246 of patch > patching file Makefile.in > missing header for unified diff at line 4258 of patch > patching file makefile.vc > missing header for unified diff at line 4270 of patch > patching file queue/priqueue.cc > missing header for unified diff at line 4286 of patch > patching file tcl/lib/ns-lib.tcl > Hunk #1 succeeded at 614 (offset -1 lines). > Hunk #2 succeeded at 837 (offset -3 lines). > missing header for unified diff at line 4319 of patch > patching file tcl/lib/ns-mobilenode.tcl > missing header for unified diff at line 4337 of patch > patching file tcl/lib/ns-packet.tcl > missing header for unified diff at line 4351 of patch > patching file trace/cmu-trace.cc > missing header for unified diff at line 4495 of patch > patching file trace/cmu-trace.h > > Thank you very much for your hekp and thanks a lot for sharing > such research > experiences with us ! > > > -- > Ying Huang > SUNY - University at Buffalo > > Address: > 154 Springville Ave > Buffalo, NY 14226-3119 > > Welcome to my personal Homepage: > http://yingtex.googlepages.com >