[DRBD-user] drbd-8.0.8.tar.gz

Thomas Althoff thomas at mainloop.se
Tue Dec 11 17:31:00 CET 2007

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


Yes, adding #include <asm/types.h> solved my issue.


Thx.

-Thomas


-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Lars Ellenberg
Sent: den 11 december 2007 16:13
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] drbd-8.0.8.tar.gz

On Tue, Dec 11, 2007 at 11:46:03AM +0100, Thomas Althoff wrote:
> 
> Thanks.
> 
> My box is x86_64, i think you already understood that.
> 
> [root at cl-db2 drbd-8.0.8]# uname -a
> Linux cl-db2.mainloop.net 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:55

> EST 2007 x86_64 x86_64 x86_64 GNU/Linux

aparently while fixing the bitfield endianess, an include statement was
dropped, which on some x86_64 distributions
(read: versions of userland include files) lead to conflicting typedefs.
it should be enough to add it back in:

diff --git a/drbd/linux/drbd.h b/drbd/linux/drbd.h index
9ea83d7..a8c95d6 100644
--- a/drbd/linux/drbd.h
+++ b/drbd/linux/drbd.h
@@ -27,6 +27,8 @@
 #define DRBD_H
 #include <linux/drbd_config.h>

+#include <asm/types.h>
+
 #ifdef __KERNEL__
 #include <linux/types.h>
 #include <asm/byteorder.h>

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please use the "List-Reply" function of your email client.
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list