[Distutils] missing Python symbols

Rene Liebscher R.Liebscher@gmx.de
Tue Jan 22 11:35:01 2002


"John J. Lee" wrote:
> 
> 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'm not sure, but does this message mean pexports can't load/find the
file?
Maybe you should try it as 
pexports.exe 'C:\winnt\system32\python21.dll'

Rene

> 
> 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...
> 
> John