<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi, </div>
<div><br>
</div>
<div>I'm trying to build Pacemaker-1.1.10 (from git), with corosync 2.3.2 and libqb 0.16.0 on a CentOS 5.10 64b system.</div>
<div>I have latest auto tools (automake 1.14, autoconf 2.69, lib tool 2.4, pkg-config 0.27.1)</div>
<div><br>
</div>
<div>For Pacemaker, I'm doing:</div>
<div>
<div>./autogen.sh</div>
<div>
<div>./configure --with-corosync --with-cs-quorum  --without-snmp --without-nagios --enable-upstart=no</div>
</div>
<div><br>
</div>
<div>
<div>
<div>
<div>
<div>pacemaker configuration:</div>
<div>  Version                  = 1.1.10 (Build: 368c726)</div>
<div>  Features                 = libqb-logging libqb-ipc  corosync-native</div>
<div><br>
</div>
<div>  Prefix                   = /usr</div>
<div>  Executables              = /usr/sbin</div>
<div>  Man pages                = /usr/share/man</div>
<div>  Libraries                = /usr/lib64</div>
<div>  Header files             = /usr/include</div>
<div>  Arch-independent files   = /usr/share</div>
<div>  State information        = /var</div>
<div>  System configuration     = /etc</div>
<div>  Corosync Plugins         = /usr/lib64</div>
<div><br>
</div>
<div>  Use system LTDL          = yes</div>
<div><br>
</div>
<div>  HA group name            = haclient</div>
<div>  HA user name             = hacluster</div>
<div><br>
</div>
<div>  CFLAGS                   = -g -O2 -I/usr/include -I/usr/include/heartbeat      -ggdb  -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2
 -Wformat-security -Wformat-nonliteral -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Werror</div>
<div>  Libraries                = -lcorosync_common -lqb -lbz2 -lxslt -lxml2 -lc -luuid -lrt -ldl  -L/lib64 -lglib-2.0  -lltdl -L/usr/lib64 -lqb -ldl -lrt -lpthread</div>
<div>  Stack Libraries          =   -L/usr/lib64 -lqb -ldl -lrt -lpthread  -L/usr/lib64 -lcpg  -L/usr/lib64 -lcfg  -L/usr/lib64 -lcmap  -L/usr/lib64 -lquorum</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>But I'm getting this error:</div>
<div>
<div>gmake[2]: Entering directory `/root/Cluster3/pacemaker/lib/common'</div>
<div>  CC       ipc.lo</div>
<div>cc1: warnings being treated as errors</div>
<div>In file included from ../../include/crm_internal.h:26,</div>
<div>                 from ipc.c:19:</div>
<div>../../include/portability.h: In function 'g_strcmp0':</div>
<div>../../include/portability.h:165: warning: implicit declaration of function 'strcmp'</div>
<div>gmake[2]: *** [ipc.lo] Error 1</div>
<div>gmake[2]: Leaving directory `/root/Cluster3/pacemaker/lib/common'</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>If I disable the warning as errors, I can pass this problem (and several similar), but then fail on:</div>
<div><br>
</div>
<div>
<div>
<div>services_linux.c:33:26: error: sys/signalfd.h: No such file or directory</div>
<div>services_linux.c: In function 'services_os_action_execute':</div>
<div>services_linux.c:436: warning: implicit declaration of function 'signalfd'</div>
<div>services_linux.c:436: warning: nested extern declaration of 'signalfd'</div>
<div>services_linux.c:468: error: storage size of 'fdsi' isn't known</div>
<div>services_linux.c:471: error: invalid application of 'sizeof' to incomplete type 'struct signalfd_siginfo'</div>
<div>services_linux.c:472: error: invalid application of 'sizeof' to incomplete type 'struct signalfd_siginfo'</div>
<div>services_linux.c:468: warning: unused variable 'fdsi'</div>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>What am I missing here ?</div>
<div>It there a page somewhere with RHEL-5/CENTOS-5 prerequisites or special instruction to build from sources ?</div>
<div><br>
</div>
<div>Thanks, </div>
<div>-Stephan</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
</body>
</html>