[Linux-HA] Complile error Reusable-Cluster-Components-glue-1.0.6
Nikita Michalko
michalko.system at a-i-p.com
Thu Oct 7 03:33:26 MDT 2010
Thank you Dejan,
with the option --enable-fatal-warnings=no it works!
Cheers!
Nikita Michalko
Am Mittwoch, 6. Oktober 2010 16:57 schrieb Dejan Muhamedagic:
> Hi,
>
> On Wed, Oct 06, 2010 at 02:30:34PM +0200, Nikita Michalko wrote:
> > 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!
>
> Hmpf, no libraries missing, it's something I missed and which got
> fixed a week after the release. The changeset is 8286b46c91e3. At
> any rate you can try:
>
> ./configure --enable_fatal_warnings=no --with-heartbeat
>
> I believe that that's the right incantation.
>
> Thanks,
>
> Dejan
>
> > Nikita Michalko
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA
mailing list