Quote:
Originally Posted by knudfl
|
iam not adding the "blackhole" changes to ...
ns-2.35/tcl/lib/{
ns-agent.tcl, ns-lib.tcl, ns-mobilenode.tcl, ns-packet.tcl }.
i use the blackholeaodv patch by @mohittahiliani. but i dont know how to use in AOMDV.
i just try your patch, but it say :
can't find file to patch at input line 2604
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ns-2.35-orig/common/packet.h ns-2.35/common/packet.h
|--- ns-2.35-orig/common/packet.h 2010-05-10 00:28:41.000000000 +0200
|+++ ns-2.35/common/packet.h 2014-05-13 12:37:11.000000000 +0200
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 2641
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ns-2.35-orig/Makefile.in ns-2.35/Makefile.in
|--- ns-2.35-orig/Makefile.in 2011-10-23 18:29:54.000000000 +0200
|+++ ns-2.35/Makefile.in 2014-05-13 12:17:49.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2653
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ns-2.35-orig/queue/priqueue.cc ns-2.35/queue/priqueue.cc
|--- ns-2.35-orig/queue/priqueue.cc 2010-05-10 00:28:41.000000000 +0200
|+++ ns-2.35/queue/priqueue.cc 2014-05-13 12:32:30.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2665
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ns-2.35-orig/tcl/lib/ns-agent.tcl ns-2.35/tcl/lib/ns-agent.tcl
|--- ns-2.35-orig/tcl/lib/ns-agent.tcl 2009-01-15 07:23:49.000000000 +0100
|+++ ns-2.35/tcl/lib/ns-agent.tcl 2014-05-13 12:17:49.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2678
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ns-2.35-orig/tcl/lib/ns-lib.tcl ns-2.35/tcl/lib/ns-lib.tcl
|--- ns-2.35-orig/tcl/lib/ns-lib.tcl 2010-05-10 00:28:41.000000000 +0200
|+++ ns-2.35/tcl/lib/ns-lib.tcl 2014-05-13 13:01:01.000000000 +0200
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 2706
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ns-2.35-orig/tcl/lib/ns-mobilenode.tcl ns-2.35/tcl/lib/ns-mobilenode.tcl
|--- ns-2.35-orig/tcl/lib/ns-mobilenode.tcl 2009-01-15 07:23:49.000000000 +0100
|+++ ns-2.35/tcl/lib/ns-mobilenode.tcl 2014-05-13 12:17:49.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 2724
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ns-2.35-orig/tcl/lib/ns-packet.tcl ns-2.35/tcl/lib/ns-packet.tcl
|--- ns-2.35-orig/tcl/lib/ns-packet.tcl 2011-10-15 00:11:08.000000000 +0200
|+++ ns-2.35/tcl/lib/ns-packet.tcl 2014-05-13 12:17:49.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored