[SciPy-dev] build error on OSX 10.3

John Hunter jdh2358@gmail....
Sat Oct 13 14:44:51 CDT 2007


I have OS X 10.3 installation w/ python2.5, and am trying to build
scipy r3435 and am getting the following build error.  Any ideas?


scipy/io/numpyiomodule.c: In function `numpyio_fromfile':
scipy/io/numpyiomodule.c:85: warning: `castfunc' might be used
uninitialized in this function
gcc -bundle -undefined dynamic_lookup
build/temp.macosx-10.3-ppc-2.5/scipy/io/numpyiomodule.o
-Lbuild/temp.macosx-10.3-ppc-2.5 -o
build/lib.macosx-10.3-ppc-2.5/scipy/io/numpyio.so
building 'scipy.lib.blas.fblas' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes

creating build/temp.macosx-10.3-ppc-2.5/build/src.macosx-10.3-ppc-2.5/scipy/lib/blas
compile options: '-DNO_ATLAS_INFO=3 -Ibuild/src.macosx-10.3-ppc-2.5
-I/usr/local/lib/python2.5/site-packages/numpy/core/include
-I/usr/local/include/python2.5 -c'
extra options: '-faltivec -I/System/Library/Frameworks/vecLib.framework/Headers'
gcc: build/src.macosx-10.3-ppc-2.5/build/src.macosx-10.3-ppc-2.5/scipy/lib/blas/fblasmodule.c
gcc: build/src.macosx-10.3-ppc-2.5/scipy/lib/blas/fblaswrap_veclib_c.c
scipy/lib/blas/fblaswrap_veclib_c.c.src:12: error: parse error before '*' token
scipy/lib/blas/fblaswrap_veclib_c.c.src:13: warning: function
declaration isn't a prototype
scipy/lib/blas/fblaswrap_veclib_c.c.src: In function `wcdotu_':
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `N' undeclared
(first use in this function)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: (Each undeclared
identifier is reported only once
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: for each function
it appears in.)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `X' undeclared
(first use in this function)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `incX' undeclared
(first use in this function)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `Y' undeclared
(first use in this function)
...snipsnip....
scipy/lib/blas/fblaswrap_veclib_c.c.src:13: warning: function
declaration isn't a prototype
scipy/lib/blas/fblaswrap_veclib_c.c.src: In function `wzdotc_':
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `N' undeclared
(first use in this function)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `X' undeclared
(first use in this function)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `incX' undeclared
(first use in this function)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `Y' undeclared
(first use in this function)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `incY' undeclared
(first use in this function)
scipy/lib/blas/fblaswrap_veclib_c.c.src:14: error: `dotc' undeclared
(first use in this function)
error: Command "gcc -fno-strict-aliasing -Wno-long-double
-no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -DNO_ATLAS_INFO=3 -Ibuild/src.macosx-10.3-ppc-2.5
-I/usr/local/lib/python2.5/site-packages/numpy/core/include
-I/usr/local/include/python2.5 -c
build/src.macosx-10.3-ppc-2.5/scipy/lib/blas/fblaswrap_veclib_c.c -o
build/temp.macosx-10.3-ppc-2.5/build/src.macosx-10.3-ppc-2.5/scipy/lib/blas/fblaswrap_veclib_c.o
-faltivec -I/System/Library/Frameworks/vecLib.framework/Headers"
failed with exit status 1


More information about the Scipy-dev mailing list