[DRBD-user] error make

Walter Robert Ditzler ditwal001 at gmail.com
Thu Jul 28 21:27:38 CEST 2011

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


hi lars,

the things with broken hardware or broken debian installation can be true.
that's why I installed a new host, debian 6.0.2.1, latest patches, amd64,
compiled a kernel first, 3.0 mainline and then downloaded drbd 8.4 and try
to compile/make a deb package.

but as you can see, same error:

include/net/dst.h: In function 'dst_hold':
include/net/dst.h:232: error: size of array 'type name' is negative
make[3]: *** [/usr/src/drbd-8.4.0/drbd/drbd_buildtag.o] Error 1
make[2]: *** [_module_/usr/src/drbd-8.4.0/drbd] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-3.0'
make: *** [kbuild] Error 2
root at hst-ldeb-test01:/usr/src/drbd-8.4.0/drbd#

any glue here?

thanks walter.




-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Lars Ellenberg
Sent: Donnerstag, 28. Juli 2011 21:09
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] error make

On Thu, Jul 28, 2011 at 02:46:41PM +0200, Walter Robert Ditzler wrote:
> hi all,
> 
> i get a error while making a new install of drbd 8.3.9 and/or 8.4.0, 
> it stops always at the same point.
> 
> does anybody have a glue what could get wrong here?
> 
> I really don't know further and would be really thankfull for any help 
> :-)
> 
> thank's walter.
> 
> 
> 8.3.9 version
> *************
> 
> ***
> include/linux/fs.h:1606: error: requested alignment is not a constant

Nothing that can possibly be fixed by DRBD.
Either you use a very special platform that is somehow broken, or you need
to learn how to properly prepare a kernel source tree for building modules.


> In file included from include/net/sock.h:62,
>                  from include/linux/connector.h:83,
>                  from /usr/src/drbd-8.3-remus/drbd/linux/drbd.h:30,

Please note that this "-remus" thing is a fork which I can at this point not
give qualified comments about.  Having said that, *this* error is certainly
not theirs, but yours (or your platform is broken).

>                  from <command-line>:0:
> include/net/dst.h: In function 'dst_hold':
> include/net/dst.h:232: error: size of array 'type name' is negative
> make[3]: *** [/usr/src/drbd-8.3-remus/drbd/drbd_buildtag.o] Error 1
> make[2]: *** [_module_/usr/src/drbd-8.3-remus/drbd] Error 2
> make[1]: *** [sub-make] Error 2
> make[1]: Leaving directory `/usr/src/linux-3.0'
> make: *** [kbuild] Error 2
> root at hst-ldeb-ksqx64:/usr/src/drbd-8.3-remus/drbd#
> ***
> 
> 8.4 version
> ***********
> 
> ***
> 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[3]: *** [/usr/src/drbd-8.4.0/drbd/drbd_buildtag.o] Error 1
> make[2]: *** [_module_/usr/src/drbd-8.4.0/drbd] Error 2
> make[1]: *** [sub-make] Error 2
> make[1]: Leaving directory `/usr/src/linux-3.0'
> make: *** [kbuild] Error 2
> root at hst-ldeb-ksqx64:/usr/src/drbd-8.4.0/drbd#
> ***
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBDR and LINBITR 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.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list