[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: Re: [Mingw-users] _imp__ prefixes when linking
From: Christoph Groth <cwg () falma ! de>
Date: 2013-01-17 21:26:46
Message-ID: 87y5frjyax.fsf () falma ! de
[Download RAW message or body]
Mikko Lyly writes:
> 1) Both BLAS and LAPACK 3.4.0 should compile with MinGW out of the box:
>
> (...)
>
> 2) The error message "undefined reference to '_imp__strevc_'" is most
> probably due to the presence of __declspec(import) attribute in front
> of the prototype of strevc() in one of your project header files, as
> already pointed out by Eli Zaretskii.
>
> If so, you can just remove that attribute when linking against the static
> libraries.
Mikko,
Thank you very much for your reply. It brought me on the right track:
The __declspec(import) is added by Cython to all functions declared with
cdef extern:
...
To avoid this, we are now using the form:
cdef extern from "some_header.h":
...
Christoph
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may \
cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic