<div dir="ltr">Hi,<div><br></div><div>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":</div><div>
<br></div><div>...</div><div><div>make[1]: Leaving directory `/usr/src/cluster/test/pacemaker/lib'</div><div>Building mcp</div><div>make[1]: Entering directory `/usr/src/cluster/test/pacemaker/mcp'</div><div>  CC     pacemaker.o</div>
<div>  CC     corosync.o</div><div>corosync.c:238: error: expected declaration specifiers or ‘...’ before ‘cmap_handle_t’</div><div>cc1: warnings being treated as errors</div><div>corosync.c: In function ‘get_config_opt’:</div>
<div>corosync.c:243: error: implicit declaration of function ‘cmap_get_string’</div><div>corosync.c:243: error: nested extern declaration of ‘cmap_get_string’</div><div>corosync.c:243: error: ‘object_handle’ undeclared (first use in this function)</div>
<div>corosync.c:243: error: (Each undeclared identifier is reported only once</div><div>corosync.c:243: error: for each function it appears in.)</div><div>corosync.c: In function ‘mcp_read_config’:</div><div>corosync.c:382: error: ‘config’ undeclared (first use in this function)</div>
<div>corosync.c:382: error: ‘local_handle’ undeclared (first use in this function)</div><div>corosync.c:382: error: ‘KEY_PREFIX’ undeclared (first use in this function)</div><div>corosync.c:382: error: expected ‘)’ before string constant</div>
<div>corosync.c:382: error: too few arguments to function ‘get_config_opt’</div><div>corosync.c:391: error: expected ‘)’ before string constant</div><div>corosync.c:391: error: too few arguments to function ‘get_config_opt’</div>
<div>corosync.c:392: error: expected ‘)’ before string constant</div><div>corosync.c:393: error: too few arguments to function ‘get_config_opt’</div><div>corosync.c:408: error: expected ‘)’ before string constant</div><div>
corosync.c:408: error: too few arguments to function ‘get_config_opt’</div><div>corosync.c:409: error: expected ‘)’ before string constant</div><div>corosync.c:410: error: too few arguments to function ‘get_config_opt’</div>
<div>corosync.c:268: error: unused variable ‘retries’</div><div>make[1]: *** [corosync.o] Error 1</div><div>make[1]: Leaving directory `/usr/src/cluster/test/pacemaker/mcp'</div><div>make: *** [core] Error 1</div></div>
<div><br></div><div>Can anyone help me? Thanks.</div><div><br></div><div>Regards,</div><div>Daniel</div></div>