interpolate._ppoly doesn't build with MinGW #3404

Closed
rgommers opened this Issue Feb 27, 2014 · 5 comments

Comments

Projects
None yet
2 participants
@rgommers
Owner

rgommers commented Feb 27, 2014

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

@rgommers rgommers added Build issues and removed defect labels Feb 27, 2014

@pv

This comment has been minimized.

Show comment Hide comment
@pv

pv Feb 27, 2014

Owner

Underscore issue?

Owner

pv commented Feb 27, 2014

Underscore issue?

@pv

This comment has been minimized.

Show comment Hide comment
@pv

pv Feb 27, 2014

Owner
@rgommers

This comment has been minimized.

Show comment Hide comment
@rgommers

rgommers Feb 27, 2014

Owner

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.

Owner

rgommers commented Feb 27, 2014

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

This comment has been minimized.

Show comment Hide comment
@rgommers

rgommers Feb 27, 2014

Owner

Ah, probably. Let me test.

Owner

rgommers commented Feb 27, 2014

Ah, probably. Let me test.

@rgommers

This comment has been minimized.

Show comment Hide comment
@rgommers

rgommers Feb 27, 2014

Owner

Yes, that branch builds fine.

Owner

rgommers commented Feb 27, 2014

Yes, that branch builds fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment