building extension modules under 2.4 / cygwin

"Martin v. Löwis" martin at v.loewis.de
Mon Dec 13 18:15:22 EST 2004


John Hunter wrote:
>   the procedure entry point _ctype could not be located in the dynamic
>   link libary msvcr71.dll

This sounds like a bug in the Cygwin linker or header files to me.
I cannot fully check, but it seems to me that msvcr71.dll does not
have a _ctype variable. Instead, the is* functions (which may have
traditionally used _ctype - can't check that, either) are now
implemented through function calls. Can you (e.g. using nm) find
out where the reference to _ctype originates from?

If you remove usage of _ctype in your extension module (e.g. by not
using isupper() and the like), it probably will work fine.

Regards,
Martin



More information about the Python-list mailing list