[Linux-HA] Gentoo heartbeat 2.0.8 doesn't compile
Andrew Beekhof
beekhof at gmail.com
Wed Apr 30 06:29:51 MDT 2008
tried getting something newer? 2.0.8 is getting on a bit now
On Wed, Apr 30, 2008 at 8:35 AM, Mihai Tanasescu
<mihai.tanasescu at airbites.ro> wrote:
> Hello all,
>
>
> I'm having some trouble "emerge"-ing heartbeat on Gentoo.
>
> Gentoo is default installation.
>
> I placed the glib 1.x as suggested. (by default it wasn't there)
>
> gmake[1]: Entering directory
> `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/lib'
> Making all in pils
> gmake[2]: Entering directory
> `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/lib/pils'
> 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/lib/glib-2.0/include -I/usr/include/libxml2 -O2 -mtune=pentium3
> -march=pentium3 -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 -O2 -mtune=pentium3
> -march=pentium3 -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 pils.lo -MD -MP
> -MF ".deps/pils.Tpo" -c -o pils.lo pils.c; \
> then mv -f ".deps/pils.Tpo" ".deps/pils.Plo"; else rm -f
> ".deps/pils.Tpo"; exit 1; fi
> mkdir .libs
> 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/lib/glib-2.0/include -I/usr/include/libxml2 -O2 -mtune=pentium3
> -march=pentium3 -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 -O2 -mtune=pentium3 -march=pentium3 -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 pils.lo -MD -MP -MF .deps/pils.Tpo -c pils.c -fPIC
> -DPIC -o .libs/pils.o
> cc1: warnings being treated as errors
> pils.c:245: warning: initialization from incompatible pointer type
> pils.c:246: warning: initialization from incompatible pointer type
> gmake[2]: *** [pils.lo] Error 1
> gmake[2]: Leaving directory
> `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/lib/pils'
> 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
> *
> * ERROR: sys-cluster/heartbeat-2.0.8 failed.
> * Call stack:
> * ebuild.sh, line 49: Called src_compile
> * environment, line 2330: Called die
> * The specific snippet of code:
> * emake -j 1 || die "compile problem"
> * The die message:
> * compile problem
> *
> * If you need support, post the topmost build error, and the call stack
> if relevant.
> * A complete build log is located at
> '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/temp/build.log'.
> * The ebuild environment file is located at
> '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/temp/environment'.
> *
>
> * Messages for package sys-cluster/heartbeat-2.0.8:
>
> * QA: stop using the bindnow-flags function ... simply drop it from
> your ebuild
> *
> * ERROR: sys-cluster/heartbeat-2.0.8 failed.
> * Call stack:
> * ebuild.sh, line 49: Called src_compile
> * environment, line 2330: Called die
> * The specific snippet of code:
> * emake -j 1 || die "compile problem"
> * The die message:
> * compile problem
> *
> * If you need support, post the topmost build error, and the call stack
> if relevant.
> * A complete build log is located at
> '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/temp/build.log'.
> * The ebuild environment file is located at
> '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/temp/environment'.
>
>
>
> This is all I get..
>
>
> Do you have any idea what might be causing it or how can I fix it ?
>
> Regards and thanks,
> Mihai
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list