Build problem, pyopenssl on win32 vs2003.

D

Darrin Thompson

I've been trying to build pyOpenSSL on Windows with Visual Studio
2003. I've hit the message below:

building 'OpenSSL.SSL' extension
creating build\temp.win32-2.5\Release\src\ssl
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c
/nologo /Ox /MD /W3 /GX /DNDEBUG -Ic:\OpenSSL\include
-Ic:\Python25\include -Ic:\Python25\PC /Tcsrc/ssl/connection.c
/Fobuild\temp.win32-2.5\Release\src/ssl/connection.obj
connection.c
c:\cygwin\home\pandora\build-toolchain\build\pyOpenSSL-0.6\src\crypto\x509name.h(27)
: error C2059: syntax error : '('
c:\cygwin\home\pandora\build-toolchain\build\pyOpenSSL-0.6\src\crypto\x509name.h(30)
: error C2059: syntax error : '}'
c:\OpenSSL\include\openssl\x509v3.h(185) : error C2059: syntax error : '('
c:\OpenSSL\include\openssl\x509v3.h(193) : error C2059: syntax error : 'type'
c:\OpenSSL\include\openssl\x509v3.h(197) : error C2059: syntax error : '}'

I dug in and looked at preprocessor output. For some reason, after
winsock.h is included, X509_NAME is replaced with ((LPCSTR) 7).

Oh, And I'm building against the windows binaries build by "shining
light productions".

Any ideas on how to fix this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top