[Numpy-discussion] git source datetime build error

Mark Wiebe mwwiebe@gmail....
Tue Jun 7 16:57:26 CDT 2011


Hi Angus,

Thanks for reporting that, I've committed a fix so it builds in the
monolithic mode again.

-Mark

On Tue, Jun 7, 2011 at 4:23 PM, Angus McMorland <amcmorl@gmail.com> wrote:

> 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
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110607/e5ff1cf9/attachment.html 


More information about the NumPy-Discussion mailing list