This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem linking python extensions
- To: "Darrell R. Hougen" <darrell dot r dot hougen at lmco dot com>
- Subject: Re: Problem linking python extensions
- From: Jason Tishler <jason at tishler dot net>
- Date: Thu, 27 Sep 2001 21:12:52 -0400
- Cc: cygwin at cygwin dot com, darrell dot r dot hougen at lmco dot com
On Thu, Sep 27, 2001 at 10:18:37AM -0600, Darrell R. Hougen wrote:
> Any help is greatly appreciated.
I'm still not clear whether you are trying to build a Cygwin or Win32
Python extension. Which are you trying to build?
My suggestion is to use Distutils -- it knows have to generate the
right command lines to build either a Cygwin or Win32 Python extension.
See the following:
http://www.python.org/doc/current/dist/dist.html
I don't believe that you have generate a valid extension -- at least
from exporting the init function point of view. Trying using objdump
(or dumpbin if you have MSVC++) to verify that your extension is
exporting initTermObject (not _initTermObject). For example:
$ objdump -p /usr/lib/python2.1/lib-dynload/zlib.dll | fgrep init
[ 0] initzlib
BTW, you may find better help on the Distutils list:
distutils-sig@python.org
Jason
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/