Hi, To get it working, you should enter into the NS Directory and then fire the same command i.e. patch -p1 < "Path to your Diff File"
- Prashant 袁旭 wrote: > ------------------------------------------------------------------------ > > > > > I installed the ns-allinone-2.28 in linux of ubuntu6.06 > and do this command:patch -p1 < ns-eurane-111.diff > system tell: > can't find file to patch at input line 4 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > |diff -b -B -u -I '$Id.*$' -I '$Header.*$' --new-file --recursive > ns-2.28-orig/common/packet.h ns-2.28-eu111/common/packet.h > |--- ns-2.28-orig/common/packet.h 2005-01-19 19:23:18.000000000 +0100 > |+++ ns-2.28-eu111/common/packet.h 2005-10-28 14:06:41.000000000 +0200 > -------------------------- > File to patch: > >
