<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
hello,<br /><br />i'm trying to install pacemaker cluster in a testing environment (2 nodes Fedora release 24, 4.7.9-200.fc24.x86_64)<br />i have problems compiling last commit (19c0d74717fb1e9701d51b206823a3386a114caa) of pacemaker.<br />chunk of log:<br /><br />=======================================================================================<br />....<br />pacemaker configuration:<br /> Version = 1.1.15 (Build: 19c0d74)<br /> Features = generated-manpages agent-manpages ascii-docs publican-docs ncurses libqb-logging libqb-ipc systemd nagios corosync-native atomic-attrd snmp libesmtp<br /><br /> Prefix = /usr<br /> Executables = /usr/sbin<br /> Man pages = /usr/share/man<br /> Libraries = /usr/lib64<br /> Header files = /usr/include<br /> Arch-independent files = /usr/share<br /> State information = /var<br /> System configuration = /etc<br /><br /> Use system LTDL = yes<br /><br /> HA group name = haclient<br /> HA user name = hacluster<br /><br /> CFLAGS = -g -O2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -ggdb -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeation-after-statement -Wendif-labels -Wfloat-equal -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-stringsnused-but-set-variable -Wformat=2 -fstack-protector-strong<br /> CFLAGS_HARDENED_EXE = -fPIE<br /> CFLAGS_HARDENED_LIB =<br /> LDFLAGS_HARDENED_EXE = -Wl,-z,relro -pie -Wl,-z,now -Wl,--as-needed<br /> LDFLAGS_HARDENED_LIB = -Wl,-z,relro -Wl,-z,now -Wl,--as-needed<br /> Libraries = -lgnutls -lqb -lcorosync_common -lqb -lqb -ldl -lrt -lpthread -lbz2 -lxslt -lxml2 -luuid -lpam -lrt -ldl -lglib-2.0 -lltdl<br /> Stack Libraries = -lqb -ldl -lrt -lpthread -lcpg -lcfg -lcmap -lquorum<br />=======================================================================================<br />.....<br /> CC libcrmcommon_la-mainloop.lo<br />mainloop.c:406:8: error: unknown type name ‘qb_array_t’<br /> static qb_array_t *gio_map = NULL;<br /> ^~~~~~~~~~<br />mainloop.c: In function ‘mainloop_cleanup’:<br />mainloop.c:412:9: error: implicit declaration of function ‘qb_array_free’ [-Werror=implicit-function-declaration]<br /> qb_array_free(gio_map);<br /> ^~~~~~~~~~~~~<br />mainloop.c:412:9: error: nested extern declaration of ‘qb_array_free’ [-Werror=nested-externs]<br />mainloop.c: In function ‘gio_poll_dispatch_update’:<br />mainloop.c:465:11: error: implicit declaration of function ‘qb_array_index’ [-Werror=implicit-function-declaration]<br /> res = qb_array_index(gio_map, fd, (void **)&adaptor);<br /> ^~~~~~~~~~~~~~<br />mainloop.c:465:5: error: nested extern declaration of ‘qb_array_index’ [-Werror=nested-externs]<br /> res = qb_array_index(gio_map, fd, (void **)&adaptor);<br /> ^~~<br />mainloop.c: In function ‘mainloop_add_ipc_server’:<br />mainloop.c:594:19: error: implicit declaration of function ‘qb_array_create_2’ [-Werror=implicit-function-declaration]<br /> gio_map = qb_array_create_2(64, sizeof(struct gio_to_qb_poll), 1);<br /> ^~~~~~~~~~~~~~~~~<br />mainloop.c:594:9: error: nested extern declaration of ‘qb_array_create_2’ [-Werror=nested-externs]<br /> gio_map = qb_array_create_2(64, sizeof(struct gio_to_qb_poll), 1);<br /> ^~~~~~~<br />mainloop.c:594:17: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]<br /> gio_map = qb_array_create_2(64, sizeof(struct gio_to_qb_poll), 1);<br /> ^<br />cc1: all warnings being treated as errors<br />Makefile:754: recipe for target 'libcrmcommon_la-mainloop.lo' failed<br />gmake[2]: *** [libcrmcommon_la-mainloop.lo] Error 1<br />gmake[2]: Leaving directory '/usr/local/src/pacemaker/lib/common'<br />Makefile:565: recipe for target 'all-recursive' failed<br />gmake[1]: *** [all-recursive] Error 1<br />gmake[1]: Leaving directory '/usr/local/src/pacemaker/lib'<br />Makefile:1242: recipe for target 'core' failed<br />make: *** [core] Error 1<br /><br /><br />git log<br />commit 19c0d74717fb1e9701d51b206823a3386a114caa<br />Merge: 722276c a22b02e<br />Author: Ken Gaillot <kgaillot@redhat.com><br />Date: Tue Oct 25 11:59:10 2016 -0500<br /><br /> Merge pull request #1160 from wenningerk/fix_atomic_attrd<br /><br /> fix usage of HAVE_ATOMIC_ATTRD in attrd_updater<br />=======================================================================================<br /><br />libqb compile is fine:<br /><br />libqb.pc<br />===========================<br />prefix=/usr<br />exec_prefix=${prefix}<br />libdir=/usr/lib64<br />includedir=${prefix}/include<br /><br />Name: libqb<br />Version: 1.0.0.53-026a<br />Description: libqb<br />Requires:<br />Libs: -L${libdir} -lqb -ldl -lrt -lpthread<br />Cflags: -I${includedir}<br />===========================<br /><br />/usr/include/qb/<br />-rw-r--r-- 1 root root 8.6K Oct 27 18:26 qblist.h<br />-rw-r--r-- 1 root root 4.6K Oct 27 18:26 qbhdb.h<br />-rw-r--r-- 1 root root 3.0K Oct 27 18:26 qbdefs.h<br />-rw-r--r-- 1 root root 7.2K Oct 27 18:26 qbutil.h<br />-rw-r--r-- 1 root root 8.5K Oct 27 18:26 qbrb.h<br />-rw-r--r-- 1 root root 7.3K Oct 27 18:26 qbmap.h<br />-rw-r--r-- 1 root root 7.6K Oct 27 18:26 qbloop.h<br />-rw-r--r-- 1 root root 22K Oct 27 18:26 qblog.h<br />-rw-r--r-- 1 root root 14K Oct 27 18:26 qbipcs.h<br />-rw-r--r-- 1 root root 1.8K Oct 27 18:26 qbipc_common.h<br />-rw-r--r-- 1 root root 8.0K Oct 27 18:26 qbipcc.h<br />-rw-r--r-- 1 root root 1.5K Oct 27 18:26 qbconfig.h<br />-rw-r--r-- 1 root root 7.1K Oct 27 18:26 qbatomic.h<br />-rw-r--r-- 1 root root 3.2K Oct 27 18:26 qbarray.h<br /><br />===========================<br /><br />qbarray.h is present and qb_array_t seems to be declared.<br /><br />i'm not a guru so can anyone help me to figure out what i have to do to solve this error?<br /><br />sorry for my bad english...<br />thanks in advance! =)
</body></html>
<br><br/><br/>Con Smart 3 Giga a 9 euro/4 sett navighi veloce, chiami e invii SMS dal tuo smartphone verso tutti i fissi e mobili in Italia. Passa a Tiscali Mobile! <a href='http://casa.tiscali.it/mobile/' target='_blank'>http://casa.tiscali.it/mobile/</a><br/><br/>