Hello-

Let me preface this post saying I am not a C programming expert.  I am
working on setting up an environment to do some pacemaker GUI development.
I am using the tip of the Heartbeat dev Mercurial repository.  My platform
is CentOS 5.2.

There seems to be a pointer definition inconsistancy in the pils library
that is causing warnings on the build, and thus errors.  It seems that the
definition of PILPluginImportSet using g_malloc when the PILPluginImports
defintion using the standard alloc definition.  This is also true for the
mrealloc definition below.

I changed the defintions to use the glib2.0 format and that fixed the
problem, but I am unsure if this might break builds on other platforms.
Either way attached is the diff of the changes I made if you wish to apply
them.

P.S. A warning/error is also created by tools/send_arp.linux.c by not
declaring const on the char *device="eth0" declaration.

Thanks!
Davin Flatten

Attachment: pils-patch.patch
Description: Binary data

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to