[csw-maintainers] Problems compiling ctypes on Solaris x86

Maciej (Matchek) Blizinski maciej at opencsw.org
Thu May 20 17:40:03 CEST 2010

The ctypes Python module compiles on sparc, but not on x86.  The error
message is:

"build/temp.solaris-2.9-i86pc-2.6/libffi/include/ffitarget.h", line
67: undefined symbol: FFI_DEFAULT_ABI

pkg-config seems to be doing the right thing:

 > pkg-config --cflags-only-I libffi

I'm not sure how does ffitarget.h end up in the
build/temp.solaris-2.9-i86pc-2.6/libffi/include, but these two are
exactly the same:


...so I conclude the Python build system makes a copy.

So why does it error out?  An unfortunate combination of flags
perhaps?  Is this a known problem with libffi?


More information about the maintainers mailing list