[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.,
>                  from
> /lib/modules/2.6.31-vs2.,
>                  from drbdsetup.c:49:
> /lib/modules/2.6.31-vs2.
> error: asm/bitsperlong.h: No such file or directory
> Is it any easy way to fix it?
> PS. on kernel 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?


: 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