[Voyage-linux] can not patch for 2.6.23

lizhong zhu (spam-protected)
Thu Jul 10 09:54:25 HKT 2008


hello, all of users:
to compile a new program, i must need a build in kernel.  but 
I try to patch it from the follow, but i still got error:
-----------------------------------------------------------------------------------------------
voyage:/usr/src/linux-source-2.6.23-voyage# patch -p4 < kernel-patch-2.6.23-voyage_5.0-2.patch
missing header for unified diff at line 4 of patch
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 -Naur linux-source-2.6.23/Documentation/filesystems/00-INDEX linux-source-2.6.23-voyage/Documentation/filesystems/00-INDEX
|--- linux-source-2.6.23/Documentation/filesystems/00-INDEX     2007-10-09 20:31:38.000000000 +0000
|+++ linux-source-2.6.23-voyage/Documentation/filesystems/00-INDEX      2008-05-01 04:31:33.000000000 +0000
--------------------------
File to patch:
[6]+   Stopped                 patch -p4 <kernel-patch-2.6.23-voyage_5.0-2.patch
voyage:/usr/src/linux-source-2.6.23-voyage# patch -p1 <kernel-patch-2.6.23-voyage_5.0-2.patch
patching file Documentation/filesystems/00-INDEX
Reversed (or previously applied) patch detected!  Assume -R? [n]
------------------------------------------------------------------------------------------------------------
i am not very sure the problem. i tried -p1 or p4 all have errors, please give some suggestion for that. is anything wrong with my config or kernel version?
thanks!
zhu
       
---------------------------------
 雅虎邮箱,您的终生邮箱!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20080710/d2c2f333/attachment.html>


More information about the Voyage-linux mailing list