]> git.pld-linux.org Git - packages/kernel.git/blob - kernel-2.6.17-sumversion-buildfix.patch
- updated to 2.6.29.2 (builds and works --without apparmor --without grsecurity)
[packages/kernel.git] / kernel-2.6.17-sumversion-buildfix.patch
1 From: Akio Takebe <takebe_akio <at> jp.fujitsu.com>
2 Subject: [Patch] fix compilation
3 Newsgroups: gmane.comp.emulators.xen.devel
4 Date: 2008-06-02 03:09:10 GMT (26 weeks, 5 days, 19 hours and 43 minutes ago)
5
6 Hi,
7
8 I got the following compilation error.
9 This patch fix the error, I think it is needed for xen-testing tree.
10
11 /root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c: In function 
12 'get_src_version':
13 /root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c:384: error: 
14 'PATH_MAX' undeclared (first use in this function)
15 /root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c:384: error: 
16 (Each undeclared identifier is reported only once
17 /root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c:384: error: 
18 for each function it appears in.)
19 /root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c:384: 
20 warning: unused variable 'filelist'
21 make[7]: *** [scripts/mod/sumversion.o] Error 1
22 make[6]: *** [scripts/mod] Error 2
23 make[5]: *** [scripts] Error 2
24 make[4]: *** [modules] Error 2
25 make[3]: *** [modules] Error 2
26 make[3]: Leaving directory `/root/unstable/xen-unstable.hg/build-linux-2.
27 6.18-xen_x86_32'
28 make[2]: *** [build] Error 1
29 make[2]: Leaving directory `/root/unstable/xen-unstable.hg'
30 make[1]: *** [linux-2.6-xen-install] Error 2
31 make[1]: Leaving directory `/root/unstable/xen-unstable.hg'
32 make: *** [install-kernels] Error 1
33
34 Signed-off-by: Akio Takebe <takebe_akio <at> jp.fujitsu.com>
35
36 Best Regards,
37
38 Akio Takebe
39
40 ---
41 diff -r 557a4a0a5eac scripts/mod/sumversion.c
42 --- a/scripts/mod/sumversion.c  Fri May 30 19:08:50 2008 +0100
43 +++ b/scripts/mod/sumversion.c  Mon Jun 02 19:47:43 2008 +0900
44 @@ -8,6 +8,7 @@
45  #include <errno.h>
46  #include <string.h>
47  #include "modpost.h"
48 +#include <linux/limits.h>
49
50  /*
51   * Stolen form Cryptographic API.
This page took 0.024749 seconds and 3 git commands to generate.