[Pacemaker] Compile Error on Debian

Nick Khamis symack at gmail.com
Thu Sep 15 22:06:31 UTC 2011


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
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




More information about the Pacemaker mailing list