[Linux-HA] Complile error Reusable-Cluster-Components-glue-1.0.6

Nikita Michalko michalko.system at a-i-p.com
Wed Oct 6 06:30:34 MDT 2010


Hi all!

After downloading  the sources Reusable-Cluster-Components-glue-1.0.6.tar.bz2 
from http://www.linux-ha.org/wiki/Download and configuring with:
./configure  --with-heartbeat
I have a small problem by compiling  source  with make:

snip---
...
libtool: link: ranlib .libs/libstonith.a
libtool: link: rm -fr .libs/libstonith.lax
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:64: error: function declaration isn't a prototype
main.c:78: error: function declaration isn't a prototype
gmake[2]: *** [main.o] Fehler 1
gmake[2]: Leaving directory 
`/root/neueRPMs/ha/303/sourc/wiki/Reusable-Cluster-Components-glue-1.0.6/lib/stonith'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory 
`/root/neueRPMs/ha/303/sourc/wiki/Reusable-Cluster-Components-glue-1.0.6/lib'
make: *** [all-recursive] Fehler 1

OS: SLES11/SP1, 64bit box
Maybe some libraries missing?
TIA!


Nikita Michalko 



More information about the Linux-HA mailing list