[SciPy-dev] Can't install scipy from svn (caused by ndimage)

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Mar 29 02:08:25 CDT 2007


Hi all,

I cannot build/install scipy from svn. Here is the output of

python setup.py install
...


Lib/ndimage/src/ni_morphology.c: In function ‘NI_BinaryErosion’:
Lib/ndimage/src/ni_morphology.c:101: warning: implicit declaration of
function ‘NA_OFFSETDATA’
Lib/ndimage/src/ni_morphology.c:101: warning: cast to pointer from
integer of different size
Lib/ndimage/src/ni_morphology.c:110: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:128: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:129: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c: In function ‘NI_BinaryErosion2’:
Lib/ndimage/src/ni_morphology.c:313: warning: cast to pointer from
integer of different size
Lib/ndimage/src/ni_morphology.c:340: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:354: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:370: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:467: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:468: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c: In function
‘NI_DistanceTransformBruteForce’:
Lib/ndimage/src/ni_morphology.c:513: warning: pointer/integer type
mismatch in conditional expression
Lib/ndimage/src/ni_morphology.c:517: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:523: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:531: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:554: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c: In function ‘NI_DistanceTransformOnePass’:
Lib/ndimage/src/ni_morphology.c:681: warning: cast to pointer from
integer of different size
Lib/ndimage/src/ni_morphology.c:691: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:709: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c: In function ‘NI_EuclideanFeatureTransform’:
Lib/ndimage/src/ni_morphology.c:921: warning: pointer/integer type
mismatch in conditional expression
Lib/ndimage/src/ni_morphology.c:923: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c:924: warning: assignment makes pointer
from integer without a cast
Lib/ndimage/src/ni_morphology.c: At top level:
/usr/lib64/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h:944:
warning: ‘_import_array’ defined but not used
gcc: Lib/ndimage/src/ni_support.c
Lib/ndimage/src/ni_support.c: In function ‘NI_InitLineBuffer’:
Lib/ndimage/src/ni_support.c:147: warning: implicit declaration of
function ‘NA_OFFSETDATA’
Lib/ndimage/src/ni_support.c:147: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_support.c: At top level:
/usr/lib64/python2.4/site-packages/numpy/core/include/numpy/__multiarray_api.h:944:
warning: ‘_import_array’ defined but not used
gcc: Lib/ndimage/src/ni_fourier.c
Lib/ndimage/src/ni_fourier.c: In function ‘NI_FourierFilter’:
Lib/ndimage/src/ni_fourier.c:190: warning: implicit declaration of
function ‘NA_OFFSETDATA’
Lib/ndimage/src/ni_fourier.c:190: warning: initialization makes pointer
from integer without a cast
Lib/ndimage/src/ni_fourier.c:315: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_fourier.c:316: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_fourier.c:366: error: ‘npy_complex32’ undeclared
(first use in this function)
Lib/ndimage/src/ni_fourier.c:366: error: (Each undeclared identifier is
reported only once
Lib/ndimage/src/ni_fourier.c:366: error: for each function it appears in.)
Lib/ndimage/src/ni_fourier.c:366: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:366: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:367: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:367: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c:373: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:373: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:374: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:374: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c:401: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:401: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:402: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:402: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c: In function ‘NI_FourierShift’:
Lib/ndimage/src/ni_fourier.c:441: warning: initialization makes pointer
from integer without a cast
Lib/ndimage/src/ni_fourier.c:497: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_fourier.c:498: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_fourier.c:524: error: ‘npy_complex32’ undeclared
(first use in this function)
Lib/ndimage/src/ni_fourier.c:524: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:524: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:524: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:524: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:525: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:525: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c:525: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:525: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c:531: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:531: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:532: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:532: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c: In function ‘NI_FourierFilter’:
Lib/ndimage/src/ni_fourier.c:190: warning: implicit declaration of
function ‘NA_OFFSETDATA’
Lib/ndimage/src/ni_fourier.c:190: warning: initialization makes pointer
from integer without a cast
Lib/ndimage/src/ni_fourier.c:315: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_fourier.c:316: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_fourier.c:366: error: ‘npy_complex32’ undeclared
(first use in this function)
Lib/ndimage/src/ni_fourier.c:366: error: (Each undeclared identifier is
reported only once
Lib/ndimage/src/ni_fourier.c:366: error: for each function it appears in.)
Lib/ndimage/src/ni_fourier.c:366: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:366: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:367: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:367: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c:373: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:373: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:374: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:374: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c:401: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:401: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:402: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:402: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c: In function ‘NI_FourierShift’:
Lib/ndimage/src/ni_fourier.c:441: warning: initialization makes pointer
from integer without a cast
Lib/ndimage/src/ni_fourier.c:497: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_fourier.c:498: warning: assignment makes pointer from
integer without a cast
Lib/ndimage/src/ni_fourier.c:524: error: ‘npy_complex32’ undeclared
(first use in this function)
Lib/ndimage/src/ni_fourier.c:524: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:524: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:524: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:524: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:525: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:525: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c:525: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:525: error: ‘struct <anonymous>’ has no
member named ‘i’
Lib/ndimage/src/ni_fourier.c:531: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:531: error: syntax error before ‘)’ token
Lib/ndimage/src/ni_fourier.c:532: error: ‘struct <anonymous>’ has no
member named ‘r’
Lib/ndimage/src/ni_fourier.c:532: error: ‘struct <anonymous>’ has no
member named ‘i’
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -ILib/ndimage/src
-I/usr/lib64/python2.4/site-packages/numpy/core/include
-I/usr/lib64/python2.4/site-packages/numpy/core/include
-I/usr/include/python2.4 -c Lib/ndimage/src/ni_fourier.c -o
build/temp.linux-x86_64-2.4/Lib/ndimage/src/ni_fourier.o" failed with
exit status 1

Nils



More information about the Scipy-dev mailing list