[pycrypto] building pycrypto on AIX fails

Pella,Chris Chris.Pella at safenet-inc.com
Tue Feb 17 13:07:41 CST 2009


Not a development issue per se, but I'm trying to build pycrypto on AIX
5.3 for python 2.6. I have ActivePython 2.6 installed. When I run python
setup.py build it fails with a bunch of compiler errors (default
compiler on AIX is cc_r). I wonder if anybody else has any experience
building pcrypto using this OS and compiler. I had no issues building on
solaris, HP-UX,  and other linux platforms. 

 

cc_r -qlanglvl=ansi -DNDEBUG -O -Isrc/
-I/usr/ActivePython-2.6/include/python2.6 -c src/RIPEMD.c -o
build/temp.aix-5.3-2.6/src/RIPEMD.o

"src/RIPEMD.c", line 51.9: 1506-213 (S) Macro name FF1 cannot be
redefined.

"src/RIPEMD.c", line 51.9: 1506-358 (I) "FF1" is defined on line 235 of
/usr/include/sys/ioctl.h.

"src/RIPEMD.c", line 218.43: 1506-280 (E) Function argument assignment
between types "const char*" and "unsigned char*" is not allowed.

"src/RIPEMD.c", line 264.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 265.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 266.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 267.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 268.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 269.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 270.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 271.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 272.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 273.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 274.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 275.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 276.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 277.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 278.9: 1506-023 (S) Expecting function or pointer
to function.

"src/RIPEMD.c", line 279.9: 1506-023 (S) Expecting function or pointer
to function.

"src/hash_template.c", line 108.20: 1506-068 (E) Operation between types
"unsigned char*" and "char*" is not allowed.

"src/hash_template.c", line 112.20: 1506-068 (E) Operation between types
"unsigned char*" and "char*" is not allowed.

"src/hash_template.c", line 139.34: 1506-280 (E) Function argument
assignment between types "char*" and "unsigned char*" is not allowed.

"src/hash_template.c", line 211.41: 1506-280 (E) Function argument
assignment between types "char*" and "unsigned char*" is not allowed.

error: command 'cc_r' failed with exit status 1

 

 

 

 

Chris Pella


The information contained in this electronic mail transmission 
may be privileged and confidential, and therefore, protected 
from disclosure. If you have received this communication in 
error, please notify us immediately by replying to this 
message and deleting it from your computer without copying 
or disclosing it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dlitz.net/pipermail/pycrypto/attachments/20090217/6332b706/attachment.htm 


More information about the pycrypto mailing list