[Botan-devel] Build Problems with VC7 and Botan 1.6.3

Helms, Jim jhelms at drti.com
Mon Nov 12 15:25:52 EST 2007


Hello,

 

I'm having some trouble building Botan 1.6.3 on my Windows machine.  The
perl script ran fine, but when I go to actually nmake the file I get the
following errors:

 

src\x509stat.cpp(53) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Key_Usage_Prototype::make(const
Botan::OID &)' : function cannot access 'Botan::OIDS'

src\x509stat.cpp(53) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Key_Usage_Prototype::make(const
Botan::OID &)' : function cannot access 'Botan::Cert_Extension'

src\x509stat.cpp(54) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Basic_Constraints_Prototype::make(cons
t Botan::OID &)' : function cannot access 'Botan::OIDS'

src\x509stat.cpp(54) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Basic_Constraints_Prototype::make(cons
t Botan::OID &)' : function cannot access 'Botan::Cert_Extension'

src\x509stat.cpp(55) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Subject_Key_ID_Prototype::make(const
Botan::OID &)' : function cannot access 'Botan::OIDS'

src\x509stat.cpp(55) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Subject_Key_ID_Prototype::make(const
Botan::OID &)' : function cannot access 'Botan::Cert_Extension'

src\x509stat.cpp(56) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Authority_Key_ID_Prototype::make(const
Botan::OID &)' : function cannot access 'Botan::OIDS'

src\x509stat.cpp(56) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Authority_Key_ID_Prototype::make(const
Botan::OID &)' : function cannot access 'Botan::Cert_Extension'

src\x509stat.cpp(57) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Extended_Key_Usage_Prototype::make(con
st Botan::OID &)' : function cannot access 'Botan::OIDS'

src\x509stat.cpp(57) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Extended_Key_Usage_Prototype::make(con
st Botan::OID &)' : function cannot access 'Botan::Cert_Extension'

src\x509stat.cpp(58) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Issuer_Alternative_Name_Prototype::mak
e(const Botan::OID &)' : function cannot access 'Botan::OIDS'

src\x509stat.cpp(58) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Issuer_Alternative_Name_Prototype::mak
e(const Botan::OID &)' : function cannot access 'Botan::Cert_Extension'

src\x509stat.cpp(59) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Subject_Alternative_Name_Prototype::ma
ke(const Botan::OID &)' : function cannot access 'Botan::OIDS'

src\x509stat.cpp(59) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Subject_Alternative_Name_Prototype::ma
ke(const Botan::OID &)' : function cannot access 'Botan::Cert_Extension'

src\x509stat.cpp(60) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::CRL_Number_Prototype::make(const
Botan::OID &)' : function cannot access 'Botan::OIDS'

src\x509stat.cpp(60) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::CRL_Number_Prototype::make(const
Botan::OID &)' : function cannot access 'Botan::Cert_Extension'

src\x509stat.cpp(61) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Certificate_Policies_Prototype::make(c
onst Botan::OID &)' :function cannot access 'Botan::OIDS'

src\x509stat.cpp(61) : error C2326: 'Botan::Certificate_Extension
*Botan::X509_GlobalState::__ctor::Certificate_Policies_Prototype::make(c
onst Botan::OID &)' :function cannot access 'Botan::Cert_Extension'

 

I looked at the code and everything looks alright there, so I'm hoping
this is a simple environment problem on my end.  Here are my INCLUDE and
LIB variables:

 

INCLUDE=C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include;C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include;C:\Program Files\Microsoft Visual Studio
.NET 2003\SDK\v1.1\include\

 

LIB=C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib;C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Lib;C:\Program Files\Microsoft

 Visual Studio .NET 2003\SDK\v1.1\Lib\

 

I recently switched from a VC6 environment up to VC7, so I may well have
missed something important.

 

Thank you for your help.

Jim Helms

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.randombit.net/pipermail/botan-devel/attachments/20071112/3154f61d/attachment.htm


More information about the botan-devel mailing list