Hi, On Fri, Sep 16, 2011 at 10:56 AM, Dejan Muhamedagic <[email protected]> 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@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@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: [email protected] >> 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: [email protected] > 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: [email protected] 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
