I am hoping someone can assist me. I normally don't care if the _ctypes module builds or not, but I now need to have it build. I am running Solaris 10 with Sun's C compiler under SunStudio 11.
After running 'configure' and 'make', the _ctypes module fails with the following error: cc -xcode=pic32 -DNDEBUG -O -I. -I/data/python/Python-2.6.1/./Include -Ibuild/temp.solaris-2.10-sun4u-2.6/libffi/include -Ibuild/temp.solaris-2.10-sun4u-2.6/libffi -I/data/python/Python-2.6.1/Modules/_ctypes/libffi/src -I/usr/local/python/include -I. -IInclude -I./Include -I/usr/local/include -I/data/python/Python-2.6.1/Include -I/data/python/Python-2.6.1 -c /data/python/Python-2.6.1/Modules/_ctypes/_ctypes.c -o build/temp.solaris-2.10-sun4u-2.6/data/python/Python-2.6.1/Modules/_ctyp es/_ctypes.o "build/temp.solaris-2.10-sun4u-2.6/libffi/include/ffi.h", line 257: syntax error before or at: __attribute__ "build/temp.solaris-2.10-sun4u-2.6/libffi/include/ffi.h", line 257: warning: old-style declaration or incorrect type for: __attribute__ "build/temp.solaris-2.10-sun4u-2.6/libffi/include/ffi.h", line 257: warning: syntax error: empty declaration "/data/python/Python-2.6.1/Modules/_ctypes/_ctypes.c", line 187: cannot recover from previous errors cc: acomp failed for /data/python/Python-2.6.1/Modules/_ctypes/_ctypes.c Is there anything special I have to do to get it to compile under Solaris 10 and SunStudio 11? BTW: I cannot use GCC. Thank you very much, Lance
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com