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

Luc de Louw luc at delouw.ch
Fri Jul 23 19:19:22 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.


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?

rgds

Luc

make[1]: Entering directory `/usr/local/drbd-0.7.0/drbd'

     Calling toplevel makefile of kernel source tree, which I believe is in
     KDIR=/lib/modules/2.6.8-rc1-mm1/build
     NOTE: please ignore warnings regarding overriding of SUBDIRS

make -C /lib/modules/2.6.8-rc1-mm1/build 
SUBDIRS=/usr/local/drbd-0.7.0/drbd  modules
make[2]: Entering directory `/usr/src/linux-2.6.8-rc1-mm1'
   CC [M]  /usr/local/drbd-0.7.0/drbd/drbd_bitmap.o
   CC [M]  /usr/local/drbd-0.7.0/drbd/drbd_fs.o
   CC [M]  /usr/local/drbd-0.7.0/drbd/drbd_proc.o
   CC [M]  /usr/local/drbd-0.7.0/drbd/drbd_worker.o
   CC [M]  /usr/local/drbd-0.7.0/drbd/drbd_receiver.o
   CC [M]  /usr/local/drbd-0.7.0/drbd/drbd_req.o
   CC [M]  /usr/local/drbd-0.7.0/drbd/drbd_actlog.o
   CC [M]  /usr/local/drbd-0.7.0/drbd/lru_cache.o
   CC [M]  /usr/local/drbd-0.7.0/drbd/drbd_main.o
/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'
make[3]: *** [/usr/local/drbd-0.7.0/drbd/drbd_main.o] Error 1
make[2]: *** [_module_/usr/local/drbd-0.7.0/drbd] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-rc1-mm1'
make[1]: *** [kbuild] Error 2
make[1]: Leaving directory `/usr/local/drbd-0.7.0/drbd'
make: *** [all] Error 2
zion:/usr/local/drbd-0.7.0 #



More information about the drbd-user mailing list