[Opendnssec-user] softHSMv2 trunk build fails at 'make' --> error: ‘swap_global_state’ is not a member of ‘Botan’

dchilton+opendnssec at bestmail.us dchilton+opendnssec at bestmail.us
Sun May 1 00:06:35 UTC 2011


trying to get around problems with softHSMv1, i'm building softHSMv2
from svn trunk.

i've built botan 1.9.17 from src
(http://botan.randombit.net/files/Botan-1.9.17.tgz) as prereq.

cd softHSMv2
sh autogen.sh
./configure --localstatedir=/var/lib --with-crypto-backend=botan
--with-botan=/usr/local --without-openssl --with-loglevel=4
make

fails at,

...
g++ -DHAVE_CONFIG_H -I. -I../../..  -I./../../lib/cryptoki_compat
-I./../common -I/usr/local/include   -g -O2 -MT library.o -MD -MP -MF
.deps/library.Tpo -c -o library.o `test -f '../common/library.cpp' ||
echo './'`../common/library.cpp
g++ -DHAVE_CONFIG_H -I. -I../../..  -I./../../lib/cryptoki_compat
-I./../common -I/usr/local/include   -g -O2 -MT softhsm-util-botan.o -MD
-MP -MF .deps/softhsm-util-botan.Tpo -c -o softhsm-util-botan.o
softhsm-util-botan.cpp
mv -f .deps/library.Tpo .deps/library.Po
mv -f .deps/getpw.Tpo .deps/getpw.Po
softhsm-util-botan.cpp: In function ‘void crypto_init()’:
softhsm-util-botan.cpp:57:32: error: ‘swap_global_state’ is not a member
of ‘Botan’
softhsm-util-botan.cpp:59:2: error: ‘swap_global_state’ is not a member
of ‘Botan’
mv -f .deps/softhsm-util.Tpo .deps/softhsm-util.Po
make[4]: *** [softhsm-util-botan.o] Error 1
make[4]: Leaving directory `/work/src/softHSM-svn/src/bin/util'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/work/src/softHSM-svn/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/work/src/softHSM-svn/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/src/softHSM-svn'
make: *** [all] Error 2




More information about the Opendnssec-user mailing list