Per Jessen wrote:
But cluster-1.02.00 still fails to compile with both the SUSE
2.6.16-20 and the vanilla 2.6.16.9 kernel. I haven't investigated
that any further.
OK, I did look a little closer - here's a patch to cluster-1.02.00 that
will make it build with both 2.6.16.9 and SUSEs 2.6.16-20:
http://jessen.ch/files/cluster-1.02.00.patch
Contents:
diff -urN --exclude='*mk' --exclude='*symvers' --exclude='*d'
cluster-1.02.00/cman/lib/libcman.c cluster-1.02.pj/cman/lib/libcman.c
--- cluster-1.02.00/cman/lib/libcman.c 2006-03-13 12:45:11.000000000
+0100
+++ cluster-1.02.pj/cman/lib/libcman.c 2006-04-20 12:00:55.947309669
+0200
@@ -28,7 +28,7 @@
#include
#include
#include
-#include
+#include
#include "libcman.h"
struct cman_handle
Files cluster-1.02.00/gfs/gfs_fsck/gfs_fsck and
cluster-1.02.pj/gfs/gfs_fsck/gfs_fsck differ
diff -urN --exclude='*mk' --exclude='*symvers' --exclude='*d'
cluster-1.02.00/gnbd-kernel/src/gnbd.c
cluster-1.02.pj/gnbd-kernel/src/gnbd.c
--- cluster-1.02.00/gnbd-kernel/src/gnbd.c 2006-02-13
21:34:17.000000000 +0100
+++ cluster-1.02.pj/gnbd-kernel/src/gnbd.c 2006-04-20
11:55:50.560388620 +0200
@@ -1048,6 +1048,7 @@
MODULE_LICENSE("GPL");
#ifndef NDEBUG
-MODULE_PARM(debugflags, "i");
+//MODULE_PARM(debugflags, "i");
+module_param(debugflags, int, 0);
MODULE_PARM_DESC(debugflags, "flags for controlling debug output");
#endif
/Per Jessen, Zürich
--
http://www.spamchek.com/ - managed anti-spam and anti-virus solution.
Let us analyse your spam- and virus-threat - up to 2 months for free.