Oh!, do a rpm -ivh heartbeat-2.1.3-1.fc7.src.rpm

then go to /usr/src/redhat/SPECS directory

and do the rpmbuild -bb heartbeat.spec 


MT 

On Tuesday 18 March 2008, Johan Hoeke wrote:
> Milind Talekar wrote:
> > I had downloaded from the HA site itself the Fedora Version of the Source
> > RPM and it works and compiles just fine on a RHEL4U6  x86_64bit Systems
>
> Thanks for the info. Unfortunately no luck compiling that either.
> Perhaps compiler differences or something.
>
> [EMAIL PROTECTED] heartbeat-2.1.3-1.fc7.src]# rpmbuild --rebuild
> heartbeat-2.1.3-1.fc7.src.rpm
>
> <knip>
>
>  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../../include
> -I../../../include -I../../../include -I../../../include
> -I../../../linux-ha -I../../../linux-ha -I../../../libltdl
> -I../../../libltdl -I../../../lib/upmls -I../../../lib/upmls
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/libxml2 -g -O2 -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 -ggdb3 -funsigned-char -g -O2 -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 -ggdb3
> -funsigned-char -MT hbaping.lo -MD -MP -MF .deps/hbaping.Tpo -c
> hbaping.c  -fPIC -DPIC -o .libs/hbaping.o
> hbaping.c: In function `hbaping_new':
> hbaping.c:241: warning: ISO C90 forbids mixed declarations and code
> hbaping.c: In function `hbaping_read':
> hbaping.c:326: warning: passing arg 2 of `msg2wirefmt' from incompatible
> pointer type
>
> > MT
> >
> > On Tuesday 18 March 2008, Johan Hoeke wrote:
> >> LS,
> >>
> >> Am compiling heartbeat-2.1.3-15-1 obtained from
> >> http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/s
> >>rc/ heartbeat-2.1.3-15.1.src.rpm
> >>
> >> ./ConfigureMe configure --prefix=/usr --sysconfdir=/etc
> >> --localstatedir=/var --mandir=/usr/share/man --disable-rpath
> >>
> >> (all is well)
> >>
> >> make
> >>
> >> Getting the following error:
> >>
> >>  gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include
> >> -I../../../include -I../../../include -I../../../linux-ha
> >> -I../../../linux-ha -I../../../libltdl -I../../../libltdl
> >> -I../../../lib/upmls -I../../../lib/upmls -I/usr/include/glib-2.0
> >> -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -g -O2 -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 -ggdb3
> >> -funsigned-char -g -O2 -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 -ggdb3
> >> -funsigned-char -MT hbaping.lo -MD -MP -MF .deps/hbaping.Tpo -c
> >> hbaping.c  -fPIC -DPIC -o .libs/hbaping.o
> >> hbaping.c: In function `hbaping_read':
> >> hbaping.c:326: warning: passing arg 2 of `msg2wirefmt' from incompatible
> >> pointer type
> >> gmake[4]: *** [hbaping.lo] Error 1
> >>
> >> [EMAIL PROTECTED] heartbeat]# uname -a
> >> Linux mandelbrot.uvt.nl 2.6.9-67.0.4.ELsmp #1 SMP Fri Jan 18 05:00:00
> >> EST 2008 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> N.B:
> >>
> >> This error does _not_ occur on our i386 RHEL AS 4.6 systems...
> >>
> >> regards,
> >>
> >> Johan


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to