[Botan-devel] Linux compilation issue - secmem.h

John Proffer jproffer at vli-dc.com
Tue Jun 26 10:59:08 EDT 2007


Hi, I've gotten the client portion working - and am now focusing on the 
server.  However, when I try to compile my code, I get errors in when 
using Botan::SecureVector<byte>, from Botan's secmem.h:

/usr/local/include/botan/secmem.h: In member function 
âBotan::MemoryVector<T>& Botan::MemoryVector<T>::operator=(const 
Botan::MemoryRegion<T>&)â:
/usr/local/include/botan/secmem.h:163: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In constructor 
âBotan::MemoryVector<T>::MemoryVector(const T*, Botan::u32bit)â:
/usr/local/include/botan/secmem.h:167: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In constructor 
âBotan::MemoryVector<T>::MemoryVector(const Botan::MemoryRegion<T>&)â:
/usr/local/include/botan/secmem.h:169: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In constructor 
âBotan::MemoryVector<T>::MemoryVector(const Botan::MemoryRegion<T>&, 
const Botan::MemoryRegion<T>&)â:
/usr/local/include/botan/secmem.h:171: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In member function 
âBotan::SecureVector<T>& Botan::SecureVector<T>::operator=(const 
Botan::MemoryRegion<T>&)â:
/usr/local/include/botan/secmem.h:182: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In constructor 
âBotan::SecureVector<T>::SecureVector(const T*, Botan::u32bit)â:
/usr/local/include/botan/secmem.h:186: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In constructor 
âBotan::SecureVector<T>::SecureVector(const Botan::MemoryRegion<T>&)â:
/usr/local/include/botan/secmem.h:188: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In constructor 
âBotan::SecureVector<T>::SecureVector(const Botan::MemoryRegion<T>&, 
const Botan::MemoryRegion<T>&)â:
/usr/local/include/botan/secmem.h:190: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In member function 
âBotan::SecureBuffer<T, L>& Botan::SecureBuffer<T, L>::operator=(const 
Botan::SecureBuffer<T, L>&)â:
/usr/local/include/botan/secmem.h:201: error: missing template arguments 
before â(â token
/usr/local/include/botan/secmem.h: In member function 
âBotan::SecureBuffer<T, L>& Botan::SecureBuffer<T, L>::operator=(const 
Botan::MemoryRegion<T>&)â:
/usr/local/include/botan/secmem.h:208: error: missing template arguments 
before â(â token


I'm using Botan 1.6.2, GCC 4.0.2 with glibc 2.3.6 on FC4 with kernel 
2.6.13.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jproffer.vcf
Type: text/x-vcard
Size: 392 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20070626/4616e528/attachment.vcf>


More information about the botan-devel mailing list