[Pacemaker] compile error with stable-1.0/15618

Oliver Heinz oheinz at fbihome.de
Thu Jun 24 12:31:24 UTC 2010


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?


TIA,
Oliver









More information about the Pacemaker mailing list