[PYTHON-CRYPTO] MCrypto2 build problems for 0.15 tag

Ian Stokes-Rees i.stokes-rees1 at PHYSICS.OX.AC.UK
Tue Oct 25 16:37:04 CEST 2005


I have just downloaded the 0.15 tag of MCrypto2 from mid-August.  I get 
a host of SWIG errors when I try to build.  I am using:

Python 2.4
Swig 1.3.25
OpenSSL 0.9.7g

This is on Scientific Linux SL release 3.0.5 (SL) (an off-shoot of 
Fedora and RHEL).

Anyone know what would cause this?  It looks like something is being 
included twice.

Cheers, Ian

FWIW, here are a few of the error messages:

SWIG/_pkcs7.i:19: Warning(121): %name is deprecated.  Use %rename instead.
SWIG/_m2crypto_wrap.c: In function `sign_final':
SWIG/_m2crypto_wrap.c:3137: warning: unused variable `ret'
SWIG/_m2crypto_wrap.c: At top level:
SWIG/_m2crypto_wrap.c:4302: conflicting types for `SSL_get_version'
/usr/local/include/openssl/ssl.h:1327: previous declaration of 
`SSL_get_version'
SWIG/_m2crypto_wrap.c:4303: conflicting types for `SSL_get_error'
/usr/local/include/openssl/ssl.h:1326: previous declaration of 
`SSL_get_error'
SWIG/_m2crypto_wrap.c:4317: conflicting types for `SSL_CTX_get_verify_depth'
/usr/local/include/openssl/ssl.h:1249: previous declaration of 
`SSL_SESSION_get_timeout'
SWIG/_m2crypto_wrap.c: In function `ssl_session_read_pem':
SWIG/_m2crypto_wrap.c:4832: warning: function declaration isn't a prototype
SWIG/_m2crypto_wrap.c: In function `ssl_session_write_pem':
SWIG/_m2crypto_wrap.c:4836: warning: function declaration isn't a prototype
SWIG/_m2crypto_wrap.c: At top level:
SWIG/_m2crypto_wrap.c:4900: conflicting types for `X509_NAME_ENTRY_set_data'
/usr/local/include/openssl/x509.h:1052: previous declaration of 
`X509_NAME_ENTRY_set_data'
SWIG/_m2crypto_wrap.c:4903: warning: function declaration isn't a prototype
SWIG/_m2crypto_wrap.c:1425: warning: `RCS_id' defined but not used
error: command 'gcc' failed with exit status 1

-- 
Ian Stokes-Rees                 i.stokes-rees at physics.ox.ac.uk
Particle Physics, Oxford        http://www-pnp.physics.ox.ac.uk/~stokes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i.stokes-rees1.vcf
Type: text/x-vcard
Size: 338 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20051025/af67cbb3/attachment.vcf>


More information about the python-crypto mailing list