[Pacemaker] cluster-glue make error

Nikita Michalko michalko.system at a-i-p.com
Fri Jun 17 12:30:04 UTC 2011


Hi all,

I've downloaded the last tarball from http://hg.linux-
ha.org/glue/archive/tip.tar.bz2, configured with:

./configure --prefix=$PREFIX --localstatedir=/var --sysconfdir=/etc --with-
heartbeat --with-stonith --with-pacemaker --with-daemon-user=$CLUSTER_USER --
with-daemon-group=$CLUSTER_GROUP

and now by  "make" I've got the following error:
... snip ...
libtool: link: ( cd ".libs" && rm -f "libstonith.la" && ln -s 
"../libstonith.la" "libstonith.la" )
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -
I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -
I../../libltdl  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -
I/usr/include/libxml2  -g -O2 -ggdb3 -O0  -fgnu89-inline -fstack-protector-all 
-Wall -Waggregate-return -Wbad-function-cast -Wcast-qual -Wcast-align -
Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-
security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-
declarations -Wmissing-format-attribute -Wnested-externs -Wno-long-long -Wno-
strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -ansi -
D_GNU_SOURCE -DANSI_ONLY -Werror -MT main.o -MD -MP -MF .deps/main.Tpo -c -o 
main.o main.c
cc1: warnings being treated as errors
main.c:408: Fehler: kein vorheriger Prototyp für »setup_cl_log«
gmake[2]: *** [main.o] Fehler 1
gmake[2]: Leaving directory `/root/neueRPMs/ha/sources/Reusable-Cluster-
Components-glue--0ff4e044f1be/lib/stonith'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory `/root/neueRPMs/ha/sources/Reusable-Cluster-
Components-glue--0ff4e044f1be/lib'
make: *** [all-recursive] Fehler 1

OS: SLES11/SP1
cluster-glue version: 1.0.7 (Build: 0ff4e044f1be0138e8273a98c9fbee95b643bcf7)

What I'm missing?


TIA!

Nikita Michalko





More information about the Pacemaker mailing list