| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Thu, 27 Sep 2001 21:12:52 -0400 |
| From: | Jason Tishler <jason AT tishler DOT net> |
| To: | "Darrell R. Hougen" <darrell DOT r DOT hougen AT lmco DOT com> |
| Cc: | cygwin AT cygwin DOT com, darrell DOT r DOT hougen AT lmco DOT com |
| Subject: | Re: Problem linking python extensions |
| Message-ID: | <20010927211252.S1356@dothill.com> |
| Mail-Followup-To: | "Darrell R. Hougen" <darrell DOT r DOT hougen AT lmco DOT com>, |
| cygwin AT cygwin DOT com | |
| Mime-Version: | 1.0 |
| In-Reply-To: | <3BB3515D.C01127D1@lmco.com> |
| User-Agent: | Mutt/1.3.18i |
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 AT python DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |