[Pacemaker] Erro compiling Pacemaker GUI client

Ruiyuan Jiang Ruiyuan_Jiang at liz.com
Fri May 7 16:51:34 EDT 2010


Hi, all

I downloaded Pacemaker GUI today and am having problem to compile it on Redhat Enterprise server v5.5 (X86_64). The message is:

....
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha -I../.. -I../.. -g -O2 -I/usr/local/include/heartbeat -I/usr/local/include/pacemaker -I/usr/local/include -fgnu89-inline -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ansi -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -MT libhbmgmt_la-mgmt_crm.lo -MD -MP -MF .deps/libhbmgmt_la-mgmt_crm.Tpo -c mgmt_crm.c  -fPIC -DPIC -o .libs/libhbmgmt_la-mgmt_crm.o
cc1: warnings being treated as errors
mgmt_crm.c: In function 'on_cleanup_rsc':
mgmt_crm.c:1307: warning: passing argument 9 of 'delete_attr' makes integer from pointer without a cast
mgmt_crm.c:1307: error: too many arguments to function 'delete_attr'
mgmt_crm.c:1316: warning: passing argument 9 of 'update_attr' makes integer from pointer without a cast
mgmt_crm.c:1316: error: too many arguments to function 'update_attr'
gmake[2]: *** [libhbmgmt_la-mgmt_crm.lo] Error 1
gmake[2]: Leaving directory `/home/rc6/Pacemaker-Python-GUI-0f1490eaa8d8/mgmt/daemon'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/rc6/Pacemaker-Python-GUI-0f1490eaa8d8/mgmt'
make: *** [all-recursive] Error 1
[root at usnbrl52 Pacemaker-Python-GUI-0f1490eaa8d8]#

I tried on two servers, one is for corosync and the other is for heartbeat but the message that I got is the same. Thanks.

Ryan



This message (including any attachments) is intended
solely for the specific individual(s) or entity(ies) named
above, and may contain legally privileged and
confidential information. If you are not the intended 
recipient, please notify the sender immediately by 
replying to this message and then delete it.
Any disclosure, copying, or distribution of this message,
or the taking of any action based on it, by other than the
intended recipient, is strictly prohibited.





More information about the Pacemaker mailing list