[Linux-ha-dev] Pacemaker 0.6.5-2.2 does not compile under FC5

Andrew Beekhof beekhof at gmail.com
Tue Jul 22 03:05:40 MDT 2008


On Mon, Jul 21, 2008 at 22:24, Serge Dubrouski <sergeyfd at gmail.com> wrote:
> Making all in cib
> Compiling main.c:                                                     [ERROR]
>  gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
> -I../include -I../libltdl -I../libltdl -I/usr/include/openais
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/libxml2 -O2 -g -march=i386 -mcpu=i686
> -I/usr/include/heartbeat -fgnu89-inline -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 -ggdb3
> -funsigned-char -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o
> main.c
>  `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
>  main.c: In function 'main':
>  main.c:150: error: 'DEFAULT_MAXDISPATCHTIME' undeclared (first use
> in this function)
>  main.c:150: error: (Each undeclared identifier is reported only once
>  main.c:150: error: for each function it appears in.)
>  main.c:150: error: too many arguments to function 'set_sigchld_proctrack'
> gmake[1]: *** [main.o] Error 1
> make: *** [all-recursive] Error 1
>
> Same problems for control.c under crmd.

strange.  looks like clplumbing/GSource.h isnt being included by one
of the existing headers.
what heartbeat version do you have installed while you're compiling this?


>
> Sources are from here:
> http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_8/src/
> --
> Serge Dubrouski.
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>


More information about the Linux-HA-Dev mailing list