[Numpy-discussion] Build problem using mingw on Win32

Dave Kammeyer kammeyer at enthought.com
Fri Oct 10 19:00:54 EDT 2008


Hi All,

Using the current trunk, I am getting the following build error:

creating build\temp.win32-2.5\Release\build
creating build\temp.win32-2.5\Release\build\src.win32-2.5
creating build\temp.win32-2.5\Release\build\src.win32-2.5\numpy
creating build\temp.win32-2.5\Release\build\src.win32-2.5\numpy\core
creating build\temp.win32-2.5\Release\build\src.win32-2.5\numpy\core\src
compile options: '-Ibuild\src.win32-2.5\numpy\core\src 
-Inumpy\core\include -Ibuild\src.win32-2.5\numpy\core\i
nclude/numpy -Inumpy\core\src -Inumpy\core\include -Ic:\python25\include 
-Ic:\python25\PC -c'
gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes 
-Ibuild\src.win32-2.5\numpy\core\src -Inumpy\core\include 
-Ibuild\src.win32-2.5\numpy\core\include/numpy -Inumpy\core\src 
-Inumpy\core\include -Ic:\python25\include -Ic:\python25\PC -c 
build\src.win32-2.5\numpy\core\src\umathmodule.c -o 
build\temp.win32-2.5\Release\build\src.win32-2.5\numpy\core\src\umathmodule.o 
numpy\core\src\umathmodule.c.src:1451: warning: return type defaults to 
`int'
In file included from numpy\core\src\umathmodule.c.src:1510:
build/src.win32-2.5/numpy/core/include/numpy/__umath_generated.c:173: 
warning: initialization from incompatible pointer type
build/src.win32-2.5/numpy/core/include/numpy/__umath_generated.c: In 
function `InitOperators':
build/src.win32-2.5/numpy/core/include/numpy/__umath_generated.c:285: 
error: `atanhf' undeclared (first use in this function)
build/src.win32-2.5/numpy/core/include/numpy/__umath_generated.c:285: 
error: (Each undeclared identifier is reported only once
build/src.win32-2.5/numpy/core/include/numpy/__umath_generated.c:285: 
error: for each function it appears in.)
numpy\core\src\umathmodule.c.src: At top level:
numpy\core\src\umathmodule.c.src:608: warning: 'BOOL_ones_like' defined 
but not used
error: Command "gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes 
-Ibuild\src.win32-2.5\numpy\core\src -Inumpy\cor
e\include -Ibuild\src.win32-2.5\numpy\core\include/numpy 
-Inumpy\core\src -Inumpy\core\include -Ic:\python25\include 
-Ic:\python25\PC -c build\src.win32-2.5\numpy\core\src\umathmodule.c -o 
build\temp.win32-2.5\Release\build\src.win32-2.5\numpy\core\src\umathmodule.o" 
failed with exit status 1
DEBUG: return value for "c:\python25\python.exe setup.py build 
--compiler=mingw32 config --compiler=mingw32" is 1




More information about the NumPy-Discussion mailing list