[Numpy-discussion] git source datetime build error

Mark Wiebe mwwiebe at gmail.com
Wed Jun 8 11:27:15 EDT 2011


I've committed a fix for x86_64 as well now. Sorry for the breakage!

-Mark

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

> On 7 June 2011 17:57, Mark Wiebe <mwwiebe at gmail.com> wrote:
> > Hi Angus,
> > Thanks for reporting that, I've committed a fix so it builds in the
> > monolithic mode again.
>
> Thanks Mark. That fixed it for i686, but on x86_64 I get the
> following. Still looks datetime related.
>
> compile options: '-Ibuild/src.linux-x86_64-2.6/numpy/core/src/umath
> -Inumpy/core/include
> -Ibuild/src.linux-x86_64-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-x86_64-2.6/numpy/core/src/multiarray
> -Ibuild/src.linux-x86_64-2.6/numpy/core/src/umath -c'
> gcc: numpy/core/src/umath/umathmodule_onefile.c
> In file included from numpy/core/src/umath/umathmodule.c.src:41,
>                 from numpy/core/src/umath/umathmodule_onefile.c:4:
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:68:
> error: ‘TIMEDELTA_ml_m_divide’ undeclared here (not in a function)
> In file included from numpy/core/src/umath/umathmodule.c.src:41,
>                 from numpy/core/src/umath/umathmodule_onefile.c:4:
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:89:
> error: ‘TIMEDELTA_ml_m_floor_divide’ undeclared here (not in a
> function)
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:89:
> error: initializer element is not constant
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:89:
> error: (near initialization for ‘floor_divide_functions[17]’)
> In file included from numpy/core/src/umath/umathmodule.c.src:41,
>                 from numpy/core/src/umath/umathmodule_onefile.c:4:
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: ‘TIMEDELTA_ml_m_multiply’ undeclared here (not in a function)
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: initializer element is not constant
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: (near initialization for ‘multiply_functions[18]’)
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: ‘TIMEDELTA_lm_m_multiply’ undeclared here (not in a function)
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: initializer element is not constant
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: (near initialization for ‘multiply_functions[19]’)
> In file included from numpy/core/src/umath/umathmodule.c.src:41,
>                 from numpy/core/src/umath/umathmodule_onefile.c:4:
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:236:
> error: ‘TIMEDELTA_ml_m_true_divide’ undeclared here (not in a
> function)
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:236:
> error: initializer element is not constant
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:236:
> error: (near initialization for ‘true_divide_functions[17]’)
> In file included from numpy/core/src/umath/umathmodule.c.src:41,
>                 from numpy/core/src/umath/umathmodule_onefile.c:4:
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:68:
> error: ‘TIMEDELTA_ml_m_divide’ undeclared here (not in a function)
> In file included from numpy/core/src/umath/umathmodule.c.src:41,
>                 from numpy/core/src/umath/umathmodule_onefile.c:4:
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:89:
> error: ‘TIMEDELTA_ml_m_floor_divide’ undeclared here (not in a
> function)
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:89:
> error: initializer element is not constant
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:89:
> error: (near initialization for ‘floor_divide_functions[17]’)
> In file included from numpy/core/src/umath/umathmodule.c.src:41,
>                 from numpy/core/src/umath/umathmodule_onefile.c:4:
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: ‘TIMEDELTA_ml_m_multiply’ undeclared here (not in a function)
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: initializer element is not constant
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: (near initialization for ‘multiply_functions[18]’)
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: ‘TIMEDELTA_lm_m_multiply’ undeclared here (not in a function)
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: initializer element is not constant
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:170:
> error: (near initialization for ‘multiply_functions[19]’)
> In file included from numpy/core/src/umath/umathmodule.c.src:41,
>                 from numpy/core/src/umath/umathmodule_onefile.c:4:
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:236:
> error: ‘TIMEDELTA_ml_m_true_divide’ undeclared here (not in a
> function)
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:236:
> error: initializer element is not constant
>
> build/src.linux-x86_64-2.6/numpy/core/include/numpy/__umath_generated.c:236:
> error: (near initialization for ‘true_divide_functions[17]’)
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
> -O2 -Wall -Wstrict-prototypes -fPIC
> -Ibuild/src.linux-x86_64-2.6/numpy/core/src/umath -Inumpy/core/include
> -Ibuild/src.linux-x86_64-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-x86_64-2.6/numpy/core/src/multiarray
> -Ibuild/src.linux-x86_64-2.6/numpy/core/src/umath -c
> numpy/core/src/umath/umathmodule_onefile.c -o
> build/temp.linux-x86_64-2.6/numpy/core/src/umath/umathmodule_onefile.o"
> failed with exit status 1
> --
> AJC McMorland
> Post-doctoral research fellow
> Neurobiology, University of Pittsburgh
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110608/23fcdc9c/attachment.html>


More information about the NumPy-Discussion mailing list