UM-OLSR patch for ns-allinone-2.34

Tuesday, March 2, 2010 12:10 AM Posted by naz
Labels: ,

Download :





% tar zxvf um-olsr-0.8.8
% mv um-olsr-0.8.8 olsr
% mv olsr /usr/local/bin/ns-allineone-2.34/ns-2.34/
% mv um-olsr-2.34_v0.8.8.patch /usr/local/bin/ns-allinone-2.34/ns-2.34/olsr/
% cd /usr/local/bin/ns-allinone-2.34/ns-2.34
% patch -p1 < olsr/um-olsr-2.34_v0.8.8.patch
% make 

Best of luck!

Comments (11)

please give a manual for changig the files in ns2.34 to run the above patch as many errors of not been declaration of olsr like in packet.h PT_OLSR not defined and in cmu-trace.cc format olsr not defined.
please look into the errors and give a proper solutution how we run this patch successfully we will be highly obliged.
thanks in advance

Dude you rock. You just saved my day. Great work.

can i use that in ns-2.35 ?

reply please

Have ns-2.35 patch developed. If anybody needs, please, contact andy.lyubimov@gmail.com

Can you send me the um-olsr-2.34_v0.8.8.patch file at testimony230@yahoo.com

please anyone send me the olsr patch file at rajeshonnet1983@gmail.com as i can not download it from the link...

HI,at the time of olsr patch file in fedora,i faced one problem,that is



Hunk #1 FAILED at 250.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
patching file common/packet.h
Hunk #1 FAILED at 166.
Hunk #2 FAILED at 266.
2 out of 2 hunks FAILED -- saving rejects to file common/packet.h.rej
patching file queue/priqueue.cc
Hunk #1 FAILED at 90.
1 out of 1 hunk FAILED -- saving rejects to file queue/priqueue.cc.rej
patching file tcl/lib/ns-agent.tcl
Hunk #1 FAILED at 192.
1 out of 1 hunk FAILED -- saving rejects to file tcl/lib/ns-agent.tcl.rej
patching file tcl/lib/ns-default.tcl
Hunk #1 FAILED at 1369.
1 out of 1 hunk FAILED -- saving rejects to file tcl/lib/ns-default.tcl.rej
patching file tcl/lib/ns-lib.tcl
Hunk #1 FAILED at 612.
Hunk #2 succeeded at 872 with fuzz 1 (offset 41 lines).
1 out of 2 hunks FAILED -- saving rejects to file tcl/lib/ns-lib.tcl.rej
patching file tcl/lib/ns-packet.tcl
Hunk #1 FAILED at 166.
1 out of 1 hunk FAILED -- saving rejects to file tcl/lib/ns-packet.tcl.rej
patching file trace/cmu-trace.cc
Hunk #1 FAILED at 51.
Hunk #2 succeeded at 1138 (offset 256 lines).
Hunk #3 succeeded at 1229 with fuzz 2 (offset 9 lines).
1 out of 3 hunks FAILED -- saving rejects to file trace/cmu-trace.cc.rej
patching file trace/cmu-trace.h
Hunk #1 FAILED at 133.
1 out of 1 hunk FAILED -- saving rejects to file trace/cmu-trace.h.rej


please give me solution for above problem

NICE.
I will try it.

I am also facing same problen
$ patch -p1 < olsr/um-olsr-2.35_v0.8.8.patch
patching file Makefile.in
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Makefile.in.rej
patching file common/packet.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file common/packet.h.rej
patching file queue/priqueue.cc
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file queue/priqueue.cc.rej
patching file tcl/lib/ns-agent.tcl
Hunk #1 FAILED at 197.
1 out of 1 hunk FAILED -- saving rejects to file tcl/lib/ns-agent.tcl.rej
patching file tcl/lib/ns-default.tcl
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tcl/lib/ns-default.tcl.rej
patching file tcl/lib/ns-lib.tcl
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file tcl/lib/ns-lib.tcl.rej
patching file tcl/lib/ns-packet.tcl
Hunk #1 FAILED at 179.
1 out of 1 hunk FAILED -- saving rejects to file tcl/lib/ns-packet.tcl.rej
patching file trace/cmu-trace.cc
Hunk #1 FAILED at 54.
Hunk #2 succeeded at 821 with fuzz 2 (offset -346 lines).
Hunk #3 FAILED at 1502.
2 out of 3 hunks FAILED -- saving rejects to file trace/cmu-trace.cc.rej
patching file trace/cmu-trace.h
Hunk #1 FAILED at 161.
1 out of 1 hunk FAILED -- saving rejects to file trace/cmu-trace.h.rej

am facing the same problem while patching OLSR .. kindly help me to solve this.. am in urgency to rush my project.. is any one have foud out the soluition for the above error mentioned by Mohan on 2012

hi i am using ns2.35 in fedora 17 shall i also do the patch..., or how can i do use the olsr...,

Post a Comment