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

Serge Dubrouski sergeyfd at gmail.com
Mon Jul 21 14:24:06 MDT 2008


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.

Sources are from here:
http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_8/src/
-- 
Serge Dubrouski.


More information about the Linux-HA-Dev mailing list