On Tue, Jul 22, 2008 at 3:05 AM, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > On Mon, Jul 21, 2008 at 22:24, Serge Dubrouski <[EMAIL PROTECTED]> 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? >
$ rpm -qa | grep heartbeat heartbeat-devel-2.1.3-23.1 heartbeat-common-2.1.3-23.1 heartbeat-2.1.3-23.1 heartbeat-common-devel-2.1.3-23.1 heartbeat-resources-2.1.3-23.1 [EMAIL PROTECTED] ~]$ > >> >> Sources are from here: >> http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_8/src/ >> -- -- Serge Dubrouski. _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
