[Pacemaker] Compile Error on Debian
Dejan Muhamedagic
dejanmm at fastmail.fm
Fri Sep 16 14:43:01 UTC 2011
On Fri, Sep 16, 2011 at 07:54:56AM -0400, Nick Khamis wrote:
> Hello Dejan,
>
> Using enable_fatal_warnings=no, it works fine however, how fatal is
> that? I will try the patch
Probably not fatal. We're just taking warnings seriously.
Thanks,
Dejan
> http://bugzilla-attachments.gnome.org/attachment.cgi?id=158740, today.
>
> Thanks Guys,
>
> Nick.
>
> On Fri, Sep 16, 2011 at 4:43 AM, Dan Frincu <df.cluster at gmail.com> wrote:
> > Hi,
> >
> > On Fri, Sep 16, 2011 at 10:56 AM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> >> Hi,
> >>
> >> On Thu, Sep 15, 2011 at 06:06:31PM -0400, Nick Khamis wrote:
> >>> Hello Everyone,
> >>>
> >>> Using tip 1.0.7 I get:
> >>>
> >>> pes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror -MT
> >>> pils.lo -MD -MP -MF .deps/pils.Tpo -c pils.c -fPIC -DPIC -o
> >>> .libs/pils.o
> >>> cc1: warnings being treated as errors
> >>> In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
> >>> from /usr/include/glib-2.0/glib.h:34,
> >>> from pils.c:34:
> >>> /usr/include/glib-2.0/glib/gthread.h: In function ���g_once_init_enter���:
> >>> /usr/include/glib-2.0/glib/gthread.h:348: error: cast discards
> >>> qualifiers from pointer target type
> >>
> > Apply the following patch fixes it.
> > http://bugzilla-attachments.gnome.org/attachment.cgi?id=158740
> >
> > Regards,
> > Dan
> >
> >> This seems to be an issue in glib-2.0. You can also
> >> configure with enable_fatal_warnings=no.
> >>
> >> Thanks,
> >>
> >> Dejan
> >>
> >>> make[2]: *** [pils.lo] Error 1
> >>> make[2]: Leaving directory
> >>> `/usr/local/src/Reusable-Cluster-Components-glue--glue-1.0.7/lib/pils'
> >>> make[1]: *** [all-recursive] Error 1
> >>> make[1]: Leaving directory
> >>> `/usr/local/src/Reusable-Cluster-Components-glue--glue-1.0.7/lib'
> >>> make: *** [all-recursive] Error 1
> >>> root at pace1:/usr/local/src/Reusable-Cluster-Components-glue--glue-1.0.7#
> >>> apt-get install pils
> >>> Reading package lists... Done
> >>> Building dependency tree
> >>> Reading state information... Done
> >>> E: Unable to locate package pils
> >>> root at pace1:/usr/local/src/Reusable-Cluster-Components-glue--glue-1.0.7#
> >>> apt-get install libpils
> >>> Reading package lists... Done
> >>> Building dependency tree
> >>> Reading state information... Done
> >>> E: Unable to locate package libpils
> >>>
> >>>
> >>> Thanks in Advance,
> >>>
> >>> Nick
> >>>
> >>> _______________________________________________
> >>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> >>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >>>
> >>> Project Home: http://www.clusterlabs.org
> >>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >>> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> >>
> >> _______________________________________________
> >> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >>
> >> Project Home: http://www.clusterlabs.org
> >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> >>
> >
> >
> >
> > --
> > Dan Frincu
> > CCNA, RHCE
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> >
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list