[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Cannot be compiled in Fedora Core 4
From:       Sun Jiang Dong <hasjd () cn ! ibm ! com>
Date:       2005-05-28 11:11:50
Message-ID: 429851F6.6030305 () cn ! ibm ! com
[Download RAW message or body]



Alan Robertson wrote:
> vegasrio@yahoo.co.jp wrote:
> 
>> I tried to compile heartbeat(1.2.3) in Fedora Core 4, but the error
>> occurred.
>>
>>  gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include
>> -I../../include -I../../include -I../../linux-ha -I../../linux-ha
>> -I../../libltdl -I../../libltdl -I/usr/include/glib-1.2
>> -I/usr/lib/glib/include -I/usr/include/libxml2 -g -O2
>> -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
>> -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual
>> -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute
>> -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long
>> -Werror -ggdb3 -DALIGNFUNC= -DMSGHDR_TYPE=msghdr -g -O2
>> -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations
>> -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual
>> -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute
>> -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long
>> -Werror -ggdb3 -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c
>> -fPIC -DPIC -o .libs/base64.o
>> cc1: warnings being treated as errors
>> base64.c: In function 'base64_to_binary':
>> base64.c:195: warning: pointer targets in assignment differ in
>> signedness
>> gmake[2]: *** [base64.lo] Error 1
>> gmake[2]: Leaving directory
>> `/usr/src/redhat/BUILD/heartbeat-1.2.3/lib/clplumbing'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory
>> `/usr/src/redhat/BUILD/heartbeat-1.2.3/lib'
>> make: *** [all-recursive] Error 1
>>
>> In Fedora Core 3, it was successfully complied.
>>
>> What should I check ?
> 
> 
> This is fixed in CVS.  
Alan, do you mean version 1.2.3?
BTW, I have not carefully reviewed my former fixes about gcc4 yet. Plan to do it this week.

>But, you should just enable 
> --disable-fatal-warnings and try again...
> 
> 

-- 
BRs,

Sun Jiang Dong

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic