[Pacemaker] [Problem]A compilation error of Pacemaker1.1.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Wed Aug 4 00:34:20 EDT 2010


I compiled Pacemaker1.1.

But, the next error happened.

[root at srv01 Pacemaker-1-1-5ce5b34cf3ab]# export PREFIX=/usr;export
LCRSODIR=$PREFIX/libexec/lcrso;export CLUSTER_USER=hacluster;export CLUSTER_GROUP=haclient 

[root at srv01 Pacemaker-1-1-5ce5b34cf3ab]# ./autogen.sh && ./configure --prefix=$PREFIX
--localstatedir=/var --with-lcrso-dir=$LCRSODIR

[root at srv01 Pacemaker-1-1-5ce5b34cf3ab]# make install

s -Werror -fPIC -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c  -fPIC -DPIC -o .libs/utils.o
cc1: warnings being treated as errors
utils.c:65: warning: 'common' defined but not used
gmake[2]: *** [utils.lo] Error 1
gmake[2]: Leaving directory `/opt/Pacemaker-1-1-5ce5b34cf3ab/lib/common'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/opt/Pacemaker-1-1-5ce5b34cf3ab/lib'
make: *** [install-recursive] Error 1

My environment is as follows.

 * RHEL5.5(x64)
 * corosync 1.2.7
 * Pacemaker-1-1-5ce5b34cf3ab.tar
 * Cluster-Resource-Agents-bfcc4e050a07.tar
 * Reusable-Cluster-Components-8286b46c91e3.tar

Is there a problem in my compilation procedure?

Best Regards,
Hideo Yamauchi.

More information about the Pacemaker mailing list