Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interpolate._ppoly doesn't build with MinGW #3404

Closed
rgommers opened this issue Feb 27, 2014 · 5 comments · Fixed by #3410
Closed

interpolate._ppoly doesn't build with MinGW #3404

rgommers opened this issue Feb 27, 2014 · 5 comments · Fixed by #3410
Labels
Build issues Issues with building from source, including different choices of architecture, compilers and OS
Milestone

Comments

@rgommers
Copy link
Member

MinGW 3.4.5 on Wine:

building 'scipy.interpolate._ppoly' extension
compiling C sources C compiler: gcc -mno-cygwin -O2 -Wall
-Wstrict-prototypes

compile options: '-DNO_ATLAS_INFO=1
-IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\include
-IC:\Python27\PC -c' gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes
-DNO_ATLAS_INFO=1 -IC:\Python27\lib\site-packages\numpy\core\include
-IC:\Python27\include -IC:\Python27\PC -c scipy\interpolate\_ppoly.c -o
build\temp.win32-2.7\Release\scipy\interpolate\_ppoly.o Found executable
C:\MinGW\bin\gcc.exe C:\MinGW\bin\g77.exe -g -Wall -mno-cygwin -g -Wall
-mno-cygwin -shared build\temp.win32-2.7\Release\scipy\interpolate\_ppoly.o
-LC:\local\lib\yop\nosse -LC:\MinGW\lib -LC:\MinGW\lib\gcc\mingw32\3.4.5
-LC:\Python27\libs -LC:\Python27\PCbuild -Lbuild\temp.win32-2.7 -llapack
-lblas -lpython27 -lg2c -o build\lib.win32-2.7\scipy\interpolate\_ppoly.pyd
build\temp.win32-2.7\Release\scipy\interpolate\_ppoly.o:_ppoly.c:(.text+0xc94):
undefined reference to `_imp__dgeev_' collect2: ld returned 1 exit status
error: Command "C:\MinGW\bin\g77.exe -g -Wall -mno-cygwin -g -Wall
-mno-cygwin -shared build\temp.win32-2.7\Release\scipy\interpolate\_ppoly.o
-LC:\local\lib\yop\nosse -LC:\MinGW\lib -LC:\MinGW\lib\gcc\mingw32\3.4.5
-LC:\Python27\libs -LC:\Python27\PCbuild -Lbuild\temp.win32-2.7 -llapack
-lblas -lpython27 -lg2c -o
build\lib.win32-2.7\scipy\interpolate\_ppoly.pyd" failed with exit status 1
@rgommers rgommers added this to the 0.14.0 milestone Feb 27, 2014
@pv
Copy link
Member

pv commented Feb 27, 2014

Underscore issue?

@pv
Copy link
Member

pv commented Feb 27, 2014

@rgommers
Copy link
Member Author

No, it's the cdef extern that's the issue. All other Cython code does cdef extern from myheader.h. See http://mingw-users.1079350.n2.nabble.com/imp-prefixes-when-linking-td7386007.html for explanation.

@rgommers
Copy link
Member Author

Ah, probably. Let me test.

@rgommers
Copy link
Member Author

Yes, that branch builds fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build issues Issues with building from source, including different choices of architecture, compilers and OS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants