[Pacemaker] pacemaker-mgmt compile error

Lars Ellenberg lars.ellenberg at linbit.com
Wed Jun 23 03:38:32 EDT 2010


On Wed, Jun 23, 2010 at 02:21:24PM +0800, Michael Fung wrote:
> 
> On 2010/6/23 上午 11:18, Yan Gao wrote:
> >  
> > Strange glib...How about use "--enable-fatal-warnings=no" when configuring the source?
> 
> Dear Yan, thanks for your help.
> 
> After restart from scratch and doing:
> ./Configure configure --enable-fatal-warnings=no
> 
> The make result is the same:
> cc1: warnings being treated as errors
> In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
>                  from /usr/include/glib-2.0/glib.h:34,
>                  from mgmt_tls_lib.c:33:
> /usr/include/glib-2.0/glib/gthread.h: In function ‘g_once_init_enter’:
> /usr/include/glib-2.0/glib/gthread.h:348: error: cast discards
> qualifiers from pointer target type

See
https://bugzilla.gnome.org/show_bug.cgi?id=457641#c11
ff


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.




More information about the Pacemaker mailing list