[Voyage-linux] can not patch for 2.6.23
Kim-man 'Punky' TSE
(spam-protected)
Thu Jul 10 11:19:58 HKT 2008
Hi zhu,
You don't need to patch. linux-source-2.6.23-voyage already applies the
patch.
The patch is for applying stock kernel source.
Regards,
Punky
lizhong zhu wrote:
> 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
>
> ------------------------------------------------------------------------
> 雅虎邮箱,您的终生邮箱! <http://cn.mail.yahoo.com/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list