[Numpy-discussion] afte run python setup.py build - error: expected specifier-qualifier-list before ‘complex’

Carlos Adean carlosadean at linea.gov.br
Thu Jul 26 16:01:10 EDT 2012


Hi all,

After run the command below (numpy 1.6.2):

python setup.py build

I receive the following message error:

gcc: build/src.linux-x86_64-2.5/numpy/core/src/npymath/ieee754.c
In file included from numpy/core/src/npymath/ieee754.c.src:8:
numpy/core/src/npymath/npy_math_private.h:452: error: expected 
specifier-qualifier-list before ‘complex’
numpy/core/src/npymath/npy_math_private.h:457: error: expected 
specifier-qualifier-list before ‘complex’
numpy/core/src/npymath/npy_math_private.h:462: error: expected 
specifier-qualifier-list before ‘complex’
In file included from numpy/core/src/npymath/ieee754.c.src:8:
numpy/core/src/npymath/npy_math_private.h:452: error: expected 
specifier-qualifier-list before ‘complex’
numpy/core/src/npymath/npy_math_private.h:457: error: expected 
specifier-qualifier-list before ‘complex’
numpy/core/src/npymath/npy_math_private.h:462: error: expected 
specifier-qualifier-list before ‘complex’
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv 
-O3 -Wall -Wstrict-prototypes -fPIC -Inumpy/core/include 
-Ibuild/src.linux-x86_64-2.5/numpy/core/include/numpy 
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core 
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray 
-Inumpy/core/src/umath -Inumpy/core/include 
-I/tawala/packages/python-2.5.4-2/include/python2.5 
-Ibuild/src.linux-x86_64-2.5/numpy/core/src/multiarray 
-Ibuild/src.linux-x86_64-2.5/numpy/core/src/umath -c 
build/src.linux-x86_64-2.5/numpy/core/src/npymath/ieee754.c -o 
build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/numpy/core/src/npymath/ieee754.o" 
failed with exit status 1

CentOS 5.8
python version 2.5.4
numpy 1.6.2

any ideia to solve this?

thanks

-- 
--
Carlos Adean
IT Team
linea.gov.br




More information about the NumPy-Discussion mailing list