[issue14527] How to link with an external libffi?

Paul A. report at bugs.python.org
Tue Apr 10 04:52:33 CEST 2012


Paul A. <pda at freeshell.org> added the comment:

Yes, I think my libffi setup is okay, but python apparently doesn't (according to the deeper-down log files I didn't initially know about).  The following is a suspicious-looking snippet from build/temp.hp-ux-B.11.31-ia64-2.7/libffi/config.log... I have to question the usefulness of that linker error message.  My immediate thought is that maybe conftstm.o is a 32-bit object file, but I don't see anything earlier in the log to indicate it was even created.

configure:6159: gcc463 -o conftest  -I. -IInclude -I./Include  -D_TERMIOS_INCLUDED  -I/usr/local/lp64/include -mlp64 -L/usr/local/src/Python-2.7.2 -L/usr/local/lp64/lib conftest.c conftstm.o >&5
ld: Mismatched Data ABI. Expected EF_IA_64_ABI64 but found None in file conftstm.o
Fatal error.

----------
components: +ctypes

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14527>
_______________________________________


More information about the Python-bugs-list mailing list