[Opendnssec-develop] Building SoftHSM RC 1

Greg.Rabil at ins.com Greg.Rabil at ins.com
Mon Jul 6 20:52:30 UTC 2009


Hello OpenDNSSEC folks,
I am trying to build the SoftHSM on RHEL 5.  I have installed the required Botan 1.8.2 and SQLite 3.6.16, but I receive the following error when trying to "make" the softhsm:

[root at onyx libsofthsm-1.0.0-RC1]# make
Making all in src
make[1]: Entering directory `/tmp/libsofthsm-1.0.0-RC1/src'
Making all in bin
make[2]: Entering directory `/tmp/libsofthsm-1.0.0-RC1/src/bin'
g++ -DPACKAGE_NAME=\"libsofthsm\" -DPACKAGE_TARNAME=\"libsofthsm\" -DPACKAGE_VERSION=\"1.0.0-RC1\" -DPACKAGE_STRING=\"libsofthsm\ 1.0.0-RC1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsofthsm\" -DVERSION=\"1.0.0-RC1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DSOFTLOGLEVEL=3 -DHAVE_LIBSQLITE3=1 -DVERSION_MAJOR=1 -DVERSION_MINOR=0 -DHAVE_DLFCN_H=1 -I.  -I.   -g -O2 -I/usr/local/include -I/usr/local/include -MT softhsm-softhsm.o -MD -MP -MF .deps/softhsm-softhsm.Tpo -c -o softhsm-softhsm.o `test -f 'softhsm.cpp' || echo './'`softhsm.cpp
mv -f .deps/softhsm-softhsm.Tpo .deps/softhsm-softhsm.Po
/bin/sh ../../libtool --tag=CXX   --mode=link g++  -g -O2 -I/usr/local/include -I/usr/local/include  -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -o softhsm softhsm-softhsm.o  -lsqlite3  -lbotan
mkdir .libs
g++ -g -O2 -I/usr/local/include -I/usr/local/include -o softhsm softhsm-softhsm.o  -L/usr/local/lib /usr/local/lib/libsqlite3.so -lbotan   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
make[2]: Leaving directory `/tmp/libsofthsm-1.0.0-RC1/src/bin'
Making all in lib
make[2]: Entering directory `/tmp/libsofthsm-1.0.0-RC1/src/lib'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"libsofthsm\" -DPACKAGE_TARNAME=\"libsofthsm\" -DPACKAGE_VERSION=\"1.0.0-RC1\" -DPACKAGE_STRING=\"libsofthsm\ 1.0.0-RC1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsofthsm\" -DVERSION=\"1.0.0-RC1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DSOFTLOGLEVEL=3 -DHAVE_LIBSQLITE3=1 -DVERSION_MAJOR=1 -DVERSION_MINOR=0 -DHAVE_DLFCN_H=1 -I.  -I.   -g -O2 -I/usr/local/include -I/usr/local/include -MT libsofthsm_la-main.lo -MD -MP -MF .deps/libsofthsm_la-main.Tpo -c -o libsofthsm_la-main.lo `test -f 'main.cpp' || echo './'`main.cpp
mkdir .libs
 g++ -DPACKAGE_NAME=\"libsofthsm\" -DPACKAGE_TARNAME=\"libsofthsm\" -DPACKAGE_VERSION=\"1.0.0-RC1\" "-DPACKAGE_STRING=\"libsofthsm 1.0.0-RC1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsofthsm\" -DVERSION=\"1.0.0-RC1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DSOFTLOGLEVEL=3 -DHAVE_LIBSQLITE3=1 -DVERSION_MAJOR=1 -DVERSION_MINOR=0 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -I/usr/local/include -I/usr/local/include -MT libsofthsm_la-main.lo -MD -MP -MF .deps/libsofthsm_la-main.Tpo -c main.cpp  -fPIC -DPIC -o .libs/libsofthsm_la-main.o
main.cpp: In function âCK_RV C_SeedRandom(CK_SESSION_HANDLE, CK_BYTE*, CK_ULONG)â:
main.cpp:2725: error: no matching function for call to âBotan::AutoSeeded_RNG::reseed()â
/usr/local/include/botan/auto_rng.h:30: note: candidates are: virtual void Botan::AutoSeeded_RNG::reseed(Botan::u32bit)
make[2]: *** [libsofthsm_la-main.lo] Error 1
make[2]: Leaving directory `/tmp/libsofthsm-1.0.0-RC1/src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libsofthsm-1.0.0-RC1/src'
make: *** [all-recursive] Error 1

Any suggestions on how I might resolve this issue with "no matching function call to Botan::AutoSeeded_RNG::reseed()?

Regards,
Greg Rabil

A. Gregory Rabil | Lead Software Architect | BT Diamond IP |
Tel: +1 (610) 423-4770 | Fax: +1 (610) 423-4774 | Greg.Rabil at bt.com<mailto:Greg.Rabil at bt.com> |  http://bt.diamondip.com

This electronic message contains information from BT INS, Inc, which may be privileged
or confidential.  The information is intended for use only by the individual(s) or entity named above.  If you
are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of
this information is strictly prohibited.  If you have received this electronic message in error, please notify
me by telephone or email (to the number or email address above) immediately.

Activity and use of the BT INS, Inc  e-mail system is monitored to secure its effective
operation and for other lawful business purposes. Communications using this system will also be monitored
and may be recorded to secure effective operation and for other lawful business purposes.

BT INS Inc, 1600 Memorex Drive, Suite 200, Santa Clara California 95050-2842 ,United States

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20090706/efbebfef/attachment.htm>


More information about the Opendnssec-develop mailing list