C extensions, Windows, and Fatal Python error

Hello, I'm running python 2.1 on win2k, and I've built an extension module using mingw32, following the instruction in the Manual to build python21.a. Everything worked fine, I got my windows installer, ran it, but when I try to import the C extension, Python crashes: Type "copyright", "credits" or "license" for more information.
from logilab.xmldiff import maplookup Fatal Python error: Interpreter not initialized (version mismatch?)

Alexandre Fayolle wrote:
Could be caused by a linker problem between the mingw32 compiled extension and the MS VC compiled Python DLL -- they don't seem to share the same data segments. -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Consulting & Company: http://www.egenix.com/ Python Software: http://www.lemburg.com/python/

Alexandre Fayolle wrote:
Could be caused by a linker problem between the mingw32 compiled extension and the MS VC compiled Python DLL -- they don't seem to share the same data segments. -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Consulting & Company: http://www.egenix.com/ Python Software: http://www.lemburg.com/python/
participants (2)
-
Alexandre Fayolle
-
M.-A. Lemburg