[Linux-ha-dev] Compiling the LRM
Jiang Dong Sun
sunjd at cn.ibm.com
Mon Jun 7 09:04:39 MDT 2004
>oh and also, in lrm/lrmd/lrmd.c:34, the include <wait.h> should most
>likely be <sys/wait.h> according to the SUSE and OSX man pages for
>On Jun 7, 2004, at 1:36 PM, Andrew wrote:
>> I was hoping the following changes could be made to the LRM so it will
>> compile on OSX...
>> This line appears not be used but also causes complaints as "config"
>> is also declared in libhbclient.
>> ./clientlib.c:58:struct sys_config * config = NULL;
>> Could it be removed or renamed please?
The above have been changed/fixed.
As for the following, don't change it yet. Hope to dynamically configure
BTW, what's your compiling platform? OSX?
>> in ./lib/plugins/lrm/raexec*.c, the following include needs to be
>> added for the calls to basename().
>> #include <libgen.h>
>> I dont know why these problems dont show up in linux but they would
>> appear to me to be things that should be fixed anyway.
Thanks & Best Regards,
Sun Jiang Dong
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linux-HA-Dev