[ClusterLabs] build error pacemaker

Kamil Poturnaj poturnaj at gmail.com
Wed Jan 1 15:42:31 EST 2020


Hello,
I am trying to build pacemaker on centos 8, but I am getting error below. I
try to build

*git clone git://github.com/ClusterLabs/pacemaker.git
<http://github.com/ClusterLabs/pacemaker.git>*
and also *git clone --branch Pacemaker-2.0.3
git://github.com/ClusterLabs/pacemaker.git
<http://github.com/ClusterLabs/pacemaker.git>*
Still getting same error. Can you please advise me what is this problem ?













*crm_mon_curses.c:300:1: error: args to be formatted is not
‘...’ curses_indented_printf(pcmk__output_t *out, const char *format,
va_list args) { ^~~~~~~~~~~~~~~~~~~~~~crm_mon_curses.c:300:1: error:
conflicting types for ‘curses_indented_printf’In file included from
crm_mon_curses.c:17:crm_mon.h:119:6: note: previous declaration of
‘curses_indented_printf’ was here void
curses_indented_printf(pcmk__output_t *out, const char *format, ...)
G_GNUC_PRINTF(2, 3);      ^~~~~~~~~~~~~~~~~~~~~~make[2]: ***
[Makefile:1047: crm_mon_curses.o] Error 1make[2]: Leaving directory
'/root/pacemaker-build/pacemaker/tools'make[1]: *** [Makefile:1174: core]
Error 1make[1]: Leaving directory '/root/pacemaker-build/pacemaker'make:
*** [GNUmakefile:75: build] Error 2*

Maybe it might help some more info on packages in my system:

gcc-c++-8.2.1-3.5.el8.x86_64
gcc-gdb-plugin-8.2.1-3.5.el8.x86_64
libgcc-8.2.1-3.5.el8.x86_64
gcc-8.2.1-3.5.el8.x86_64

ncurses-base-6.1-7.20180224.el8.noarch
ncurses-libs-6.1-7.20180224.el8.x86_64
ncurses-6.1-7.20180224.el8.x86_64

Thank you !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20200101/7ed192f4/attachment.html>


More information about the Users mailing list