Quote:
Wonder what you are doing. Wrong version of ns-allinone-2.35 ?
? Or is it the notorious "Ubuntu patch command" ?
|
I think your first patch file(zetasim+myevalvid2_ns234.patch) was for ns2.34 and I applied it to ns2.35.
I tried your patch for ns2.35 (zetasim+myevalvid2_ns235.patch)
root@ubuntu:~/ns-allinone-2.35# patch -p0 < zetasim+myevalvid2_ns235.patch
patching file ns-2.35/common/agent.cc
patching file ns-2.35/common/agent.h
patching file ns-2.35/common/packet.h
Hunk #2 FAILED at 200.
Hunk #3 FAILED at 419.
Hunk #4 succeeded at 618 (offset 6 lines).
2 out of 4 hunks FAILED -- saving rejects to file ns-2.35/common/packet.h.rej
patching file ns-2.35/Makefile.in
Hunk #1 succeeded at 360 (offset 27 lines).
The next patch would create the file ns-2.35/myevalvid/myevalvid.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/myevalvid/myevalvid.cc
The next patch would create the file ns-2.35/myevalvid/myevalvid_sink.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/myevalvid/myevalvid_sink.cc
The next patch would create the file ns-2.35/myevalvid/myevalvid_sink.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/myevalvid/myevalvid_sink.h
The next patch would create the file ns-2.35/myevalvid/myudp.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/myevalvid/myudp.cc
The next patch would create the file ns-2.35/myevalvid/myudp.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/myevalvid/myudp.h
The next patch would create the file ns-2.35/P2P/demo/full-connected.tcl,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/full-connected.tcl
The next patch would create the file ns-2.35/P2P/demo/mfiles/ana.m,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/mfiles/ana.m
The next patch would create the file ns-2.35/P2P/demo/mfiles/GetFile.m,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/mfiles/GetFile.m
The next patch would create the file ns-2.35/P2P/demo/mfiles/GetLoad.m,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/mfiles/GetLoad.m
The next patch would create the file ns-2.35/P2P/demo/mfiles/GetNode.m,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/mfiles/GetNode.m
The next patch would create the file ns-2.35/P2P/demo/mfiles/GetTime.m,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/mfiles/GetTime.m
The next patch would create the file ns-2.35/P2P/demo/nam_show.tcl,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/nam_show.tcl
The next patch would create the file ns-2.35/P2P/demo/ReadMe,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/ReadMe
The next patch would create the file ns-2.35/P2P/demo/real-internet.tcl,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/real-internet.tcl
The next patch would create the file ns-2.35/P2P/demo/star.tcl,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/star.tcl
The next patch would create the file ns-2.35/P2P/demo/ts200.script,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/ts200.script
The next patch would create the file ns-2.35/P2P/demo/ts200.script-0.gb,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/ts200.script-0.gb
The next patch would create the file ns-2.35/P2P/demo/ts200.tcl,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/demo/ts200.tcl
The next patch would create the file ns-2.35/P2P/ExtendInfo.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ExtendInfo.h
The next patch would create the file ns-2.35/P2P/FiniteFieldCal.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/FiniteFieldCal.cc
The next patch would create the file ns-2.35/P2P/FiniteFieldCal.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/FiniteFieldCal.h
The next patch would create the file ns-2.35/P2P/galois.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/galois.cc
The next patch would create the file ns-2.35/P2P/galois.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/galois.h
The next patch would create the file ns-2.35/P2P/nssocket.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/nssocket.cc
The next patch would create the file ns-2.35/P2P/nssocket.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/nssocket.h
The next patch would create the file ns-2.35/P2P/P2PApp.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/P2PApp.h
The next patch would create the file ns-2.35/P2P/P2PMsger.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/P2PMsger.h
The next patch would create the file ns-2.35/P2P/TypeDefine.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/TypeDefine.h
The next patch would create the file ns-2.35/P2P/wj_galois.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/wj_galois.h
The next patch would create the file ns-2.35/P2P/ZetaApp.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ZetaApp.cc
The next patch would create the file ns-2.35/P2P/ZetaApp.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ZetaApp.h
The next patch would create the file ns-2.35/P2P/ZetaFileManager.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ZetaFileManager.cc
The next patch would create the file ns-2.35/P2P/ZetaFileManager.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ZetaFileManager.h
The next patch would create the file ns-2.35/P2P/ZetaMsger.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ZetaMsger.cc
The next patch would create the file ns-2.35/P2P/ZetaMsger.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ZetaMsger.h
The next patch would create the file ns-2.35/P2P/ZetaPacket.cc,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ZetaPacket.cc
The next patch would create the file ns-2.35/P2P/ZetaPacket.h,
which already exists! Assume -R? [n] y
patching file ns-2.35/P2P/ZetaPacket.h
patching file ns-2.35/tcl/lib/ns-default.tcl
Hunk #4 FAILED at 1594.
1 out of 4 hunks FAILED -- saving rejects to file ns-2.35/tcl/lib/ns-default.tcl.rej
thats mean i still have problem any suggestion please?