[DRBD-user] Bug: section type conflict (drbd 8.4 / gcc 4.8.2)

Mark van Dijk meuk+drbd at dvxs.net
Sat Apr 19 18:13:27 CEST 2014

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


Greetings,

When trying to compile drbd 8.4 using gcc 4.8.2, the following problem
occurs. As I have no idea to fix it I hope you can help me.

If this is not a priority then I hope you can advise me what to do.
Downgrade gcc, perhaps? 


In file included from work/drbd-8.4.9999/drbd/drbd_nl.c:103:0:
work/drbd-8.4.9999/drbd/linux/genl_magic_func.h:251:24: error: drbd_genl_ops causes a section type conflict with drbd_mcg_events
 static struct genl_ops ZZZ_genl_ops[] __read_mostly = {
                        ^
In file included from work/drbd-8.4.9999/drbd/linux/genl_magic_func-genl_register_mc_group.h:17:0,
                 from work/drbd-8.4.9999/drbd/linux/genl_magic_func.h:289,
                 from work/drbd-8.4.9999/drbd/drbd_nl.c:103:
work/drbd-8.4.9999/drbd/linux/drbd_genl.h:252:36: note: ‘drbd_mcg_events’ was declared here


Thank you kindly,
Mark van Dijk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20140419/c64d709c/attachment.pgp>


More information about the drbd-user mailing list