[NumPy-Tickets] [NumPy] #1951: Build error in multiarray
NumPy Trac
numpy-tickets@scipy....
Sat Sep 10 17:03:28 CDT 2011
#1951: Build error in multiarray
------------------------------+---------------------------------------------
Reporter: fonnesbeck_chris | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: Other | Version: devel
Keywords: |
------------------------------+---------------------------------------------
The current main repository code no longer builds on OSX 10.7. Sometime
during the last 3 weeks, something in multiarray was broken. Here is the
relevant part of the build log:
In file included from
numpy/core/src/multiarray/multiarraymodule_onefile.c:45:
numpy/core/src/multiarray/lowlevel_strided_loops.c.src: At top level:
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:314: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:469: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:469: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:851: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:932: error:
expected declaration specifiers or ‘...’ before
‘PyArray_StridedTransferFn’
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:934: error:
conflicting types for ‘PyArray_TransferNDimToStrided’
numpy/core/src/private/lowlevel_strided_loops.h:317: error: previous
declaration of ‘PyArray_TransferNDimToStrided’ was here
numpy/core/src/multiarray/lowlevel_strided_loops.c.src: In function
‘PyArray_TransferNDimToStrided’:
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:943: warning:
implicit declaration of function ‘stransfer’
numpy/core/src/multiarray/lowlevel_strided_loops.c.src: At top level:
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:1051: error:
expected declaration specifiers or ‘...’ before
‘PyArray_StridedTransferFn’
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:1053: error:
conflicting types for ‘PyArray_TransferStridedToNDim’
numpy/core/src/private/lowlevel_strided_loops.h:327: error: previous
declaration of ‘PyArray_TransferStridedToNDim’ was here
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:1171: error:
expected declaration specifiers or ‘...’ before
‘PyArray_MaskedStridedTransferFn’
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:1173: error:
conflicting types for ‘PyArray_TransferMaskedStridedToNDim’
numpy/core/src/private/lowlevel_strided_loops.h:338: error: previous
declaration of ‘PyArray_TransferMaskedStridedToNDim’ was here
In file included from
numpy/core/src/multiarray/multiarraymodule_onefile.c:47:
numpy/core/src/multiarray/einsum.c.src: In function ‘PyArray_EinsteinSum’:
numpy/core/src/multiarray/einsum.c.src:3016: warning: implicit declaration
of function ‘PyArray_FillWithZero’
In file included from
numpy/core/src/multiarray/multiarraymodule_onefile.c:49:
numpy/core/src/multiarray/array_assign_scalar.c: At top level:
numpy/core/src/multiarray/array_assign_scalar.c:335: error: conflicting
types for ‘PyArray_AssignRawScalar’
numpy/core/src/multiarray/array_assign_scalar.c:335: note: an argument
type that has a default promotion can’t match an empty parameter name list
declaration
numpy/core/src/multiarray/convert.c:407: error: previous implicit
declaration of ‘PyArray_AssignRawScalar’ was here
In file included from
numpy/core/src/multiarray/multiarraymodule_onefile.c:50:
numpy/core/src/multiarray/array_assign_array.c:392: error: conflicting
types for ‘PyArray_AssignArray’
numpy/core/src/multiarray/array_assign_array.c:392: note: an argument type
that has a default promotion can’t match an empty parameter name list
declaration
numpy/core/src/multiarray/ctors.c:2907: error: previous implicit
declaration of ‘PyArray_AssignArray’ was here
numpy/core/src/multiarray/array_assign_array.c: In function
‘PyArray_AssignArray’:
numpy/core/src/multiarray/array_assign_array.c:403: warning:
initialization makes pointer from integer without a cast
numpy/core/src/multiarray/array_assign_array.c:407: warning: implicit
declaration of function ‘PyArray_AssignNA’
In file included from
numpy/core/src/multiarray/multiarraymodule_onefile.c:51:
numpy/core/src/multiarray/reduction.c: At top level:
numpy/core/src/multiarray/reduction.c:801: error: conflicting types for
‘PyArray_ReduceWrapper’
numpy/core/src/multiarray/item_selection.c:2028: error: previous implicit
declaration of ‘PyArray_ReduceWrapper’ was here
In file included from
numpy/core/src/multiarray/multiarraymodule_onefile.c:52:
numpy/core/src/multiarray/na_mask.c:55: error: static declaration of
‘PyArray_ContainsNA’ follows non-static declaration
numpy/core/src/multiarray/common.c:104: error: previous implicit
declaration of ‘PyArray_ContainsNA’ was here
numpy/core/src/multiarray/na_mask.c:243: error: conflicting types for
‘PyArray_AssignMaskNA’
numpy/core/src/multiarray/na_mask.c:243: note: an argument type that has a
default promotion can’t match an empty parameter name list declaration
numpy/core/src/multiarray/ctors.c:2670: error: previous implicit
declaration of ‘PyArray_AssignMaskNA’ was here
numpy/core/src/multiarray/na_mask.c:331: error: conflicting types for
‘PyArray_AllocateMaskNA’
numpy/core/src/multiarray/na_mask.c:331: note: an argument type that has a
default promotion can’t match an empty parameter name list declaration
numpy/core/src/multiarray/flagsobject.c:286: error: previous implicit
declaration of ‘PyArray_AllocateMaskNA’ was here
numpy/core/src/multiarray/na_mask.c:468: error: conflicting types for
‘PyArray_AssignNA’
numpy/core/src/multiarray/na_mask.c:468: note: an argument type that has a
default promotion can’t match an empty parameter name list declaration
numpy/core/src/multiarray/array_assign_array.c:407: error: previous
implicit declaration of ‘PyArray_AssignNA’ was here
numpy/core/src/multiarray/na_mask.c: In function ‘PyArray_IsNA’:
numpy/core/src/multiarray/na_mask.c:500: error: ‘NpyNA_Type’ undeclared
(first use in this function)
In file included from
numpy/core/src/multiarray/multiarraymodule_onefile.c:53:
numpy/core/src/multiarray/na_object.c: In function ‘na_call’:
numpy/core/src/multiarray/na_object.c:84: error: ‘NpyNA_Type’ undeclared
(first use in this function)
numpy/core/src/multiarray/na_object.c: In function ‘na_richcompare’:
numpy/core/src/multiarray/na_object.c:164: warning: assignment makes
pointer from integer without a cast
numpy/core/src/multiarray/na_object.c: In function ‘NpyNA_CombineNA’:
numpy/core/src/multiarray/na_object.c:285: error: ‘NpyNA_Type’ undeclared
(first use in this function)
numpy/core/src/multiarray/na_object.c: In function
‘NpyNA_CombineNAWithObject’:
numpy/core/src/multiarray/na_object.c:328: error: ‘NpyNA_Type’ undeclared
(first use in this function)
numpy/core/src/multiarray/na_object.c: At top level:
numpy/core/src/multiarray/na_object.c:424: error: conflicting types for
‘NpyNA_FromObject’
numpy/core/src/multiarray/scalarapi.c:824: error: previous implicit
declaration of ‘NpyNA_FromObject’ was here
numpy/core/src/multiarray/na_object.c: In function ‘NpyNA_FromObject’:
numpy/core/src/multiarray/na_object.c:426: error: ‘NpyNA_Type’ undeclared
(first use in this function)
numpy/core/src/multiarray/na_object.c: At top level:
numpy/core/src/multiarray/na_object.c:489: error: conflicting types for
‘NpyNA_FromDTypeAndPayload’
numpy/core/src/multiarray/mapping.c:1806: error: previous implicit
declaration of ‘NpyNA_FromDTypeAndPayload’ was here
numpy/core/src/multiarray/na_object.c: In function
‘NpyNA_FromDTypeAndPayload’:
numpy/core/src/multiarray/na_object.c:493: error: ‘Npy_NA’ undeclared
(first use in this function)
numpy/core/src/multiarray/na_object.c:497: error: ‘NpyNA_Type’ undeclared
(first use in this function)
numpy/core/src/multiarray/na_object.c: In function ‘na_binaryop’:
numpy/core/src/multiarray/na_object.c:551: error: ‘NpyNA_Type’ undeclared
(first use in this function)
numpy/core/src/multiarray/na_object.c: In function ‘na_and’:
numpy/core/src/multiarray/na_object.c:577: error: ‘NpyNA_Type’ undeclared
(first use in this function)
numpy/core/src/multiarray/na_object.c: In function ‘na_or’:
numpy/core/src/multiarray/na_object.c:615: error: ‘NpyNA_Type’ undeclared
(first use in this function)
error: Command "llvm-gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-
prototypes -arch x86_64 -pipe -Inumpy/core/include
-Ibuild/src.macosx-10.7-x86_64-2.7/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/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-Ibuild/src.macosx-10.7-x86_64-2.7/numpy/core/src/multiarray
-Ibuild/src.macosx-10.7-x86_64-2.7/numpy/core/src/umath -c
numpy/core/src/multiarray/multiarraymodule_onefile.c -o
build/temp.macosx-10.7-x86_64-2.7/numpy/core/src/multiarray/multiarraymodule_onefile.o"
failed with exit status 1
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1951>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list