[DRBD-user] drbd and kernel 2.6.31

Lars Ellenberg lars.ellenberg at linbit.com
Thu Sep 24 09:23:09 CEST 2009

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


On Thu, Sep 24, 2009 at 03:01:28PM +1200, Michael wrote:
> Hi All,
> I've upgraded kernel to 2.6.31 and tried to compile 8.3.2 or 8.3.3rc2
> on it and it is fail with message:
> In file included from /usr/include/asm/types.h:4,
>                  from
> /lib/modules/2.6.31-vs2.3.0.36.14-pre8/build/include/linux/types.h:4,
>                  from
> /lib/modules/2.6.31-vs2.3.0.36.14-pre8/build/include/linux/netlink.h:5,
>                  from drbdsetup.c:49:
> /lib/modules/2.6.31-vs2.3.0.36.14-pre8/build/include/asm-generic/int-ll64.h:11:29:
> error: asm/bitsperlong.h: No such file or directory
> 
> Is it any easy way to fix it?
> 
> PS. on kernel 2.6.30.5 no problems to compile.
> 
> PPS. file asm/bitsperlong.h actually located in asm-generic, if I link
> it to asm, then I can compile drbd. Is is the right way to do it?

http://git.drbd.org/?p=drbd-8.3.git;a=commitdiff;h=a6e36c389adb4485313191fd50405395fa3c1a74

-- 
: Lars Ellenberg                
: LINBIT HA-Solutions GmbH
: DRBD®/HA support and consulting    http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list