[DRBD-user] building with patched lustre kernel

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Sep 20 19:06:09 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2005-09-20 11:10:05 -0500
\ Alex Cresswell:
> Hi,
> 
> I'm trying to compile drbd-0.7.13 to work with lustre filesystem.  I'm
> using patched kernel source provided by lustre, and I run into the
> following compile error with drbd after following the steps from the
> install doc.  Is there something I can tweak in the headers to fix
> this,

might help:

Index: drbd_sizeof_sanity_check.c
===================================================================
--- drbd_sizeof_sanity_check.c	(revision 1961)
+++ drbd_sizeof_sanity_check.c	(working copy)
@@ -1,10 +1,6 @@
 #include <linux/drbd.h>
-#include <linux/linkage.h>
+#include <linux/kernel.h>
 
-/* from linux/kernel.h */
-asmlinkage int printk(const char * fmt, ...)
-	__attribute__ ((format (printf, 1, 2)));
-
 #define SZO(type,size) \
 	s = sizeof(type); \
 	if (s != size) { \

> or do I need to upgrade to 2.6.x?

recommended anyways.

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list