473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Build problem, pyopenssl on win32 vs2003.

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?

--
Darrin
Jun 12 '07 #1
0 1365

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephen C. Waterbury | last post by:
I'm trying to get pyOpenSSL to work with Python 2.3c on Red Hat 9, but there seems to be a Python C API incompatibility. I assume this just means that a new version of pyOpenSSL is needed for...
0
by: webmaster | last post by:
The last pyOpenSSL has been released in September 2002. pyOpenSSL is dead or not?
0
by: Scott Chapman | last post by:
The pyOpenSSL list is _very_ quiet. I'm hoping somebody here knows how to do this: openssl smime -sign -in $tempfile -signer /path/to/my_cert -inkey /path/to/my_key -outform der -nodetach...
5
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class...
2
by: Mike Meng | last post by:
Hi all, I'm learning Twisted and downloaded pyOpenSSL and pycrypto win32 installer on http://twisted.sourceforge.net/contrib/ . But I find the lastest version are for Python 2.3. I try to...
0
by: mauro | last post by:
Hi all, I am trying to make a package distribution containing some extension module written in C. The problem is that when I run setup.py some files are generated in the wrong position. Suppose...
0
by: Jack | last post by:
Since I don't have VS2003, I'm trying to build cjson with MingW and Cygwin but I'm getting lots of errors like these: build\temp.win32-2.5\Release\cjson.o(.text+0x8e):cjson.c: undefined...
0
by: Jean-Paul Calderone | last post by:
pyOpenSSL is a wrapper around a subset of the OpenSSL API, including support for X509 certificates, public and private keys, and and SSL connections. pyOpenSSL 0.7 fixes a number of memory leaks...
0
by: eGenix Team: M.-A. Lemburg | last post by:
________________________________________________________________________ ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.7.0-0.9.8i-1 An easy to install and use repackaged...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.