Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

Pacemaker 0.6.5-2.2 does not compile under FC5

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


sergeyfd at gmail

Jul 21, 2008, 1:24 PM

Post #1 of 4 (261 views)
Permalink
Pacemaker 0.6.5-2.2 does not compile under FC5

Making all in cib
Compiling main.c: [ERROR]
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I../include -I../libltdl -I../libltdl -I/usr/include/openais
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -O2 -g -march=i386 -mcpu=i686
-I/usr/include/heartbeat -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 -ggdb3
-funsigned-char -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o
main.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
main.c: In function 'main':
main.c:150: error: 'DEFAULT_MAXDISPATCHTIME' undeclared (first use
in this function)
main.c:150: error: (Each undeclared identifier is reported only once
main.c:150: error: for each function it appears in.)
main.c:150: error: too many arguments to function 'set_sigchld_proctrack'
gmake[1]: *** [main.o] Error 1
make: *** [all-recursive] Error 1

Same problems for control.c under crmd.

Sources are from here:
http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_8/src/
--
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


beekhof at gmail

Jul 22, 2008, 2:05 AM

Post #2 of 4 (244 views)
Permalink
Re: Pacemaker 0.6.5-2.2 does not compile under FC5 [In reply to]

On Mon, Jul 21, 2008 at 22:24, Serge Dubrouski <sergeyfd[at]gmail.com> wrote:
> Making all in cib
> Compiling main.c: [ERROR]
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
> -I../include -I../libltdl -I../libltdl -I/usr/include/openais
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/libxml2 -O2 -g -march=i386 -mcpu=i686
> -I/usr/include/heartbeat -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 -ggdb3
> -funsigned-char -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o
> main.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> main.c: In function 'main':
> main.c:150: error: 'DEFAULT_MAXDISPATCHTIME' undeclared (first use
> in this function)
> main.c:150: error: (Each undeclared identifier is reported only once
> main.c:150: error: for each function it appears in.)
> main.c:150: error: too many arguments to function 'set_sigchld_proctrack'
> gmake[1]: *** [main.o] Error 1
> make: *** [all-recursive] Error 1
>
> Same problems for control.c under crmd.

strange. looks like clplumbing/GSource.h isnt being included by one
of the existing headers.
what heartbeat version do you have installed while you're compiling this?


>
> Sources are from here:
> http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_8/src/
> --
> Serge Dubrouski.
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


sergeyfd at gmail

Jul 22, 2008, 6:21 AM

Post #3 of 4 (241 views)
Permalink
Re: Pacemaker 0.6.5-2.2 does not compile under FC5 [In reply to]

On Tue, Jul 22, 2008 at 3:05 AM, Andrew Beekhof <beekhof[at]gmail.com> wrote:
> On Mon, Jul 21, 2008 at 22:24, Serge Dubrouski <sergeyfd[at]gmail.com> wrote:
>> Making all in cib
>> Compiling main.c: [ERROR]
>> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
>> -I../include -I../libltdl -I../libltdl -I/usr/include/openais
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>> -I/usr/include/libxml2 -O2 -g -march=i386 -mcpu=i686
>> -I/usr/include/heartbeat -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 -ggdb3
>> -funsigned-char -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o
>> main.c
>> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
>> main.c: In function 'main':
>> main.c:150: error: 'DEFAULT_MAXDISPATCHTIME' undeclared (first use
>> in this function)
>> main.c:150: error: (Each undeclared identifier is reported only once
>> main.c:150: error: for each function it appears in.)
>> main.c:150: error: too many arguments to function 'set_sigchld_proctrack'
>> gmake[1]: *** [main.o] Error 1
>> make: *** [all-recursive] Error 1
>>
>> Same problems for control.c under crmd.
>
> strange. looks like clplumbing/GSource.h isnt being included by one
> of the existing headers.
> what heartbeat version do you have installed while you're compiling this?
>

$ rpm -qa | grep heartbeat
heartbeat-devel-2.1.3-23.1
heartbeat-common-2.1.3-23.1
heartbeat-2.1.3-23.1
heartbeat-common-devel-2.1.3-23.1
heartbeat-resources-2.1.3-23.1
[sdubrov[at]fc-node1 ~]$

>
>>
>> Sources are from here:
>> http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_8/src/
>> --

--
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


sergeyfd at gmail

Jul 22, 2008, 9:34 AM

Post #4 of 4 (242 views)
Permalink
Re: Pacemaker 0.6.5-2.2 does not compile under FC5 [In reply to]

Please sorry and forget about it, the problem was on my building host.

On Tue, Jul 22, 2008 at 7:21 AM, Serge Dubrouski <sergeyfd[at]gmail.com> wrote:
> On Tue, Jul 22, 2008 at 3:05 AM, Andrew Beekhof <beekhof[at]gmail.com> wrote:
>> On Mon, Jul 21, 2008 at 22:24, Serge Dubrouski <sergeyfd[at]gmail.com> wrote:
>>> Making all in cib
>>> Compiling main.c: [ERROR]
>>> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
>>> -I../include -I../libltdl -I../libltdl -I/usr/include/openais
>>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>>> -I/usr/include/libxml2 -O2 -g -march=i386 -mcpu=i686
>>> -I/usr/include/heartbeat -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 -ggdb3
>>> -funsigned-char -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o
>>> main.c
>>> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
>>> main.c: In function 'main':
>>> main.c:150: error: 'DEFAULT_MAXDISPATCHTIME' undeclared (first use
>>> in this function)
>>> main.c:150: error: (Each undeclared identifier is reported only once
>>> main.c:150: error: for each function it appears in.)
>>> main.c:150: error: too many arguments to function 'set_sigchld_proctrack'
>>> gmake[1]: *** [main.o] Error 1
>>> make: *** [all-recursive] Error 1
>>>
>>> Same problems for control.c under crmd.
>>
>> strange. looks like clplumbing/GSource.h isnt being included by one
>> of the existing headers.
>> what heartbeat version do you have installed while you're compiling this?
>>
>
> $ rpm -qa | grep heartbeat
> heartbeat-devel-2.1.3-23.1
> heartbeat-common-2.1.3-23.1
> heartbeat-2.1.3-23.1
> heartbeat-common-devel-2.1.3-23.1
> heartbeat-resources-2.1.3-23.1
> [sdubrov[at]fc-node1 ~]$
>
>>
>>>
>>> Sources are from here:
>>> http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_8/src/
>>> --
>
> --
> Serge Dubrouski.
>



--
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.