[ClusterLabs] help compiling pacemaker 1.1 on Amazon Linux
jpokorny at redhat.com
Fri May 6 10:25:27 EDT 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: 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
>> static bool valid_cman_name(const char *name, uint32_t nodeid)
>> cc1: all warnings being treated as errors
>> gmake: *** [legacy.lo] Error 1
>> gmake: Leaving directory `/home/jrippon/pacemaker/lib/cluster'
>> gmake: *** [all-recursive] Error 1
>> gmake: 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 :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Users