[SciPy-dev] Undefined NAN in amos_wrappers.c errors on Solaris amd64
Dave Peterson
dpeterson@enthought....
Wed May 6 11:36:08 CDT 2009
When trying to build rev 5698 of SciPy's trunk on a Solaris amd64
system, I'm getting the a bunch of 'NAN undeclared' type errors in
building the 'scipy.special._cephes' extension. Is this a known error by
any chance? Or does anyone have an idea of what is going on?
-- Dave
Here's the GCC command being run:
(build)-bash-3.00$ /home/dpeterson/local64/bin/gcc -m64 -DNDEBUG -O2
-DHAVE_NCURSES_H -I/home/dpeterson/py/build/include
-I/home/dpeterson/py/build/include/ncurses -I/usr/include
-I/home/dpeterson/py/build/include -m64 -g -O3 -pipe
-fomit-frame-pointer -fPIC
-I/home/dpeterson/py/build/trunk/recipes/install/numpy-1.3.0n1-py2.5-solaris-2.10-i86pc.egg/numpy/core/include
-I/home/dpeterson/py/build/include/python2.5 -c
scipy/special/amos_wrappers.c -o
build/temp.solaris-2.10-i86pc-2.5/scipy/special/amos_wrappers.o
And here's the error output:
scipy/special/amos_wrappers.c: In function ‘set_nan_if_no_computation_done’:
scipy/special/amos_wrappers.c:67: error: ‘NAN’ undeclared (first use in
this function)
scipy/special/amos_wrappers.c:67: error: (Each undeclared identifier is
reported only once
scipy/special/amos_wrappers.c:67: error: for each function it appears in.)
scipy/special/amos_wrappers.c: In function ‘cairy_wrap_e_real’:
scipy/special/amos_wrappers.c:177: error: ‘NAN’ undeclared (first use in
this function)
scipy/special/amos_wrappers.c: In function ‘cbesi_wrap’:
scipy/special/amos_wrappers.c:218: error: ‘INFINITY’ undeclared (first
use in this function)
scipy/special/amos_wrappers.c: In function ‘cbesi_wrap_e_real’:
scipy/special/amos_wrappers.c:275: error: ‘NAN’ undeclared (first use in
this function)
scipy/special/amos_wrappers.c: In function ‘cbesj_wrap’:
scipy/special/amos_wrappers.c:300: error: ‘INFINITY’ undeclared (first
use in this function)
scipy/special/amos_wrappers.c: In function ‘cbesj_wrap_e_real’:
scipy/special/amos_wrappers.c:340: error: ‘NAN’ undeclared (first use in
this function)
scipy/special/amos_wrappers.c: In function ‘cbesy_wrap’:
scipy/special/amos_wrappers.c:365: error: ‘INFINITY’ undeclared (first
use in this function)
scipy/special/amos_wrappers.c: In function ‘cbesy_wrap_e’:
scipy/special/amos_wrappers.c:396: error: ‘INFINITY’ undeclared (first
use in this function)
scipy/special/amos_wrappers.c: In function ‘cbesy_wrap_e_real’:
scipy/special/amos_wrappers.c:414: error: ‘NAN’ undeclared (first use in
this function)
scipy/special/amos_wrappers.c: In function ‘cbesk_wrap’:
scipy/special/amos_wrappers.c:438: error: ‘INFINITY’ undeclared (first
use in this function)
scipy/special/amos_wrappers.c: In function ‘cbesk_wrap_e’:
scipy/special/amos_wrappers.c:461: error: ‘INFINITY’ undeclared (first
use in this function)
scipy/special/amos_wrappers.c: In function ‘cbesk_wrap_real’:
scipy/special/amos_wrappers.c:472: error: ‘NAN’ undeclared (first use in
this function)
scipy/special/amos_wrappers.c: In function ‘cbesk_wrap_e_real’:
scipy/special/amos_wrappers.c:484: error: ‘NAN’ undeclared (first use in
this function)
More information about the Scipy-dev
mailing list