[Pacemaker] build problem: HA_LIBDIR/HA_HBCONF_DIR redefined
Dejan Muhamedagic
dejanmm at fastmail.fm
Fri Oct 2 14:02:41 UTC 2009
Hi,
On Fri, Oct 02, 2009 at 01:55:47PM +0200, Johan Verrept wrote:
> Hello,
>
> I am trying to build pacemaker 1.0.5, I get the following error:
How do you try to build? Using rpmbuild here on OpenSUSE 11.2 MS8
works without problems. I don't have debian box available, so I
can't test the debian build process.
Thanks,
Dejan
> make[2]: Entering directory
> `/root/work/Pacemaker-1-0-Pacemaker-1.0.5/fencing/stonithd'
> if gcc -std=gnu99 -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../.. -I/ub/include/glib-2.0 -I/ub/lib/glib-2.0/include
> -I/ub/include/libxml2 -I../../include -I../../include -I../../libltdl
> -I../../libltdl -I../../linux-ha -I../../linux-ha -I../..
> -I../.. -g -O2 -I/ub/include/heartbeat -ggdb3 -O0 -fgnu89-inline
> -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast
> -Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels
> -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline
> -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute
> -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith
> -Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY
> -Werror -MT stonithd.o -MD -MP -MF ".deps/stonithd.Tpo" -c -o stonithd.o
> stonithd.c; \
> then mv -f ".deps/stonithd.Tpo" ".deps/stonithd.Po"; else rm -f
> ".deps/stonithd.Tpo"; exit 1; fi
> In file included from /ub/include/heartbeat/heartbeat.h:38,
> from stonithd.c:92:
> /ub/include/heartbeat/hb_config.h:37:1: error: "HA_LIBDIR" redefined
> In file included from /ub/include/pils/plugin.h:24,
> from stonithd.c:77:
> /ub/include/heartbeat/glue_config.h:25:1: error: this is the location
> of the previous definition
> In file included from /ub/include/heartbeat/heartbeat.h:38,
> from stonithd.c:92:
> /ub/include/heartbeat/hb_config.h:40:1: error: "HA_HBCONF_DIR"
> redefined
> In file included from /ub/include/pils/plugin.h:24,
> from stonithd.c:77:
> /ub/include/heartbeat/glue_config.h:92:1: error: this is the location
> of the previous definition
> make[2]: *** [stonithd.o] Error 1
> make[2]: Leaving directory
> `/root/work/Pacemaker-1-0-Pacemaker-1.0.5/fencing/stonithd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/root/work/Pacemaker-1-0-Pacemaker-1.0.5/fencing'
> make: *** [all-recursive] Error 1
>
> This is with:
> clusterglue 1.0.0
> resource-agents 1.0.0
> heartbeat 3.0.0
> pacemaker 1.0.5
>
> This should be all package tips from today. Am I using wrong version or
> is this a bug?
>
> Regards,
>
> Johan
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
More information about the Pacemaker
mailing list