hello, all of users:<br>to compile a new program, i must need a build in kernel.  but <br>I try to patch it from the follow, but i still got error:<br>-----------------------------------------------------------------------------------------------<br>voyage:/usr/src/linux-source-2.6.23-voyage# patch -p4 < kernel-patch-2.6.23-voyage_5.0-2.patch<br>missing header for unified diff at line 4 of patch<br>can't find file to patch at input line 4<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up to this was:<br>--------------------------<br>|diff -Naur linux-source-2.6.23/Documentation/filesystems/00-INDEX linux-source-2.6.23-voyage/Documentation/filesystems/00-INDEX<br>|--- linux-source-2.6.23/Documentation/filesystems/00-INDEX     2007-10-09 20:31:38.000000000 +0000<br>|+++ linux-source-2.6.23-voyage/Documentation/filesystems/00-INDEX      2008-05-01 04:31:33.000000000
 +0000<br>--------------------------<br>File to patch:<br>[6]+   Stopped                 patch -p4 <kernel-patch-2.6.23-voyage_5.0-2.patch<br>voyage:/usr/src/linux-source-2.6.23-voyage# patch -p1 <kernel-patch-2.6.23-voyage_5.0-2.patch<br>patching file Documentation/filesystems/00-INDEX<br>Reversed (or previously applied) patch detected!  Assume -R? [n]<br>------------------------------------------------------------------------------------------------------------<br>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?<br>thanks!<br>zhu<p>


      <hr size=1><a href="http://cn.mail.yahoo.com/"> ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡</a>