[issue23042] ctypes module doesn't build on FreeBSD, RHEL (x86) - Undefined symbol "ffi_call_win32"

Marc-Andre Lemburg report at bugs.python.org
Fri May 8 13:16:35 CEST 2015


Marc-Andre Lemburg added the comment:

Here's a patch which I have tested on Linux, FreeBSD and Mac OS X.

It solves the problem with compiling in Windows calls on non-Windows platforms and resynchronizes the ffi_raw_call() function with the ffi_call() implementation. Both functions had the same issue and the only difference between the two is the use of ffi_prep_args_raw instead of ffi_prep_args.

As with davin's patch, this would need to be tested on Windows.

----------
Added file: http://bugs.python.org/file39321/ffi.patch

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


More information about the Python-bugs-list mailing list