[ClusterLabs] help compiling pacemaker 1.1 on Amazon Linux
Jan Pokorný
jpokorny at redhat.com
Fri May 6 14:25:27 UTC 2016
On 06/05/16 16:06 +0200, Jan Pokorný wrote:
> On 06/05/16 14:52 +0100, Jim Rippon wrote:
>> Thank you guys,
>>
>> I've taken your advice onboard and checked out 1.1.15-rc1 including the
>> patches Lars mentions as Jan suggested - I see another warning with fatal
>> warnings enabled:
>>
>> gmake[2]: Entering directory `/home/jrippon/pacemaker/lib/cluster'
>> CC election.lo
>> CC cluster.lo
>> CC membership.lo
>> CC cpg.lo
>> CC legacy.lo
>> legacy.c:55:13: error: 'valid_cman_name' defined but not used
>> [-Werror=unused-function]
>> static bool valid_cman_name(const char *name, uint32_t nodeid)
>> ^
>> cc1: all warnings being treated as errors
>> gmake[2]: *** [legacy.lo] Error 1
>> gmake[2]: Leaving directory `/home/jrippon/pacemaker/lib/cluster'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/home/jrippon/pacemaker/lib'
>> make: *** [core] Error 1
>>
>> This is, of course, only a warning with fatal warnings disabled as Jan
>> suggested - I can build successfully with that function commented without
>> other errors.
>>
>> I'm happy to trial 1.1.15-rc1 built with fatal warnings disabled for now -
>> my C foo isn't good enough to debug the problem further, but if I can be of
>> any help getting that warning fixed for rc2 I'd be happy to assist :)
>
> http://clusterlabs.org/pipermail/users/2016-May/002902.html
Damn clipboards:
https://github.com/ClusterLabs/pacemaker/pull/994
Happy Friday!
--
Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20160506/0baa34e2/attachment-0004.sig>
More information about the Users
mailing list