[Linux-HA] heartbeat 2.1.2-24 - compile error on RedHat AS 4

Andrew Beekhof beekhof at gmail.com
Wed Dec 5 13:20:43 MST 2007


On Dec 4, 2007, at 12:25 PM, Dejan Muhamedagic wrote:

> Hi,
>
> On Mon, Dec 03, 2007 at 10:34:43PM +0100, Spindler Michael wrote:
>> Hi all,
>>
>> I hope it is not a too stupid question.
>>
>> I want to use heartbeat 2.1.2-24 on RedHas AS 4 because in 2.1.2-3 (I
>> got centos-packages for this version), the lrmd is eating up all my
>> cpu-time. I saw some fixes to this deamon in the changelog, so I
>> downloaded the source-bz2 and tried to build rpms.
>>
>> I used "ConfigureMe rpm", but I got the following error while  
>> compiling:
>>
>> [...]
>> gcc -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../../.. -D_BSD_SOURCE
>> -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
>> -I/usr/include/glib-2.0 -I/usr/lib/gli
>> b-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 -W
>> no-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -g  
>> -O2
>> -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
>> -Wdeclaratio
>> n-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual
>> -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute
>> -Wformat=2 -Wformat-sec
>> urity -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror
>> -ggdb3 -funsigned-char -MT xml.lo -MD -MP -MF .deps/xml.Tpo -c xml.c
>> -fPIC -DPIC -o
>> .libs/xml.o
>> xml.c: In function `write_xml_file':
>> xml.c:618: warning: unused variable `in'
>> gmake[3]: *** [xml.lo] Error 1
>> gmake[3]: Leaving directory `/tmp/CRM-Devel-obs-2.1.2-24/lib/crm/ 
>> common'
>> gmake[2]: *** [all-recursive] Error 1
>> gmake[2]: Leaving directory `/tmp/CRM-Devel-obs-2.1.2-24/lib/crm'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/tmp/CRM-Devel-obs-2.1.2-24/lib'
>>
>>
>> Any ides what is going wrong here?
>
> Exactly what it says, though only on a preprocessed file. If you
> install bzip2 you should be fine.

someone else had trouble with this today - i'll make sure it gets fixed


More information about the Linux-HA mailing list