[Numpy-discussion] (no subject)

Thilo Wehrmann thilo.wehrmann at gmx.net
Wed Aug 30 16:14:21 CDT 2006


Hi,
currently I´m trying to compile the latest numpy version (1.0b4) under an SGI IRIX 6.5 environment. I´m using the gcc 3.4.6 compiler and python 2.4.3 (self compiled). During the compilation of numpy.core I get a nasty error message:

...
copying build/src.irix64-6.5-2.4/numpy/__config__.py -> build/lib.irix64-6.5-2.4/numpy
copying build/src.irix64-6.5-2.4/numpy/distutils/__config__.py -> build/lib.irix64-6.5-2.4/numpy/distutils
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize MipsFCompiler
customize MipsFCompiler
customize MipsFCompiler using build_ext
building 'numpy.core.umath' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -fmessage-length=0 -Wall -O2

compile options: '-Ibuild/src.irix64-6.5-2.4/numpy/core/src -Inumpy/core/include -Ibuild/src.irix64-6.5-2.4/numpy/core -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.4 -c'
gcc: build/src.irix64-6.5-2.4/numpy/core/src/umathmodule.c
numpy/core/src/umathmodule.c.src: In function `nc_sqrtf':
numpy/core/src/umathmodule.c.src:602: warning: implicit declaration of function `hypotf'
numpy/core/src/umathmodule.c.src: In function `nc_sqrtl':
numpy/core/src/umathmodule.c.src:602: warning: implicit declaration of function `fabsl'
...
... lots of math functions ...
...
numpy/core/src/umathmodule.c.src: In function `LONGDOUBLE_frexp':
numpy/core/src/umathmodule.c.src:1940: warning: implicit declaration of function `frexpl'
numpy/core/src/umathmodule.c.src: In function `LONGDOUBLE_ldexp':
numpy/core/src/umathmodule.c.src:1957: warning: implicit declaration of function `ldexpl'
In file included from numpy/core/src/umathmodule.c.src:2011:
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c: At top level:
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:15: error: `acosl' undeclared here (not in a function)
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:15: error: initializer element is not constant
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:15: error: (near initialization for `arccos_data[2]')
...
... lots of math functions ...
...
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:192: error: initializer element is not constant
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:192: error: (near initialization for `tanh_data[2]')
numpy/core/include/numpy/ufuncobject.h:328: warning: 'generate_overflow_error' defined but not used
numpy/core/src/umathmodule.c.src: In function `nc_sqrtf':
numpy/core/src/umathmodule.c.src:602: warning: implicit declaration of function `hypotf'
...
... lots of math functions ...
...
numpy/core/src/umathmodule.c.src: In function `FLOAT_frexp':
numpy/core/src/umathmodule.c.src:1940: warning: implicit declaration of function `frexpf'
numpy/core/src/umathmodule.c.src: In function `FLOAT_ldexp':
numpy/core/src/umathmodule.c.src:1957: warning: implicit declaration of function `ldexpf'
numpy/core/src/umathmodule.c.src: In function `LONGDOUBLE_frexp':
numpy/core/src/umathmodule.c.src:1940: warning: implicit declaration of function `frexpl'
numpy/core/src/umathmodule.c.src: In function `LONGDOUBLE_ldexp':
numpy/core/src/umathmodule.c.src:1957: warning: implicit declaration of function `ldexpl'
In file included from numpy/core/src/umathmodule.c.src:2011:
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c: At top level:
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:15: error: `acosl' undeclared here (not in a function)
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:15: error: initializer element is not constant
...
... lots of math functions ...
...
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:192: error: initializer element is not constant
build/src.irix64-6.5-2.4/numpy/core/__umath_generated.c:192: error: (near initialization for `tanh_data[2]')
numpy/core/include/numpy/ufuncobject.h:328: warning: 'generate_overflow_error' defined but not used
error: Command "gcc -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -fmessage-length=0 -Wall -O2 -Ibuild/src.irix64-6.5-2.4/numpy/core/src -Inumpy/core/include -Ibuild/src.irix64-6.5-2.4/numpy/core -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.4 -c build/src.irix64-6.5-2.4/numpy/core/src/umathmodule.c -o build/temp.irix64-6.5-2.4/build/src.irix64-6.5-2.4/numpy/core/src/umathmodule.o" failed with exit status 1

Can somebody explain me, what´s going wrong. It seems there is some header files missing.

thanks,
 thilo
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




More information about the Numpy-discussion mailing list