[SciPy-dev] latest SVN (3412) build fails on Windows

Robin robince at gmail.com
Thu Oct 4 14:56:08 EDT 2007


Hi,

I found that having updated scipy to svn 3412 the new io.nifti module fails:

creating build\temp.win32-2.5\Release\build\src.win32-2.5\scipy\io
creating build\temp.win32-2.5\Release\build\src.win32-2.5\scipy\io\nifti
compile options: '-Iscipy\io\nifti -Iscipy\io\nifti\nifticlib\fsliolib
-Iscipy\i
o\nifti\nifticlib\niftilib -Iscipy\io\nifti\nifticlib\znzlib
-Ic:\Python25\lib\s
ite-packages\numpy\core\include -Ic:\Python25\include -Ic:\Python25\PC -c'
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iscipy\io\nifti
-Iscipy\io\nifti\
nifticlib\fsliolib -Iscipy\io\nifti\nifticlib\niftilib
-Iscipy\io\nifti\nifticli
b\znzlib -Ic:\Python25\lib\site-packages\numpy\core\include
-Ic:\Python25\includ
e -Ic:\Python25\PC -c build\src.win32-2.5\scipy\io\nifti\nifticlib_wrap.c -o
bui
ld\temp.win32-
2.5\Release\build\src.win32-2.5\scipy\io\nifti\nifticlib_wrap.o
g++ -mno-cygwin -shared build\temp.win32-
2.5\Release\build\src.win32-2.5\scipy\i
o\nifti\nifticlib_wrap.o -Lc:\Python25\libs -Lc:\Python25\PCBuild
-Lbuild\temp.w
in32-2.5 -lniftiio -lfslio -lznz -lpython25 -lmsvcr71 -o build\lib.win32-
2.5\sci
py\io\nifti\_nifticlib.pyd
Found executable C:\cygwin\bin\g++.exe
build\temp.win32-
2.5\Release\build\src.win32-2.5\scipy\io\nifti\nifticlib_wrap.o
:nifticlib_wrap.c:(.text+0x368c): undefined reference to `_znzprintf'
collect2: ld returned 1 exit status
error: Command "g++ -mno-cygwin -shared build\temp.win32-
2.5\Release\build\src.w
in32-2.5\scipy\io\nifti\nifticlib_wrap.o -Lc:\Python25\libs
-Lc:\Python25\PCBuil
d -Lbuild\temp.win32-2.5 -lniftiio -lfslio -lznz -lpython25 -lmsvcr71 -o
build\l
ib.win32-2.5\scipy\io\nifti\_nifticlib.pyd" failed with exit status 1

I am using Cygwin gcc 3.4.4 on Windows XP.

Should I submit a ticket or is more information required (or is there a
simple fix for something in my setup)?

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20071004/910cb19f/attachment.html>


More information about the SciPy-Dev mailing list