< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
I’m
using separate .vcproj files (resip,dum,rutil) and building openssl separate so
it must be either the .vcproj differences or the openssl build. The error
occurs when compiling winsecurity.cxx (below). I did notice this in
ossl_typ.h: #ifdef
OPENSSL_SYS_WIN32 #undef
X509_NAME Not
sure if it has anything to do with my problem, but makes me think that my
openssl build may be doing something different. 1>Compiling... 1>WinSecurity.cxx \x509v3.h(185) : error C2059: syntax error :
'constant' 1> <my app dir>\3rdparty\openssl\include\openssl\x509v3.h(185)
: error C2059: syntax error : ')' 1> <my app dir>\3rdparty\openssl\include\openssl\x509v3.h(185)
: error C2238: unexpected token(s) preceding ';' 1> <my app dir>\3rdparty\openssl\include\openssl\x509v3.h(193)
: error C2059: syntax error : 'constant' 1> <my app dir>\3rdparty\openssl\include\openssl\x509v3.h(193)
: error C2059: syntax error : ')' 1> <my app dir>\3rdparty\openssl\include\openssl\x509v3.h(193)
: error C2238: unexpected token(s) preceding ';' 1> <my app dir>\3rdparty\openssl\include\openssl\x509v3.h(627)
: error C2065: 'nm' : undeclared identifier 1> <my app dir>\3rdparty\openssl\include\openssl\x509v3.h(627)
: error C2065: 'dn_sk' : undeclared identifier 1> <my app dir>\3rdparty\openssl\include\openssl\x509v3.h(627)
: error C2275: 'STACK' : illegal use of this type as an _expression_ 1> <my
app dir>\3rdparty\openssl\include\openssl\stack.h(74) : see declaration of
'STACK' 1><my
app dir>\3rdparty\openssl\include\openssl\x509v3.h(628) : error C2062: type
'unsigned long' unexpected From: slgodin@xxxxxxxxx
[mailto:slgodin@xxxxxxxxx] On Behalf Of Scott Godin OK - I just switched to openssl 0.9.8k and VS 2008 and I'm
not having the same issue. I wonder what is different between our
configurations. Scott On Wed, May 27, 2009 at 9:22 PM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote: Ah - it's probably related to 0.9.8k then, since I'm pretty
sure I'm using an older release. I try out the newer release when I get a
chance, to see if I see the same thing. Scott On Wed, May 27, 2009 at 5:00 PM, Justin Matthews <jmatthewsr@xxxxxxxxx>
wrote: Using openssl 0.9.8k and the SSL-Debug or
SSL-Release config on visual studio 2008, wincrypt.h needed to be moved ahead
of any openssl headers in winsecurity.cxx: #ifdef USE_SSL #include <Wincrypt.h> #include
"resip/stack/ssl/WinSecurity.hxx" -justin From: slgodin@xxxxxxxxx
[mailto:slgodin@xxxxxxxxx]
On Behalf Of Scott Godin I don't require this header in order to build on Windows. What
definitions are the compiler complaining about being missing? Scott On Tue, May 26, 2009 at 12:14 PM, Justin Matthews <jmatthewsr@xxxxxxxxx>
wrote: I believe this header is required on
Windows? Thanks, -justin
|