[DRBD-user] drbd and kernel 2.6.31

Michael michael.auckland at gmail.com
Thu Sep 24 05:01:28 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.


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?


-- 
--
Michael



More information about the drbd-user mailing list