[Distutils] Problem compiling Extensions on Win32

René Liebscher R.Liebscher at gmx.de
Thu Feb 5 02:54:20 EST 2004


Michiel Jan Laurens de Hoon schrieb:
> 
> G D wrote:
> 
> > python setup.py build -cmingw32
> >
> > I get a hole bunch of undefined interface type errors (the computer's at home
> > so I'm going by memory) similar to __Inf__PyString undefined, and it ends off
> > with a line about WinMain at 16 with that setup terminates.
> 
> If these are linking errors, the problem might be that you don't have a
> gcc-style Python library. See
> http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/python/cygwin.html
> for details on how to get one.
> 
> >...
> ...
> 
> --Michiel.

This is the same what you can find in the documentation 
http://python.org/doc/current/inst/tweak-flags.html#SECTION000622000000000000000

But nobody seems to read it. Maybe the compiler class should check for
libpython??.a and print a warning with a link 
to the documentation.

--Rene



More information about the Distutils-SIG mailing list