[Pacemaker] Error compiling pacemaker

Daniel Ufer baneus.catrix at gmail.com
Fri Aug 9 05:29:09 EDT 2013


Hi,

i have got a problem with compiling pacemaker on centos 6.4 x86_64. I
cloned the git repository and the following error occurs after "./configure
&& make":

...
make[1]: Leaving directory `/usr/src/cluster/test/pacemaker/lib'
Building mcp
make[1]: Entering directory `/usr/src/cluster/test/pacemaker/mcp'
  CC     pacemaker.o
  CC     corosync.o
corosync.c:238: error: expected declaration specifiers or ‘...’ before
‘cmap_handle_t’
cc1: warnings being treated as errors
corosync.c: In function ‘get_config_opt’:
corosync.c:243: error: implicit declaration of function ‘cmap_get_string’
corosync.c:243: error: nested extern declaration of ‘cmap_get_string’
corosync.c:243: error: ‘object_handle’ undeclared (first use in this
function)
corosync.c:243: error: (Each undeclared identifier is reported only once
corosync.c:243: error: for each function it appears in.)
corosync.c: In function ‘mcp_read_config’:
corosync.c:382: error: ‘config’ undeclared (first use in this function)
corosync.c:382: error: ‘local_handle’ undeclared (first use in this
function)
corosync.c:382: error: ‘KEY_PREFIX’ undeclared (first use in this function)
corosync.c:382: error: expected ‘)’ before string constant
corosync.c:382: error: too few arguments to function ‘get_config_opt’
corosync.c:391: error: expected ‘)’ before string constant
corosync.c:391: error: too few arguments to function ‘get_config_opt’
corosync.c:392: error: expected ‘)’ before string constant
corosync.c:393: error: too few arguments to function ‘get_config_opt’
corosync.c:408: error: expected ‘)’ before string constant
corosync.c:408: error: too few arguments to function ‘get_config_opt’
corosync.c:409: error: expected ‘)’ before string constant
corosync.c:410: error: too few arguments to function ‘get_config_opt’
corosync.c:268: error: unused variable ‘retries’
make[1]: *** [corosync.o] Error 1
make[1]: Leaving directory `/usr/src/cluster/test/pacemaker/mcp'
make: *** [core] Error 1

Can anyone help me? Thanks.

Regards,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130809/a34f8247/attachment-0002.html>


More information about the Pacemaker mailing list