[Pacemaker] pacemaker 1.1.11 rc1 compilation error on RHEL6.5

Andrew Beekhof andrew at beekhof.net
Mon Dec 2 00:24:04 UTC 2013







On Sun, Nov 24, 2013, at 06:20 PM, T.J. Yang wrote:

Hi

Any pointer for the following compilation errors ?

[tjyang at pm1 services]$ make
  CC     libcrmservice_la-upstart.lo
cc1: warnings being treated as errors
upstart.c: In function ‘upstart_job_property’:
upstart.c:264: error: implicit declaration of function
‘g_variant_lookup_value’


Can you check what version of glib introduced that function and compare
it to the version you have?
I'm surprised to see that pacemaker is trying to build upstart
support... i can't imagine it doing anything on rhel6

upstart.c:264: error: nested extern declaration of
‘g_variant_lookup_value’
upstart.c:264: error: assignment makes pointer from integer without a
cast
make: *** [libcrmservice_la-upstart.lo] Error 1
[tjyang at pm1 services]$ pwd
/home/tjyang/rpmbuild/BUILD/ClusterLabs-pacemaker-Pacemaker-1.1.11-rc1/
lib/services
[tjyang at pm1 services]$

Thanks


tj
--
T.J. Yang

_______________________________________________

Pacemaker mailing list: [1]Pacemaker at oss.clusterlabs.org

[2]http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Project Home: [3]http://www.clusterlabs.org

Getting started:
[4]http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf

Bugs: [5]http://bugs.clusterlabs.org

References

1. mailto:Pacemaker at oss.clusterlabs.org
2. http://oss.clusterlabs.org/mailman/listinfo/pacemaker
3. http://www.clusterlabs.org/
4. http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
5. http://bugs.clusterlabs.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131201/eaa5cb47/attachment-0003.html>


More information about the Pacemaker mailing list