What do you need and I can provide you for the platform, Andrew, for the problem? Also it did not have problems when I compiled Linux-HA, Pacemaker on RHEL v5.4 (x86_64 bit). I also tried OpenAIS, Corosync and Pacemaker on RHEL v5.4 (x86_64 bit) and I got problem when compiling Pacemaker. I think the problem may have something to do with the combination of OpenAIS, Corosync and Pacemaker.
Ryan -----Original Message----- From: Andrew Beekhof [mailto:and...@beekhof.net] Sent: Monday, May 03, 2010 12:04 PM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS On Mon, May 3, 2010 at 6:00 PM, Ruiyuan Jiang <ruiyuan_ji...@liz.com> wrote: > The platform is RedHat Enterprise Server v5.5 (x86_64 bit), Andrew. Thanks. Which I don't have. Sorry. > > > -----Original Message----- > From: Andrew Beekhof [mailto:and...@beekhof.net] > Sent: Monday, May 03, 2010 11:24 AM > To: The Pacemaker cluster resource manager > Subject: Re: [Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS > > On Mon, May 3, 2010 at 5:19 PM, Ruiyuan Jiang <ruiyuan_ji...@liz.com> wrote: >> Hi, Andrew >> >> I tried the option "disable fatal warnings" last week but it did not work >> for me. >> For line 74, what should I change it to? > > Depends on your system. I don't know. > >> >> Thanks. >> >> -----Original Message----- >> From: Andrew Beekhof [mailto:and...@beekhof.net] >> Sent: Monday, May 03, 2010 10:49 AM >> To: The Pacemaker cluster resource manager >> Subject: Re: [Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS >> >> On Mon, May 3, 2010 at 4:37 PM, Ruiyuan Jiang <ruiyuan_ji...@liz.com> wrote: >>> Hi, Andrew >>> >>> I have to admit one more or the main reason why I am compiling myself. >>> Linux HA stated that the software runs on Solaris. I might use Linux HA for >>> my Solaris (SPARC) system if OpenAIS or Corosync does not support Solaris. >>> I don't think there is a pre-compiled package for Solaris. If I can >>> successfully compile on Linux, it is a lot easier for me to find the >>> problem when I am trying on Solaris if there is a problem when I use the >>> same procedure. >> >> Ah, thats a different story. >> >> I suggest opening up remote.c and looking for line 74. eg. >> >> gnutls_transport_set_ptr(*session, >> (gnutls_transport_ptr) >> GINT_TO_POINTER(csock)); >> >> It looks like your version of gnutls_transport_set_ptr() doesn't like >> the call to GINT_TO_POINTER. >> Maybe the type for gnutls_transport_ptr is different. >> Perhaps google the warning: >> >>> remote.c:74: warning: cast to pointer from integer of different size >> >> Or, if you're feeling luck, disable fatal warnings when you configure >> pacemaker. >> >>> >>> Ryan >>> >>> -----Original Message----- >>> From: Andrew Beekhof [mailto:and...@beekhof.net] >>> Sent: Monday, May 03, 2010 3:09 AM >>> To: The Pacemaker cluster resource manager >>> Subject: Re: [Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS >>> >>> On Fri, Apr 30, 2010 at 4:48 PM, Ruiyuan Jiang <ruiyuan_ji...@liz.com> >>> wrote: >>>> No particular reason, Andrew. It is just that I know where is the files >>>> are being installed on the system instead of spread around. >>> >>> You lost me here. >>> >>> Running "rpm -qlp some_package_file.rpm" will tell you where things >>> are going to be placed. >>> And it places them there in accordance with the Fedora and LSB rules... >>> >>> Can I suggest that if you're being blocked by compile errors like this >>> one, then you don't have enough expertise to be compiling your own >>> packages. >>> >>>> >>>> Ryan >>>> >>>> -----Original Message----- >>>> From: Andrew Beekhof [mailto:and...@beekhof.net] >>>> Sent: Friday, April 30, 2010 5:56 AM >>>> To: The Pacemaker cluster resource manager >>>> Subject: Re: [Pacemaker] Erro compiling PaceMaker for CoroSync and OpenAIS >>>> >>>> Any reason not to use the EPEL5 packages on www.clusterlabs.org/rpm ? >>>> >>>> On Fri, Apr 30, 2010 at 12:08 AM, Ruiyuan Jiang <ruiyuan_ji...@liz.com> >>>> wrote: >>>>> Hi, all >>>>> >>>>> I am trying to compiling Pacemaker for Corosync and OpenAIS and got an >>>>> error from "make". >>>>> Corosync and OpenAIS passed 'make' no problem but not Pacemaker. I >>>>> downloaded Corosync, OpenAIS and PaceMaker today. >>>>> I have compiled and setup Pacemaker with Heartbeat no problem about two >>>>> months no problem. >>>>> I followed the steps on the 'install' web page. The platform is RHEL v5.5. >>>>> Here is the error that I got: >>>>> >>>>> .... >>>>> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include >>>>> -I../../include -I../../include -I../../libltdl -I../../libltdl >>>>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include >>>>> -I/usr/include/libxml2 -g -O2 -I/usr/local/include >>>>> -I/usr/local/include/heartbeat -I/usr/local/include -ggdb3 -O0 >>>>> -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return >>>>> -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement >>>>> -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security >>>>> -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations >>>>> -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith >>>>> -Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY >>>>> -Werror -fPIC -MT iso8601_fields.lo -MD -MP -MF .deps/iso8601_fields.Tpo >>>>> -c iso8601_fields.c -o iso8601_fields.o >/dev/null 2>&1 >>>>> if /bin/sh ../../libtool --tag=CC --tag=CC --mode=compile gcc -std=gnu99 >>>>> -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include >>>>> -I../../include -I../../libltdl -I../../libltdl -I/usr/include/glib-2.0 >>>>> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -O2 >>>>> -I/usr/local/include -I/usr/local/include/heartbeat -I/usr/local/include >>>>> -ggdb3 -O0 -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return >>>>> -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement >>>>> -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security >>>>> -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations >>>>> -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith >>>>> -Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY >>>>> -Werror -fPIC -MT remote.lo -MD -MP -MF ".deps/remote.Tpo" -c -o >>>>> remote.lo remote.c; \ >>>>> then mv -f ".deps/remote.Tpo" ".deps/remote.Plo"; else rm -f >>>>> ".deps/remote.Tpo"; exit 1; fi >>>>> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include >>>>> -I../../include -I../../include -I../../libltdl -I../../libltdl >>>>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include >>>>> -I/usr/include/libxml2 -g -O2 -I/usr/local/include >>>>> -I/usr/local/include/heartbeat -I/usr/local/include -ggdb3 -O0 >>>>> -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return >>>>> -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement >>>>> -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security >>>>> -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations >>>>> -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith >>>>> -Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY >>>>> -Werror -fPIC -MT remote.lo -MD -MP -MF .deps/remote.Tpo -c remote.c >>>>> -fPIC -DPIC -o .libs/remote.o >>>>> cc1: warnings being treated as errors >>>>> remote.c: In function 'create_tls_session': >>>>> remote.c:74: warning: cast to pointer from integer of different size >>>>> remote.c: In function 'cib_send_remote_msg': >>>>> remote.c:295: warning: cast from pointer to integer of different size >>>>> remote.c: In function 'cib_recv_remote_msg': >>>>> remote.c:311: warning: cast from pointer to integer of different size >>>>> gmake[2]: *** [remote.lo] Error 1 >>>>> gmake[2]: Leaving directory >>>>> `/home/rc6/Pacemaker-1-0-a1bc70f2ea59/lib/common' >>>>> gmake[1]: *** [all-recursive] Error 1 >>>>> gmake[1]: Leaving directory `/home/rc6/Pacemaker-1-0-a1bc70f2ea59/lib' >>>>> make: *** [all-recursive] Error 1 >>>>> >>>>> Can anyone help me? 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. >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> >>>> >>>> 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. >>>> >>>> >>>> _______________________________________________ >>>> 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 >>>> >>> >>> _______________________________________________ >>> 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 >>> >>> >>> >>> 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. >>> >>> >>> _______________________________________________ >>> 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 >>> >> >> _______________________________________________ >> 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 >> >> >> >> 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. >> >> >> _______________________________________________ >> 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 >> > > _______________________________________________ > 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 > > > > 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. > > > _______________________________________________ > 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 > _______________________________________________ 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 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. _______________________________________________ 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