WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] kernel 3.0.0 mainline and drbd 8.4

Hi Walter,
On Mon, 2011-07-25 at 12:03 -0400, Walter Robert Ditzler wrote:
> hi xen user/dev list,
> 
> i want to compile drbd 8.4 against kernel mainline 3.0 source and receive an
> error:

This doesn't appear to be a Xen issue, I'd suggest posting to either the
DRDB list (if there is one) or LKML.

Ian.

> 
> my commands:
> 
> # cd /usr/src/drbd-8.4.0
> # ./autogen.sh
> # ./configure --localstatedir=/var --sysconfdir=/etc --with-km=yes # cd
> /usr/src/drbd-8.4.0/drbd # make clean # make KDIR=/usr/src/linux-3.0
> 
> 
> 
> the error message:
> 
> ***
> In file included from include/linux/security.h:25,
>                  from include/net/sock.h:53,
>                  from include/linux/connector.h:83,
>                  from /usr/src/drbd-8.4.0/drbd/linux/drbd.h:28,
>                  from /usr/src/drbd-8.4.0/drbd/drbd_buildtag.c:2:
> include/linux/fs.h:1606: error: requested alignment is not a constant In
> file included from include/net/sock.h:62,
>                  from include/linux/connector.h:83,
>                  from /usr/src/drbd-8.4.0/drbd/linux/drbd.h:28,
>                  from /usr/src/drbd-8.4.0/drbd/drbd_buildtag.c:2:
> include/net/dst.h: In function âdst_holdâ:
> include/net/dst.h:232: error: size of array âtype nameâ is negative
> make[2]: *** [/usr/src/drbd-8.4.0/drbd/drbd_buildtag.o] Error 1
> make[1]: *** [_module_/usr/src/drbd-8.4.0/drbd] Error 2
> make[1]: Leaving directory `/usr/src/linux-3.0'
> make: *** [kbuild] Error 2
> root@hst-ldeb-ksqx64:/usr/src/drbd-8.4.0/drbd#
> ***
> 
> does anyone have a glue on that subject? I thought to post that even here
> cause kernel supports drbd 8.3+ :-)
> 
> 
> thanks walter
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>