Hi everyone,

I am trying to patch ns2 measure patch for ns-2.33 from:
http://cng1.iet.unipi.it/wiki/index.php/Ns2measure
But am getting an error which is like...

charanpreet@charanpreet-Inspiron-1525:~/ns-allinone-2.33/ns-2.33$ patch -p0
< /home/charanpreet/ns-allinone-2.33/stat-ns2.33.patch
patching file ns-2.33_patched/common/packet.h
Hunk #1 FAILED at 47.
Hunk #2 FAILED at 598.
Hunk #3 FAILED at 667.
3 out of 3 hunks FAILED -- saving rejects to file
ns-2.33_patched/common/packet.h.rej
patching file ns-2.33_patched/common/simulator.cc
Hunk #1 FAILED at 60.
1 out of 1 hunk FAILED -- saving rejects to file
ns-2.33_patched/common/simulator.cc.rej
patching file ns-2.33_patched/common/simulator.h
Hunk #1 FAILED at 53.
Hunk #2 FAILED at 75.
Hunk #3 FAILED at 83.
3 out of 3 hunks FAILED -- saving rejects to file
ns-2.33_patched/common/simulator.h.rej
patching file ns-2.33_patched/common/stat.cc
patching file ns-2.33_patched/common/stat.h
patching file ns-2.33_patched/common/tfunctor.h
patching file ns-2.33_patched/Makefile.in
Hunk #1 FAILED at 59.
Hunk #2 FAILED at 72.
Hunk #3 FAILED at 162.
Hunk #4 FAILED at 212.
4 out of 4 hunks FAILED -- saving rejects to file
ns-2.33_patched/Makefile.in.rej
patching file ns-2.33_patched/tcl/lib/ns-agent.tcl
Hunk #1 FAILED at 192.
1 out of 1 hunk FAILED -- saving rejects to file
ns-2.33_patched/tcl/lib/ns-agent.tcl.rej
patching file ns-2.33_patched/tcl/lib/ns-autoconf.tcl
patching file ns-2.33_patched/tcl/lib/ns-default.tcl
Hunk #1 FAILED at 1462.
1 out of 1 hunk FAILED -- saving rejects to file
ns-2.33_patched/tcl/lib/ns-default.tcl.rej
patching file ns-2.33_patched/tcp/tcp.cc
Hunk #1 FAILED at 46.
Hunk #2 FAILED at 102.
Hunk #3 FAILED at 359.
Hunk #4 FAILED at 785.
Hunk #5 FAILED at 1852.
5 out of 5 hunks FAILED -- saving rejects to file
ns-2.33_patched/tcp/tcp.cc.rej
patching file ns-2.33_patched/tools/debug-tools.cc
patching file ns-2.33_patched/tools/debug-tools.h
patching file ns-2.33_patched/tools/e2em.cc
patching file ns-2.33_patched/tools/e2em.h
patching file ns-2.33_patched/tools/e2et.cc
patching file ns-2.33_patched/tools/e2et.h
patching file ns-2.33_patched/tools/fairness.cc
patching file ns-2.33_patched/tools/fairness.h
patching file ns-2.33_patched/tools/rng.cc
Hunk #1 FAILED at 70.
Hunk #2 FAILED at 260.
Hunk #3 FAILED at 803.
3 out of 3 hunks FAILED -- saving rejects to file
ns-2.33_patched/tools/rng.cc.rej
patching file ns-2.33_patched/tools/timestamper.cc
patching file ns-2.33_patched/trace/traffictrace.cc
Hunk #1 FAILED at 86.
Hunk #2 FAILED at 106.
2 out of 2 hunks FAILED -- saving rejects to file
ns-2.33_patched/trace/traffictrace.cc.rej
patching file ns-2.33_patched/tcl/ex/stat/test.tcl
patching file ns-2.33_patched/common/t_timers.h

does anyone know what does "Hunk #1 FAILED at 70 means"??
How to resolve this error??

Thanks and regards
Charanpreet Singh

Reply via email to