It would be nice to have support for IPMI working in STONITH. Build error is: if /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -march=opteron -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -DST_TEXTDOMAIN='"stonith"' -DSTONITH_MODULES='""' -DLOCALEDIR='"/usr/share/locale"' -march=opteron -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -MT ipmilan.lo -MD -MP -MF ".deps/ipmilan.Tpo" -c -o ipmilan.lo ipmilan.c; \ then mv -f ".deps/ipmilan.Tpo" ".deps/ipmilan.Plo"; else rm -f ".deps/ipmilan.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -march=opteron -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -DST_TEXTDOMAIN=\"stonith\" -DSTONITH_MODULES=\"\" -DLOCALEDIR=\"/usr/share/locale\" -march=opteron -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -MT ipmilan.lo -MD -MP -MF .deps/ipmilan.Tpo -c ipmilan.c -fPIC -DPIC -o .libs/ipmilan.o cc1: warnings being treated as errors ipmilan.c: In function 'ipmilan_set_config': ipmilan.c:390: warning: ISO C90 forbids mixed declarations and code gmake[4]: *** [ipmilan.lo] Error 1 gmake[4]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/lib/plugins/stonith' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/lib/plugins/stonith' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/lib/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/lib' make: *** [all-recursive] Error 1 Reproducible: Always Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 x86_64) ================================================================= System uname: 2.6.24-gentoo-r7 x86_64 Quad-Core AMD Opteron(tm) Processor 2350 Timestamp of tree: Fri, 16 May 2008 18:30:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=opteron -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 bash-completion berkdb bzip2 caps ccache cli cracklib crypt cups dbus dri fortran gdbm gpm iconv ipv6 isdnlog lm_sensors mdnsresponder-compat midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd readline reflection session smux snmp spl sse sse2 ssl tcpd unicode vim-syntax xorg zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Please take look at bug 231291, problem describet there will fix this error also.
Marking as duplicate of 231291 since that contains a fix. This stems from -Werror, which should be dropped. *** This bug has been marked as a duplicate of bug 231291 ***