In file included from ../include/ipvswrapper.h:47, from ipvswrapper.c:26: ../libipvs/libipvs.h:40: warning: `struct ip_vs_rule_user' declared inside parameter list ../libipvs/libipvs.h:40: warning: its scope is only this definition or declaration, which is probably not what you want In file included from ../include/ipvswrapper.h:47, from ipwrapper.c:26: ../libipvs/libipvs.h:40: warning: `struct ip_vs_rule_user' declared inside parameter list ../libipvs/libipvs.h:40: warning: its scope is only this definition or declaration, which is probably not what you want ipvswrapper.c:137: warning: `struct ip_vs_rule_user' declared inside parameter list ipvswrapper.c: In function `ipvs_talk': ipvswrapper.c:152: warning: passing arg 2 of `ipvs_command' from incompatible pointer type ipvswrapper.c: In function `ipvs_syncd_cmd': ipvswrapper.c:164: error: storage size of `urule' isn't known ipvswrapper.c:166: error: invalid application of `sizeof' to an incomplete type ipvswrapper.c:164: warning: unused variable `urule' ipvswrapper.c: At top level: ipvswrapper.c:200: warning: `struct ip_vs_rule_user' declared inside parameter list ipvswrapper.c: In function `ipvs_group_range_cmd': ipvswrapper.c:209: error: dereferencing pointer to incomplete type ipvswrapper.c:210: error: dereferencing pointer to incomplete type ipvswrapper.c:213: warning: passing arg 2 of `ipvs_talk' from incompatible pointer type ipvswrapper.c: At top level: ipvswrapper.c:223: warning: `struct ip_vs_rule_user' declared inside parameter list ipvswrapper.c: In function `ipvs_group_cmd': ipvswrapper.c:238: error: dereferencing pointer to incomplete type ipvswrapper.c:239: error: dereferencing pointer to incomplete type ipvswrapper.c:243: warning: passing arg 2 of `ipvs_talk' from incompatible pointer type ipvswrapper.c:250: error: dereferencing pointer to incomplete type ipvswrapper.c:251: error: dereferencing pointer to incomplete type ipvswrapper.c:254: error: dereferencing pointer to incomplete type ipvswrapper.c:258: warning: passing arg 2 of `ipvs_talk' from incompatible pointer type ipvswrapper.c:265: error: dereferencing pointer to incomplete type ipvswrapper.c:271: warning: passing arg 2 of `ipvs_group_range_cmd' from incompatible pointer type ipvswrapper.c: In function `ipvs_set_rule': ipvswrapper.c:286: error: invalid application of `sizeof' to an incomplete type ipvswrapper.c:288: error: dereferencing pointer to incomplete type ipvswrapper.c:289: error: dereferencing pointer to incomplete type ipvswrapper.c:290: error: dereferencing pointer to incomplete type ipvswrapper.c:291: error: dereferencing pointer to incomplete type ipvswrapper.c:292: error: dereferencing pointer to incomplete type ipvswrapper.c:294: error: dereferencing pointer to incomplete type ipvswrapper.c:299: error: dereferencing pointer to incomplete type ipvswrapper.c:300: error: dereferencing pointer to incomplete type ipvswrapper.c:304: error: dereferencing pointer to incomplete type ipvswrapper.c:309: error: dereferencing pointer to incomplete type ipvswrapper.c:310: error: dereferencing pointer to incomplete type ipvswrapper.c:311: error: dereferencing pointer to incomplete type ipvswrapper.c: In function `ipvs_cmd': ipvswrapper.c:327: error: dereferencing pointer to incomplete type ipvswrapper.c:341: warning: passing arg 4 of `ipvs_group_cmd' from incompatible pointer type ipvswrapper.c:344: error: dereferencing pointer to incomplete type ipvswrapper.c:346: error: dereferencing pointer to incomplete type ipvswrapper.c:347: error: dereferencing pointer to incomplete type ipvswrapper.c:351: warning: passing arg 2 of `ipvs_talk' from incompatible pointer type ipvswrapper.c: In function `ipvs_group_remove_entry': ipvswrapper.c:378: error: dereferencing pointer to incomplete type ipvswrapper.c:379: error: dereferencing pointer to incomplete type ipvswrapper.c:380: error: dereferencing pointer to incomplete type ipvswrapper.c:385: warning: passing arg 2 of `ipvs_group_range_cmd' from incompatible pointer type ipvswrapper.c:387: error: dereferencing pointer to incomplete type ipvswrapper.c:388: error: dereferencing pointer to incomplete type ipvswrapper.c:389: error: dereferencing pointer to incomplete type ipvswrapper.c:392: warning: passing arg 2 of `ipvs_talk' from incompatible pointer type ipvswrapper.c:399: warning: passing arg 2 of `ipvs_group_range_cmd' from incompatible pointer type ipvswrapper.c:401: warning: passing arg 2 of `ipvs_talk' from incompatible pointer type make[2]: *** [ipvswrapper.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/keepalived-1.1.5/work/keepalived-1.1.5/keepalived/check' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/keepalived-1.1.5/work/keepalived-1.1.5/keepalived' make: *** [all] Error 2 !!! ERROR: sys-cluster/keepalived-1.1.5 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! make failed (myconf=--prefix=/) !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.0.51-r3 (selinux/2004.1/x86/hardened, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7-hardened-r16 i686) ================================================================= System uname: 2.6.7-hardened-r16 i686 Intel(R) Pentium(R) III CPU - S 1266MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages loadpolicy sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://gentoo.gg3.net http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://gentoo.gg3.net/gentoo-portage" USE="x86 berkdb dlloader hardened nptl pam pic pie python readline selinux ssl" # gcc --version gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
keepalived-1.1.6 compiles without issue.. Any chance of moving it to stable?
1.1.7 stable on x86 .. please test.