(unknown)

Mike <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <PYTHON-CRYPTO%[email protected]>
Ok, I installed swig 1.3.21 and openssl 0.9.7f as you recommended, but I'm
having the same problem. Here are the details on what I did.

- Installed OpenSSL 0.9.7f; ran tests (all ran OK). Did "make install"
- Copied *.a from /usr/local/ssl/lib to /usr/local/lib
- Copied (recursively) /usr/local/ssl/include/openssl to /usr/local/include
- CD'd to /usr/local/src/m2crypto-0.13
- Issued command "python setup.py build"

The new output is attached. It looks like the deprecation warnings went
away, but I still get a lot of warnings that cause gcc to fail.

Appreciate the help...

Mike

-----Original Message-----
From: generic crypto class API for Python
[mailto:[email protected]] On Behalf Of Marco Bizzarri
Sent: Thursday, July 28, 2005 11:26 AM
To: [email protected]
Subject: 

IIRC:

try with:


swig 1.3.21
openssl 0.9.7f

Regards
Marco

Mike wrote:
> Hello,
> 
> I'm trying to compile and install M2Crypto version 0.13 with the 0.13.1
> patch. I tried this several times thinking that the version of OpenSSL was
> incompatible with this version of M2Crypto. My configuration is as
follows:
> 
> Redhat 7.3
> Openssl version 0.9.7g
> Swig 1.3.25
> Python 2.4.1
> 
> When issuing "python setup.py build," get a ton of warnings (which
> eventually causes compilation to fail). The full error text is attached.
Can
> anybody help?
> 
> Thanks.
> Mike
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> [root@server1 m2crypto-0.13]# python setup.py build
> running build
> running build_py
> not copying M2Crypto/ASN1.py (output up-to-date)
> not copying M2Crypto/AuthCookie.py (output up-to-date)
> not copying M2Crypto/BIO.py (output up-to-date)
> not copying M2Crypto/DH.py (output up-to-date)
> not copying M2Crypto/DSA.py (output up-to-date)
> not copying M2Crypto/EVP.py (output up-to-date)
> not copying M2Crypto/Err.py (output up-to-date)
> not copying M2Crypto/RC4.py (output up-to-date)
> not copying M2Crypto/RSA.py (output up-to-date)
> not copying M2Crypto/Rand.py (output up-to-date)
> not copying M2Crypto/SMIME.py (output up-to-date)
> not copying M2Crypto/X509.py (output up-to-date)
> not copying M2Crypto/__init__.py (output up-to-date)
> not copying M2Crypto/callback.py (output up-to-date)
> not copying M2Crypto/ftpslib.py (output up-to-date)
> not copying M2Crypto/httpslib.py (output up-to-date)
> not copying M2Crypto/m2.py (output up-to-date)
> not copying M2Crypto/m2urllib.py (output up-to-date)
> not copying M2Crypto/m2xmlrpclib.py (output up-to-date)
> not copying M2Crypto/threading.py (output up-to-date)
> not copying M2Crypto/util.py (output up-to-date)
> not copying M2Crypto/_version.py (output up-to-date)
> not copying M2Crypto/SSL/Cipher.py (output up-to-date)
> not copying M2Crypto/SSL/Connection.py (output up-to-date)
> not copying M2Crypto/SSL/Context.py (output up-to-date)
> not copying M2Crypto/SSL/Error.py (output up-to-date)
> not copying M2Crypto/SSL/SSLServer.py (output up-to-date)
> not copying M2Crypto/SSL/Session.py (output up-to-date)
> not copying M2Crypto/SSL/__init__.py (output up-to-date)
> not copying M2Crypto/SSL/cb.py (output up-to-date)
> not copying M2Crypto/SSL/ssl_dispatcher.py (output up-to-date)
> not copying M2Crypto/SSL/timeout.py (output up-to-date)
> not copying M2Crypto/PGP/PublicKey.py (output up-to-date)
> not copying M2Crypto/PGP/PublicKeyRing.py (output up-to-date)
> not copying M2Crypto/PGP/RSA.py (output up-to-date)
> not copying M2Crypto/PGP/__init__.py (output up-to-date)
> not copying M2Crypto/PGP/constants.py (output up-to-date)
> not copying M2Crypto/PGP/packet.py (output up-to-date)
> running build_ext
> building '__m2crypto' extension
> swigging SWIG/_m2crypto.i to SWIG/_m2crypto.c
> swig -python -ISWIG -o SWIG/_m2crypto.c SWIG/_m2crypto.i
> SWIG/_lib.i:406: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_lib.i:407: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_lib.i:408: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_lib.i:409: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_lib.i:410: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_lib.i:411: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:11: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:12: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:13: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:14: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:15: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:17: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:18: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:19: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:20: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:21: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:22: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:23: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:24: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:26: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_bio.i:27: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_rand.i:6: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_rand.i:7: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_rand.i:8: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_rand.i:9: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:18: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:19: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:20: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:21: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:23: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:24: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:25: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:26: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:27: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:28: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:29: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:30: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:31: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:32: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:33: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:34: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:35: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:36: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:37: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:38: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:45: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:46: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:47: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:48: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:55: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:56: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:57: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:58: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:59: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:60: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:61: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:62: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:63: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:64: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:65: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:66: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:67: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:68: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:70: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:71: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:72: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_evp.i:73: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dh.i:14: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dh.i:15: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dh.i:16: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dh.i:17: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dh.i:18: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_rsa.i:14: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_rsa.i:15: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_rsa.i:16: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_rsa.i:17: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dsa.i:21: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dsa.i:22: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dsa.i:23: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_dsa.i:24: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:21: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:22: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:23: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:24: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:25: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:26: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:27: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:29: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:30: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:31: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:32: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:34: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:35: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:36: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:37: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:38: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:39: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:40: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:41: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:42: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:43: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:45: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:47: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:48: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:49: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:50: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:51: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:52: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:53: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:54: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:55: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:56: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:57: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:59: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:60: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:61: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:62: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:63: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:64: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:65: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:67: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:68: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:70: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:71: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:73: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:74: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:75: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:76: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:77: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:78: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_ssl.i:79: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:15: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:16: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:17: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:19: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:20: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:22: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:23: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:24: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:25: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:26: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:27: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:28: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:30: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:32: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:33: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:34: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:35: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:36: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:37: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:38: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:39: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:40: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:42: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:43: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:44: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:45: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:46: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:47: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:48: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:51: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:52: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:53: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:54: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:55: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:57: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:59: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:60: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_x509.i:61: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:14: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:15: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:16: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:17: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:18: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:19: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:21: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:22: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:23: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:25: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:26: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:27: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:28: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:29: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:30: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_asn1.i:32: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_pkcs7.i:18: Warning(121): %name is deprecated.  Use %rename instead.
> SWIG/_pkcs7.i:19: Warning(121): %name is deprecated.  Use %rename instead.
> gcc -g -O2 -fPIC -I/usr/local/src/m2crypto-0.13/SWIG -I/usr/local/include
-I/usr/include/python1.5 -c SWIG/_m2crypto.c -o bui    ld/temp.li
> nux-i686-1.5/_m2crypto.o -DTHREADING
> SWIG/_m2crypto.c: In function `PySwigObject_repr':
> SWIG/_m2crypto.c:663: warning: return makes pointer from integer without a
cast
> SWIG/_m2crypto.c: In function `PySwigPacked_repr':
> SWIG/_m2crypto.c:876: warning: return makes pointer from integer without a
cast
> SWIG/_m2crypto.c:878: warning: return makes pointer from integer without a
cast
> SWIG/_m2crypto.c: In function `PySwigPacked_str':
> SWIG/_m2crypto.c:887: warning: return makes pointer from integer without a
cast
> SWIG/_m2crypto.c:889: warning: return makes pointer from integer without a
cast
> SWIG/_m2crypto.c: At top level:
> SWIG/_m2crypto.c:3912: conflicting types for `SSL_get_error'
> /usr/local/include/openssl/ssl.h:1326: previous declaration of
`SSL_get_error'
> SWIG/_m2crypto.c:3926: conflicting types for `SSL_CTX_get_verify_depth'
> /usr/local/include/openssl/ssl.h:1281: previous declaration of
`SSL_CTX_get_verify_depth'
> SWIG/_m2crypto.c:3927: conflicting types for `SSL_CTX_get_verify_mode'
> /usr/local/include/openssl/ssl.h:1280: previous declaration of
`SSL_CTX_get_verify_mode'
> SWIG/_m2crypto.c:3937: conflicting types for `SSL_CTX_get_timeout'
> /usr/local/include/openssl/ssl.h:1175: previous declaration of
`SSL_CTX_get_timeout'
> SWIG/_m2crypto.c:3949: conflicting types for `SSL_pending'
> /usr/local/include/openssl/ssl.h:1194: previous declaration of
`SSL_pending'
> SWIG/_m2crypto.c:3950: conflicting types for `SSL_get_peer_certificate'
> /usr/local/include/openssl/ssl.h:1275: previous declaration of
`SSL_get_peer_certificate'
> SWIG/_m2crypto.c:3951: conflicting types for `SSL_get_current_cipher'
> /usr/local/include/openssl/ssl.h:1183: previous declaration of
`SSL_get_current_cipher'
> SWIG/_m2crypto.c:3952: conflicting types for `SSL_get_verify_mode'
> /usr/local/include/openssl/ssl.h:1207: previous declaration of
`SSL_get_verify_mode'
> SWIG/_m2crypto.c:3953: conflicting types for `SSL_get_verify_depth'
> /usr/local/include/openssl/ssl.h:1208: previous declaration of
`SSL_get_verify_depth'
> SWIG/_m2crypto.c:3954: conflicting types for `SSL_get_verify_result'
> /usr/local/include/openssl/ssl.h:1404: previous declaration of
`SSL_get_verify_result'
> SWIG/_m2crypto.c:3955: conflicting types for `SSL_get_SSL_CTX'
> /usr/local/include/openssl/ssl.h:1397: previous declaration of
`SSL_get_SSL_CTX'
> SWIG/_m2crypto.c:3956: conflicting types for `SSL_get_default_timeout'
> /usr/local/include/openssl/ssl.h:1372: previous declaration of
`SSL_get_default_timeout'
> SWIG/_m2crypto.c:3958: conflicting types for `SSL_get_cipher_list'
> /usr/local/include/openssl/ssl.h:1191: previous declaration of
`SSL_get_cipher_list'
> SWIG/_m2crypto.c:3959: conflicting types for `SSL_CIPHER_get_name'
> /usr/local/include/openssl/ssl.h:1186: previous declaration of
`SSL_CIPHER_get_name'
> SWIG/_m2crypto.c:3960: conflicting types for `SSL_CIPHER_get_version'
> /usr/local/include/openssl/ssl.h:1185: previous declaration of
`SSL_CIPHER_get_version'
> SWIG/_m2crypto.c:3961: conflicting types for `SSL_get_session'
> /usr/local/include/openssl/ssl.h:1395: previous declaration of
`SSL_get_session'
> SWIG/_m2crypto.c:3965: conflicting types for `SSL_SESSION_print'
> /usr/local/include/openssl/ssl.h:1260: previous declaration of
`SSL_SESSION_print'
> SWIG/_m2crypto.c:3967: conflicting types for `SSL_SESSION_get_timeout'
> /usr/local/include/openssl/ssl.h:1249: previous declaration of
`SSL_SESSION_get_timeout'
> SWIG/_m2crypto.c:4480: 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.c:16131: warning: `PyModule_AddObject' was declared
implicitly `extern' and later `static'
> SWIG/_m2crypto.c:1352: warning: previous declaration of
`PyModule_AddObject'
> error: command 'gcc' failed with exit status 1
> [root@server1 m2crypto-0.13]# uname -a
> Linux server1 2.4.18-3smp #1 SMP Thu Apr 18 06:59:55 EDT 2002 i686 unknown
m2crypto_error_2.txt (text/plain, 10.9 KB)
running build
running build_py
running build_ext
building '__m2crypto' extension
swig -python -ISWIG -o SWIG/_m2crypto.c SWIG/_m2crypto.i
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/src/m2crypto-0.13/SWIG -I/usr/local/includ                        e -I/usr/local/include/python2.4 -c SWIG/_m2crypto.c -o build/temp.linux-i686-2.4/SWIG/_m2crypto.o -DTHREADING
In file included from /usr/local/include/openssl/ui_compat.h:63,
                 from /usr/local/include/openssl/des_old.h:439,
                 from /usr/local/include/openssl/des.h:101,
                 from /usr/local/include/openssl/evp.h:93,
                 from SWIG/_m2crypto.c:861:
/usr/local/include/openssl/ui.h:220: warning: function declaration isn't a prototype
In file included from /usr/local/include/openssl/rsa.h:62,
                 from /usr/local/include/openssl/evp.h:141,
                 from SWIG/_m2crypto.c:861:
/usr/local/include/openssl/asn1.h:478: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:479: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:480: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:481: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:800: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:802: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:854: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:854: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:859: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:859: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:861: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:869: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:869: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:871: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:906: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:908: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:910: warning: function declaration isn't a prototype
/usr/local/include/openssl/asn1.h:912: warning: function declaration isn't a prototype
In file included from /usr/local/include/openssl/evp.h:141,
                 from SWIG/_m2crypto.c:861:
/usr/local/include/openssl/rsa.h:238: warning: function declaration isn't a prototype
/usr/local/include/openssl/rsa.h:239: warning: function declaration isn't a prototype
/usr/local/include/openssl/rsa.h:241: warning: function declaration isn't a prototype
/usr/local/include/openssl/rsa.h:242: warning: function declaration isn't a prototype
In file included from SWIG/_m2crypto.c:861:
/usr/local/include/openssl/evp.h:288: warning: function declaration isn't a prototype
/usr/local/include/openssl/evp.h:289: warning: function declaration isn't a prototype
In file included from /usr/local/include/openssl/ssl.h:171,
                 from SWIG/_m2crypto.c:863:
/usr/local/include/openssl/comp.h:15: warning: function declaration isn't a prototype
/usr/local/include/openssl/comp.h:16: warning: function declaration isn't a prototype
/usr/local/include/openssl/comp.h:17: warning: function declaration isn't a prototype
/usr/local/include/openssl/comp.h:18: warning: function declaration isn't a prototype
/usr/local/include/openssl/comp.h:19: warning: function declaration isn't a prototype
/usr/local/include/openssl/comp.h:20: warning: function declaration isn't a prototype
In file included from /usr/local/include/openssl/ssl.h:177,
                 from SWIG/_m2crypto.c:863:
/usr/local/include/openssl/x509.h:120: warning: function declaration isn't a prototype
/usr/local/include/openssl/x509.h:121: warning: function declaration isn't a prototype
In file included from /usr/local/include/openssl/ssl.h:177,
                 from SWIG/_m2crypto.c:863:
/usr/local/include/openssl/x509.h:912: warning: function declaration isn't a prototype
/usr/local/include/openssl/x509.h:915: warning: function declaration isn't a prototype
/usr/local/include/openssl/x509.h:918: warning: function declaration isn't a prototype
In file included from /usr/local/include/openssl/ssl.h:319,
                 from SWIG/_m2crypto.c:863:
/usr/local/include/openssl/pem.h:497: warning: function declaration isn't a prototype
/usr/local/include/openssl/pem.h:499: warning: function declaration isn't a prototype
/usr/local/include/openssl/pem.h:511: warning: function declaration isn't a prototype
/usr/local/include/openssl/pem.h:513: warning: function declaration isn't a prototype
In file included from SWIG/_m2crypto.c:863:
/usr/local/include/openssl/ssl.h:382: warning: function declaration isn't a prototype
/usr/local/include/openssl/ssl.h:383: warning: function declaration isn't a prototype
/usr/local/include/openssl/ssl.h:384: warning: function declaration isn't a prototype
/usr/local/include/openssl/ssl.h:810: warning: function declaration isn't a prototype
In file included from SWIG/_m2crypto.c:863:
/usr/local/include/openssl/ssl.h:1322: warning: function declaration isn't a prototype
/usr/local/include/openssl/ssl.h:1324: warning: function declaration isn't a prototype
SWIG/_m2crypto.c: In function `sign_final':
SWIG/_m2crypto.c:1925: warning: unused variable `ret'
SWIG/_m2crypto.c: At top level:
SWIG/_m2crypto.c:2931: conflicting types for `SSL_get_error'
/usr/local/include/openssl/ssl.h:1326: previous declaration of `SSL_get_error'
SWIG/_m2crypto.c:2945: conflicting types for `SSL_CTX_get_verify_depth'
/usr/local/include/openssl/ssl.h:1281: previous declaration of `SSL_CTX_get_verify_depth'
SWIG/_m2crypto.c:2946: conflicting types for `SSL_CTX_get_verify_mode'
/usr/local/include/openssl/ssl.h:1280: previous declaration of `SSL_CTX_get_verify_mode'
SWIG/_m2crypto.c:2951: conflicting types for `SSL_CTX_get_timeout'
/usr/local/include/openssl/ssl.h:1175: previous declaration of `SSL_CTX_get_timeout'
SWIG/_m2crypto.c:2963: conflicting types for `SSL_pending'
/usr/local/include/openssl/ssl.h:1194: previous declaration of `SSL_pending'
SWIG/_m2crypto.c:2964: conflicting types for `SSL_get_peer_certificate'
/usr/local/include/openssl/ssl.h:1275: previous declaration of `SSL_get_peer_certificate'
SWIG/_m2crypto.c:2965: conflicting types for `SSL_get_current_cipher'
/usr/local/include/openssl/ssl.h:1183: previous declaration of `SSL_get_current_cipher'
SWIG/_m2crypto.c:2966: conflicting types for `SSL_get_verify_mode'
/usr/local/include/openssl/ssl.h:1207: previous declaration of `SSL_get_verify_mode'
SWIG/_m2crypto.c:2967: conflicting types for `SSL_get_verify_depth'
/usr/local/include/openssl/ssl.h:1208: previous declaration of `SSL_get_verify_depth'
SWIG/_m2crypto.c:2968: conflicting types for `SSL_get_verify_result'
/usr/local/include/openssl/ssl.h:1404: previous declaration of `SSL_get_verify_result'
SWIG/_m2crypto.c:2969: conflicting types for `SSL_get_SSL_CTX'
/usr/local/include/openssl/ssl.h:1397: previous declaration of `SSL_get_SSL_CTX'
SWIG/_m2crypto.c:2970: conflicting types for `SSL_get_default_timeout'
/usr/local/include/openssl/ssl.h:1372: previous declaration of `SSL_get_default_timeout'
SWIG/_m2crypto.c:2972: conflicting types for `SSL_get_cipher_list'
/usr/local/include/openssl/ssl.h:1191: previous declaration of `SSL_get_cipher_list'
SWIG/_m2crypto.c:2973: conflicting types for `SSL_CIPHER_get_name'
/usr/local/include/openssl/ssl.h:1186: previous declaration of `SSL_CIPHER_get_name'
SWIG/_m2crypto.c:2974: conflicting types for `SSL_CIPHER_get_version'
/usr/local/include/openssl/ssl.h:1185: previous declaration of `SSL_CIPHER_get_version'
SWIG/_m2crypto.c:2975: conflicting types for `SSL_get_session'
/usr/local/include/openssl/ssl.h:1395: previous declaration of `SSL_get_session'
SWIG/_m2crypto.c:2979: conflicting types for `SSL_SESSION_print'
/usr/local/include/openssl/ssl.h:1260: previous declaration of `SSL_SESSION_print'
SWIG/_m2crypto.c:2981: conflicting types for `SSL_SESSION_get_timeout'
/usr/local/include/openssl/ssl.h:1249: previous declaration of `SSL_SESSION_get_timeout'
SWIG/_m2crypto.c: In function `ssl_ctx_set_tmp_dh':
SWIG/_m2crypto.c:3080: warning: control reaches end of non-void function
SWIG/_m2crypto.c: In function `ssl_ctx_set_tmp_rsa':
SWIG/_m2crypto.c:3091: warning: control reaches end of non-void function
SWIG/_m2crypto.c: In function `ssl_accept':
SWIG/_m2crypto.c:3146: warning: `obj' might be used uninitialized in this function
SWIG/_m2crypto.c: In function `ssl_connect':
SWIG/_m2crypto.c:3187: warning: `obj' might be used uninitialized in this function
SWIG/_m2crypto.c: In function `ssl_read':
SWIG/_m2crypto.c:3232: warning: `obj' might be used uninitialized in this function
SWIG/_m2crypto.c: In function `ssl_read_nbio':
SWIG/_m2crypto.c:3282: warning: `obj' might be used uninitialized in this function
SWIG/_m2crypto.c: In function `ssl_session_read_pem':
SWIG/_m2crypto.c:3443: warning: function declaration isn't a prototype
SWIG/_m2crypto.c: In function `ssl_session_write_pem':
SWIG/_m2crypto.c:3447: warning: function declaration isn't a prototype
SWIG/_m2crypto.c: At top level:
SWIG/_m2crypto.c:3494: 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.c:3497: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:4450: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:4898: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:5660: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:6481: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:6903: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:7638: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:9327: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:11392: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:12497: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:12518: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:13142: warning: function declaration isn't a prototype
SWIG/_m2crypto.c:205: warning: `SWIG_Python_TypeQuery' defined but not used
SWIG/_m2crypto.c:559: warning: `SWIG_Python_ConvertPacked' defined but not used
SWIG/_m2crypto.c:734: warning: `RCS_id' defined but not used
error: command 'gcc' failed with exit status 1
[root@server1 m2crypto-0.13]# python -V
Python 2.4.1
[root@server1 m2crypto-0.13]# swig -version

SWIG Version 1.3.21
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2003
University of Chicago
Compiled with g++ [i686-pc-linux-gnu]

Please see http://www.swig.org for reporting bugs and further information
[root@server1 m2crypto-0.13]# /usr/local/ssl/bin/openssl version
OpenSSL 0.9.7f 22 Mar 2005
[root@server1 m2crypto-0.13]#
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.