Corosync itself builds fine, but building against it is problematic.
1)
The entry for logsys_mkpri() in the header file causes compiler warnings.
/opt/local/include/corosync/engine/logsys.h:103: warning: inline
function 'logsys_mkpri' declared but never defined
I suggest:
diff -r fdbf04a71d18 include/corosync/engine/logsys.h
--- a/include/corosync/engine/logsys.h Thu Oct 09 06:20:12 2008 +0000
+++ b/include/corosync/engine/logsys.h Wed Oct 15 15:05:17 2008 +0200
@@ -100,7 +100,7 @@ extern struct logsys_logger logsys_logge
extern int logsys_single_id;
-extern inline int logsys_mkpri (int priority, int id);
+extern int logsys_mkpri (int priority, int id);
extern void logsys_config_mode_set (
unsigned int mode);
2)
Is the totem_timeout_types enum actually used anywhere?
Because the presence of a variable declaration in a header file
prevents linking:
ld: duplicate symbol _totem_timeout_types in .libs/plugin.o and .libs/utils.o
I can't find any reference to it, can it simply be removed?
enum {
TOTEM_RETRANSMITS_BEFORE_LOSS,
TOTEM_TOKEN,
TOTEM_RETRANSMIT_TOKEN,
TOTEM_HOLD_TOKEN,
TOTEM_JOIN,
TOTEM_CONSENSUS,
TOTEM_MERGE,
TOTEM_DOWNCHECK,
TOTEM_FAIL_RECV_CONST,
MAX_TOTEM_TIMEOUTS /* Last item */
} totem_timeout_types;
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais