[Numpy-discussion] git source datetime build error

Angus McMorland amcmorl@gmail....
Tue Jun 7 16:23:12 CDT 2011


Hi all,

I'm experiencing a build failure from current numpy git, which seems
to be datetime related. Here's the error message.

creating build/temp.linux-i686-2.6/numpy/core/src/multiarray
compile options: '-Inumpy/core/include
-Ibuild/src.linux-i686-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/include -I/usr/include/python2.6
-Ibuild/src.linux-i686-2.6/numpy/core/src/multiarray
-Ibuild/src.linux-i686-2.6/numpy/core/src/umath -c'
gcc: numpy/core/src/multiarray/multiarraymodule_onefile.c
In file included from numpy/core/src/multiarray/scalartypes.c.src:24,
                 from numpy/core/src/multiarray/multiarraymodule_onefile.c:10:
numpy/core/src/multiarray/_datetime.h:5: warning: function declaration
isn’t a prototype
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:13:
numpy/core/src/multiarray/datetime.c:23: warning: function declaration
isn’t a prototype
numpy/core/src/multiarray/datetime.c:35: error: redefinition of
‘_datetime_strings’
numpy/core/src/multiarray/scalartypes.c.src:690: note: previous
definition of ‘_datetime_strings’ was here
In file included from numpy/core/src/multiarray/scalartypes.c.src:24,
                 from numpy/core/src/multiarray/multiarraymodule_onefile.c:10:
numpy/core/src/multiarray/_datetime.h:5: warning: function declaration
isn’t a prototype
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:13:
numpy/core/src/multiarray/datetime.c:23: warning: function declaration
isn’t a prototype
numpy/core/src/multiarray/datetime.c:35: error: redefinition of
‘_datetime_strings’
numpy/core/src/multiarray/scalartypes.c.src:690: note: previous
definition of ‘_datetime_strings’ was here
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -fPIC -Inumpy/core/include
-Ibuild/src.linux-i686-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/include -I/usr/include/python2.6
-Ibuild/src.linux-i686-2.6/numpy/core/src/multiarray
-Ibuild/src.linux-i686-2.6/numpy/core/src/umath -c
numpy/core/src/multiarray/multiarraymodule_onefile.c -o
build/temp.linux-i686-2.6/numpy/core/src/multiarray/multiarraymodule_onefile.o"
failed with exit status 1

Thanks,

Angus
-- 
AJC McMorland
Post-doctoral research fellow
Neurobiology, University of Pittsburgh


More information about the NumPy-Discussion mailing list