Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

drbd and kernel 2.6.31

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


michael.auckland at gmail

Sep 23, 2009, 8:01 PM

Post #1 of 2 (998 views)
Permalink
drbd and kernel 2.6.31

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
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


lars.ellenberg at linbit

Sep 24, 2009, 12:23 AM

Post #2 of 2 (898 views)
Permalink
Re: drbd and kernel 2.6.31 [In reply to]

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
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.