[DRBD-user] drbd 8.4.11-1 compiling typedef error
Jay R
gojayisme at yahoo.com
Sun Apr 29 20:48:26 CEST 2018
Building the released 8.4.11-1 on Oracle Linux 6.9 gives a typedef compiling error in drbd_debugfs.c:
CC [M] /home/contrib/drbd/drbd-8.4.11-1/drbd/drbd_debugfs.o
In file included from /home/contrib/drbd/drbd-8.4.11-1/drbd/drbd_int.h:52,
from /home/contrib/drbd/drbd-8.4.11-1/drbd/drbd_debugfs.c:10:
/home/contrib/drbd/drbd-8.4.11-1/drbd/drbd_wrappers.h:255: error: redefinition of typedef ‘blk_status_t’
include/linux/blk_types.h:20: note: previous declaration of ‘blk_status_t’ was here
make[3]: *** [/home/contrib/drbd/drbd-8.4.11-1/drbd/drbd_debugfs.o] Error 1
make[2]: *** [_module_/home/contrib/drbd/drbd-8.4.11-1/drbd] Error 2
make[1]: *** [kbuild] Error 2
make[1]: Leaving directory `/home/contrib/drbd/drbd-8.4.11-1/drbd'
make: *** [module] Error 2
I haven't had these issues in drbd 8.4.10-1 and below versions.
Kernel:# uname -r
4.1.12-112.16.4.el6uek.x86_64
As Oracle Linux has same building binaries as in RHEL 6-- # cc --version
cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18.0.7)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180429/4e42a4d8/attachment.htm>
More information about the drbd-user
mailing list