delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/28/13:42:48

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
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: "=?iso-8859-1?Q?'Jochen_K=FCpper'?=" <jochen AT jochen-kuepper DOT de>
Cc: "'Cygwin'" <cygwin AT cygwin DOT com>
Subject: RE: [SciPy-dev] SciPy on Cygwin
Date: Fri, 28 Sep 2001 13:45:58 -0400
Message-ID: <002301c14845$6f5577a0$a300a8c0@nhv>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
In-Reply-To: <86g097pgqt.fsf@bock.chem.unc.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal

Jochen Küpper  writes:
>
>>>>>> Jason Tishler wrote on Thu, 27 Sep 2001 16:48:48 -0400:
>
>Jason> The usually solution to the above kind of errors is the
>Jason> following:
>
>Jason> http://www.python.org/doc/FAQ.html#3.24
>
>
>Running into the next problem is the definition of PyFortran_Type in
>fortranmodule.h, I changed in the following way:
>
>- no global initialization:
>
>PyTypeObject PyFortran_Type;
>
>
>- created this function in fortranmodule.c, added declaration to
>fortranmodule.h and call it from initflapack:
>
>void fortranobject_init(void) {
>  PyFortran_Type = (PyTypeObject){

SEE  the link Jason pointed you to above
for why this line is what I believe is causing your problem !

FYI
I am looking at the f2py source and can see how to fix the
DL_EXPORT() problem but I have yet to see any easy fix
for this one yet.

You could try hand patching this as outlined in above link,

Note you will need to substitute DL_EXPORT(void) for the void
signature of the python modules initMODULENAME() function too.

Cheers

Norman Vine


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019