[DRBD-user] compile failure with 2.6.8-rc1-mm1

Lars Ellenberg Lars.Ellenberg at linbit.com
Sat Jul 24 17:29:43 CEST 2004

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


/ 2004-07-23 19:19:22 +0200
\ Luc de Louw:
> Hi all,
> 
> with the vanilla kernel 2.6.x (2.6.8-rc2 not yet tried) I have the 
> problem with my r8169 NIC which cause the server to crash on load.
> 
> with 2.6.8-rc1 drbd runns fine.
> 
> With 2.6.8-rc1-mm1 the system runns stable, but I was unable to compile 
> drbd-0.7.0
> 
> Any ideas?
> 
> /usr/local/drbd-0.7.0/drbd/drbd_main.c:1591: error: conflicting types 
> for `kcalloc'
> include/linux/slab.h:100: error: previous declaration of `kcalloc'

enclose the definition of void * kcalloc in drbd_main.c line 1591 with
#if 0
#endif

it was not defined in the kernel.org 2.6.* (yet).

	Lars Ellenberg

-- 
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list