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)
8 I got the following compilation error.
9 This patch fix the error, I think it is needed for xen-testing tree.
11 /root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c: In function
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.
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
34 Signed-off-by: Akio Takebe <takebe_akio <at> jp.fujitsu.com>
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
48 +#include <linux/limits.h>
51 * Stolen form Cryptographic API.