[PYTHON-CRYPTO] amkCrypto-0.1.3 build fails on BSD/OS

Jason R. Mastaler jason-list-python-crypto at MASTALER.COM
Tue Apr 10 17:53:39 CEST 2001


Any ideas why amkCrypto won't compile for me?  This is BSD/OS 4.0, gcc
2.7.2.1 and Python 2.0.

(python setup.py build)

building 'Crypto.mxCrypto' extension
creating build/temp.bsd
creating build/temp.bsd/os-4.0-i386-2.0
creating build/temp.bsd/os-4.0-i386-2.0/mxCrypto
gcc -D_HAVE_BSDI -g -O2 -Wall -Wstrict-prototypes -fpic -I/usr/local/ssl/include -I/usr/local/python2.0/include/python2.0 -c mxCrypto/mxCrypto.cc -o build/temp.bsd/os-4.0-i386-2.0/mxCrypto/mxCrypto.o
mxCrypto/mxCrypto.cc: In method `StreamCipher::StreamCipher(PyStringObject *, int)':
mxCrypto/mxCrypto.cc:125: warning: `catch', `throw', and `try' are all C++ reserved words
mxCrypto/mxCrypto.cc:125: exception handling disabled, use -fhandle-exceptions to enable.
mxCrypto/mxCrypto.cc:110: warning: unused parameter `struct PyStringObject * key'
mxCrypto/mxCrypto.cc:124: warning: label `onError' defined but not used
mxCrypto/mxCrypto.cc: In method `struct _object * StreamCipher::encrypt(struct PyStringObject *)':
mxCrypto/mxCrypto.cc:134: warning: unused parameter `struct PyStringObject * input'
mxCrypto/mxCrypto.cc: In method `struct _object * StreamCipher::decrypt(struct PyStringObject *)':
mxCrypto/mxCrypto.cc:142: warning: unused parameter `struct PyStringObject * input'
mxCrypto/mxCrypto.cc: In method `RC2Cipher::RC2Cipher(PyStringObject *, int, PyStringObject *)':
mxCrypto/mxCrypto.cc:201: warning: label `onError' defined but not used
mxCrypto/mxCrypto.cc: In method `RC5Cipher::RC5Cipher(PyStringObject *, int, PyStringObject *, int)':
mxCrypto/mxCrypto.cc:332: warning: label `onError' defined but not used
mxCrypto/mxCrypto.cc: In method `BlowfishCipher::BlowfishCipher(PyStringObject *, int, PyStringObject *)':
mxCrypto/mxCrypto.cc:404: warning: label `onError' defined but not used
mxCrypto/mxCrypto.cc: In method `Hash::Hash(PyStringObject *)':
mxCrypto/mxCrypto.cc:812: warning: unused parameter `struct PyStringObject * data'
mxCrypto/mxCrypto.cc: In method `struct _object * Hash::setstate(struct PyStringObject *)':
mxCrypto/mxCrypto.cc:828: warning: unused parameter `struct PyStringObject * state'
mxCrypto/mxCrypto.cc: In method `struct _object * Hash::update(struct PyStringObject *)':
mxCrypto/mxCrypto.cc:859: warning: unused parameter `struct PyStringObject * data'
mxCrypto/mxCrypto.cc: In method `struct _object * MD2Hash::update(struct PyStringObject *)':
mxCrypto/mxCrypto.cc:925: warning: label `onError' defined but not used
mxCrypto/mxCrypto.cc: In method `struct _object * MD5Hash::update(struct PyStringObject *)':
mxCrypto/mxCrypto.cc:988: warning: label `onError' defined but not used
mxCrypto/mxCrypto.cc: In method `struct _object * SHAHash::update(struct PyStringObject *)':
mxCrypto/mxCrypto.cc:1051: warning: label `onError' defined but not used
mxCrypto/mxCrypto.cc: In method `struct _object * RIPEMDHash::update(struct PyStringObject *)':
mxCrypto/mxCrypto.cc:1114: warning: label `onError' defined but not used
error: command 'gcc' failed with exit status 1





More information about the python-crypto mailing list