Nothing is missing there, it seems. You can try the command with 
--enable-fatal-warnings=no.

--Amit

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Nikita Michalko
Sent: 17 June 2011 19:30
To: [email protected]; [email protected]
Subject: [Linux-HA] cluster-glue make error

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

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


________________________________
This email (message and any attachment) is confidential and may be privileged. 
If you are not certain that you are the intended recipient, please notify the 
sender immediately by replying to this message, and delete all copies of this 
message and attachments. Any other use of this email by you is prohibited.
________________________________


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to