making extension with MinGW on Windows

Gerhard Häring gh at ghaering.de
Fri Aug 29 18:44:12 CEST 2003


Sun Wei wrote:
> I got this error:
>     undefined reference to `_imp___Py_NoneStruct'
> 
> But when I used VC++, everything is ok, why???

You're using distutils to compile, right? It not, please try again using 
distutils.

If it still fails, can you post a minimal example source code that fails 
for you?

-- Gerhard





More information about the Python-list mailing list