[Pacemaker] compile error with stable-1.0/15618
Dejan Muhamedagic
dejanmm at fastmail.fm
Thu Jun 24 13:43:35 UTC 2010
Hi,
On Thu, Jun 24, 2010 at 02:31:24PM +0200, Oliver Heinz wrote:
>
> I'm trying to rebuild debian packages for the current stable-1.0 branch in the
> repository on debian squeeze.
>
> Rebuilding the debian packages (pacemaker-1.0.8+hg15494) works fine so build
> dependencies should be satisfied (unless library version requirements changed).
>
> I get:
> Making all in pengine
> make[2]: Entering directory
> `/usr/src/packages/pacemaker/pacemaker-1.0.9.1+hg15618/pengine'
> /bin/bash ../libtool --tag=CC --tag=CC --mode=link gcc -std=gnu99 -Wall -g
> -I../../../.. -I../../../../include -O2 -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 -o pengine main.o ../lib/common/libcrmcommon.la
> ../lib/pengine/libpe_status.la libpengine.la -lncurses -lhbclient -lccmclient
> ../lib/cib/libcib.la -lgnutls -lbz2 -lplumb -lpils -luuid -lxslt -lxml2 -lc -
> lpam -lrt -ldl -lglib-2.0 -lltdl
> libtool: link: gcc -std=gnu99 -Wall -g -I../../../.. -I../../../../include -O2
> -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 -o .libs/pengine
> main.o ../lib/common/.libs/libcrmcommon.so
> ../lib/pengine/.libs/libpe_status.so ./.libs/libpengine.so -lncurses
> /usr/lib/libhbclient.so /usr/lib/libccmclient.so ../lib/cib/.libs/libcib.so
> /usr/lib/libgnutls.so -lbz2 /usr/lib/libplumb.so /usr/lib/libpils.so -luuid
> /usr/lib/libxslt.so /usr/lib/libxml2.so -lc -lpam -lrt -ldl
> /usr/lib/libglib-2.0.so /usr/lib/libltdl.so
> ../lib/common/.libs/libcrmcommon.so: undefined reference to `sub_longclock'
> collect2: ld returned 1 exit status
> make[2]: *** [pengine] Error 1
> make[2]: Leaving directory
> `/usr/src/packages/pacemaker/pacemaker-1.0.9.1+hg15618/pengine'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/src/packages/pacemaker/pacemaker-1.0.9.1+hg15618'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
> Any Ideas what's wrong? Where should sub_longclock() come from?
It's in cluster-glue. Please note that the cluster-glue is going
to get some patches today or tomorrow which would make it work
better with 1.0.9 under some circumstances. More details here:
http://developerbugs.linux-foundation.org/show_bug.cgi?id=2439
So, it would pay off to wait a bit for the new cluster-glue
release.
Thanks,
Dejan
>
> TIA,
> Oliver
>
>
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list