[Distutils] missing Python symbols

John J. Lee jjl@pobox.com
Tue Jan 22 08:53:01 2002

On Fri, 18 Jan 2002, Rene Liebscher wrote:

> "John J. Lee" wrote:
> >
> > I'm getting complaints from mingw32's gcc about references to Python
> > symbols, which I would have thought would have been taken care of by
> > distutils' use of -lpython21, below.  Why isn't this working?
> Look at
> http://mail.python.org/pipermail/distutils-sig/2001-September/002590.html

Trouble with pexports:

src$ ./pexports.exe //c/winnt/system32/python21.dll > python21.def
d:\ProgramFiles\pexports-0.42h\src\pexports.exe: //c/winnt/system32/python21.dll: could not load PE image

I recompiled (with mingw's gcc), with no effect.  What's wrong??  This is
just the standard win32 Python 2.1 I'm using here.

I've just downloaded Robert Kern's lib2def, but can't try it out here.
Still, I don't see why pexports isn't working...