On 06/23/10 14:21, 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 > make[2]: *** [libhbmgmttls_la-mgmt_tls_lib.lo] Error 1 > make[2]: Leaving directory > `/root/tmp/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/root/tmp/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib' > make: *** [all-recursive] Error 1
Hmm, not sure... looks like there's some problem with the inline function from the glib header. You may need to check your installation of glib and its devel package. Regards, Yan -- Yan Gao <y...@novell.com> Software Engineer China Server Team, OPS Engineering, Novell, Inc. _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker