I had a similar problem trying to compile my own library. Not sure it is the same as what you describe, but I solved it by
- updating mingw using the update application in my xp start menu - making sure I was using the pre-compiled version of python rather than the one that I compiled myself (using VC++8 — ouch!)
Not sure if the update was necessary or if it was just a problem due to trying to link to the wrong version.
Frank: Thanks to the great instructions! I wish I found them a few hours earlier.. :-)
linking pyton25.lib solved
I had a similar problem trying to compile my own library. Not sure it is the same as what you describe, but I solved it by
- updating mingw using the update application in my xp start menu - making sure I was using the pre-compiled version of python rather than the one that I compiled myself (using VC++8 — ouch!)
Not sure if the update was necessary or if it was just a problem due to trying to link to the wrong version.
Frank: Thanks to the great instructions! I wish I found them a few hours earlier.. :-)
Enrico