[Numpy-discussion] Build error on OSX from commit 72c6fbd

Matthew Brett matthew.brett at gmail.com
Sat Mar 17 04:24:34 EDT 2012


Hi,

As of commit 72c6fbd, I am getting the appended build error on OSX
10.6.8.  I couldn't immediately see what might have caused the
problem.

Cheers,

Matthew

...
creating build/temp.macosx-10.3-fat-2.6/numpy/core/blasdot
compile options: '-DNO_ATLAS_INFO=3 -Inumpy/core/blasdot
-Inumpy/core/include
-Ibuild/src.macosx-10.3-fat-2.6/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/src/npysort -Inumpy/core/include
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-Ibuild/src.macosx-10.3-fat-2.6/numpy/core/src/multiarray
-Ibuild/src.macosx-10.3-fat-2.6/numpy/core/src/umath -c'
extra options: '-msse3 -I/System/Library/Frameworks/vecLib.framework/Headers'
gcc-4.0: numpy/core/blasdot/_dotblas.c
In file included from numpy/core/include/numpy/ndarraytypes.h:1972,
                 from numpy/core/include/numpy/ndarrayobject.h:17,
                 from numpy/core/include/numpy/arrayobject.h:15,
                 from numpy/core/blasdot/_dotblas.c:6:
numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning
"Using deprecated NumPy API, disable it by #defining
NPY_NO_DEPRECATED_API"
In file included from numpy/core/include/numpy/ndarraytypes.h:1972,
                 from numpy/core/include/numpy/ndarrayobject.h:17,
                 from numpy/core/include/numpy/arrayobject.h:15,
                 from numpy/core/blasdot/_dotblas.c:6:
numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning
"Using deprecated NumPy API, disable it by #defining
NPY_NO_DEPRECATED_API"
numpy/core/blasdot/_dotblas.c: In function ‘dotblas_matrixproduct’:
numpy/core/blasdot/_dotblas.c: In function ‘dotblas_matrixproduct’:
numpy/core/blasdot/_dotblas.c:239: warning: comparison of distinct
pointer types lacks a cast
numpy/core/blasdot/_dotblas.c:257: warning: passing argument 3 of
‘*(PyArray_API + 1120u)’ from incompatible pointer type
numpy/core/blasdot/_dotblas.c:292: warning: passing argument 3 of
‘*(PyArray_API + 1120u)’ from incompatible pointer type
numpy/core/blasdot/_dotblas.c:239: warning: comparison of distinct
pointer types lacks a cast
numpy/core/blasdot/_dotblas.c:257: warning: passing argument 3 of
‘*(PyArray_API + 1120u)’ from incompatible pointer type
numpy/core/blasdot/_dotblas.c:292: warning: passing argument 3 of
‘*(PyArray_API + 1120u)’ from incompatible pointer type
gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-g -bundle -undefined dynamic_lookup
build/temp.macosx-10.3-fat-2.6/numpy/core/blasdot/_dotblas.o
-Lbuild/temp.macosx-10.3-fat-2.6 -o
build/lib.macosx-10.3-fat-2.6/numpy/core/_dotblas.so -Wl, -framework
-Wl,Accelerate
ld: file not found:
collect2: ld returned 1 exit status
ld: file not found:
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/jg/jgfZ12ZXHwGSFKD85xLpLk+++TI/-Tmp-//ccZil7bP.out (No
such file or directory)
ld: file not found:
collect2: ld returned 1 exit status
ld: file not found:
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/jg/jgfZ12ZXHwGSFKD85xLpLk+++TI/-Tmp-//ccZil7bP.out (No
such file or directory)
error: Command "gcc-4.0 -arch ppc -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup
build/temp.macosx-10.3-fat-2.6/numpy/core/blasdot/_dotblas.o
-Lbuild/temp.macosx-10.3-fat-2.6 -o
build/lib.macosx-10.3-fat-2.6/numpy/core/_dotblas.so -Wl, -framework
-Wl,Accelerate" failed with exit status 1



More information about the NumPy-Discussion mailing list