[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/opt/csw/lib/libffi-3.0.8/include
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:
work/solaris9-i386/build-isa-i386/Python-2.6.5/build/temp.solaris-2.9-i86pc-2.6/libffi/include/ffitarget.h
/opt/csw/lib/libffi-3.0.8/include/ffitarget.h
...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?
Maciej
More information about the maintainers
mailing list