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

Jack Lloyd lloyd at randombit.net
Tue Jun 26 10:55:09 EDT 2007


These are stock sources? And the library and test application both
built fine?

On Tue, Jun 26, 2007 at 10:59:08AM -0400, John Proffer wrote:
> 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

> begin:vcard
> fn:Johnathan Proffer
> n:Proffer;Johnathan
> org:Visual Language Interpreting;Information Technology
> adr;dom:STE B1;;1330 New Hampshire Ave. NW;Washington;DC;20036
> email;internet:jproffer at vli-dc.com
> tel;work:202.464.6800
> tel;fax:202.464.6810
> note;quoted-printable:AIM: jprofferVLI=0D=0A=
> 	VP: proffer.vli-dc.com
> x-mozilla-html:TRUE
> url:https://www.aboutvli.com
> version:2.1
> end:vcard
> 

> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://www.randombit.net/mailman/listinfo/botan-devel




More information about the botan-devel mailing list