[DRBD-user] drbd 8.0pre5 doesn't compile

John Cianfarani jcianfarani at rogers.com
Wed Oct 18 01:36:11 CEST 2006

I'm finding a compile problem with the pre5 release.

This is running CentOS 4.4 under a xen domU kernel of

Are there any new requirements for the 5.0pre5?



See output below



    Calling toplevel makefile of kernel source tree, which I believe is in



make -C /lib/modules/ SUBDIRS=/usr/src/drbd-8.0pre5/drbd

make[2]: Entering directory `/lib/modules/'

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_buildtag.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_bitmap.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_proc.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_worker.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_receiver.o

/usr/src/drbd-8.0pre5/drbd/drbd_receiver.c: In function `receive_Data':

/usr/src/drbd-8.0pre5/drbd/drbd_receiver.c:1233: warning: unused variable

/usr/src/drbd-8.0pre5/drbd/drbd_receiver.c:1235: warning: unused variable

/usr/src/drbd-8.0pre5/drbd/drbd_receiver.c:1235: warning: unused variable

/usr/src/drbd-8.0pre5/drbd/drbd_receiver.c:1457: warning: label `out2'
defined but not used

/usr/src/drbd-8.0pre5/drbd/drbd_receiver.c: In function `receive_sizes':

/usr/src/drbd-8.0pre5/drbd/drbd_receiver.c:1987: warning: comparison of
distinct pointer types lacks a cast

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_req.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_actlog.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/lru_cache.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_main.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_strings.o

  CC [M]  /usr/src/drbd-8.0pre5/drbd/drbd_nl.o

In file included from /usr/src/drbd-8.0pre5/drbd/drbd_nl.c:34:

/usr/src/drbd-8.0pre5/drbd/linux/connector.h:170: error: syntax error before

/usr/src/drbd-8.0pre5/drbd/linux/connector.h:170: warning: function
declaration isn't a prototype

make[3]: *** [/usr/src/drbd-8.0pre5/drbd/drbd_nl.o] Error 1

make[2]: *** [_module_/usr/src/drbd-8.0pre5/drbd] Error 2

make[2]: Leaving directory `/lib/modules/'

make[1]: *** [kbuild] Error 2

make[1]: Leaving directory `/usr/src/drbd-8.0pre5/drbd'

make: *** [all] Error 2




I was able to compile pre4 but got an error on trying to load the module 

'drbd: Unknown symbol atomic_add_unless'



Any help on either issue is appreciated.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/drbd-user/attachments/20061017/ea92ab82/attachment.htm 

More information about the drbd-user mailing list