Please see inline below. Also, please post all your questions via the ns-users email list so that others who had or will have the same problem/question/issue have a chance to find the replies...
Michel Kulhandjian wrote: > Hi Claus, > > I assume that after applying LAR patch will solve the diffusion problem? I do not know what you mean by "diffusion problem"... > Also, I assume ns-2.31 version has a problem with diffusion? > I applied the patch this is what I get, The patch I made is for ns2.32. I did not test it against ns2.31. > > patch -p1<toilers-LAR-DREAM-2.31.patch > (Stripping trailing CRs from patch.) > patching file ns-2.31/Makefile.in > Reversed (or previously applied) patch detected! Assume -R? [n] n > Apply anyway? [n] y > Hunk #1 FAILED at 307. > 1 out of 1 hunk FAILED -- saving rejects to file ns-2.31/Makefile.in.rej > (Stripping trailing CRs from patch.) > patching file ns-2.31/common/packet.h > Reversed (or previously applied) patch detected! Assume -R? [n] m > Apply anyway? [n] y > Hunk #1 FAILED at 64. > Hunk #2 FAILED at 173. > Hunk #3 FAILED at 289. > 3 out of 3 hunks FAILED -- saving rejects to file Problem: Hunk failed are error message of the patch command. "patch" was not able to merge the code at line 307 into your ns2.31 code. Solution: a) merge into a clean copy of ns2.32, b) fix the problem by hand. > ns-2.31/common/packet.h.rej > (Stripping trailing CRs from patch.) > patching file ns-2.31/dream/README > (Stripping trailing CRs from patch.) > patching file ns-2.31/dream/dream.cc > patch: **** malformed patch at line 182 > > of course I have changed all the 2.32 to 2.31 in the patch, but I get > this error, you cannot simply change just the numbers from 2.32 to 2.31. This patch was created as a diff from a clean ns2.32-allinone installation versus a version which included a working copy of TOILERS LAR/DREAM code. If you do not merge this patch into a clean copy fo ns2.32, you most probably have to do the merging yourself (which might result in a lot of manual code changes). > > let me know if there is a way to solve this problem, > > Michel > > > > Claus Christmann wrote: >> >> ------------------------------------------------------------------------ >> >> Please see inline below.... >> >> >> [EMAIL PROTECTED] wrote: >> >>> 6. Re: LAR Implementation (Janine Kniess) >>> ------------------------------ >>> >>> Message: 6 >>> Date: Mon, 7 Apr 2008 10:17:23 -0300 (BRT) >>> From: "Janine Kniess" <[EMAIL PROTECTED]> >>> Subject: Re: [ns] LAR Implementation >>> To: [email protected] >>> Message-ID: <[EMAIL PROTECTED]> >>> Content-Type: text/plain;charset=iso-8859-1 >>> >>> >>> Hi, >>> I'm searching for LAR implementation under NS2. Can anyone tell me if >>> it's available somewhere? >>> Thanks >> >> Hi Janine, >> >> the Toilers Research Group (http://toilers.mines.edu/Public/) has >> written an LAR/DREAM implementation for ns2 in relation to one of their >> papers: >> >> T. Camp, J. Boleng, B. Williams, L. Wilcox, and W. Navidi, Performance >> Comparision of Two Location Based Routing Protocols for Ad Hoc >> Networks, Proceedings of the IEEE INFOCOM, pp. 1678-1687, 2002. >> DOI: 10.1109/INFCOM.2002.1019421 >> >> >> I have written an adaption of that code for ns2.32 and announced that to >> the list >> (http://mailman.isi.edu/pipermail/ns-users/2007-October/061489.html). >> Please use the list search tool at >> http://www.isi.edu/nsnam/htdig/search.html to check for postings related >> to your work. >> >> I received a copy of the code related to the ns2.1b7a version from the >> list and made an updated patch for ns-allinone-2.32 (haven't tested it >> agains ns2.33 yet). If you use this code, please let Tracy Camp of >> Toilers know about it and quote their paper. >> >> >> >> You should be able to apply this patch file by simply copying it into >> your ns-allinone-2.32 folder (parallel to the ns-2.32 folder) and >> performing the following command: >> >> $: patch -p1<toilers-LAR-DREAM-2.32.patch >> >> This should patch your installation with the data in the >> toilers-LAR-DREAM-2.32.patch file. For further details please also check >> the man page for the patch command: >> >> $: man patch >> >> or consult http://www.rt.com/man/patch.1.html. >> >> Please add any insight you gained into the ns2 wiki >> (http://nsnam.isi.edu/nsnam/index.php/Main_Page) so that others can >> learn about and from your work. >> Also, please use the email list search tool at >> http://www.isi.edu/nsnam/htdig/search.html. >> >> Regards, >> >> Claus >> >> PS: Sorry list, no attachment for you guys... >> The ns-users email list does not support attachments, hence you will not >> find any attached files in the archives of the email list. If you want a >> copy of the attached file as well, please email me. >> > > -- Claus Christmann Graduate Research Assistant Georgia Institute of Technology 270 Ferst Drive Atlanta, GA 30332-0150
