[Numpy-discussion] ANN: 1.8.0b2 release.
Charles R Harris
charlesr.harris at gmail.com
Mon Sep 9 11:02:39 EDT 2013
On Mon, Sep 9, 2013 at 8:51 AM, Charles R Harris
<charlesr.harris at gmail.com>wrote:
>
>
>
> On Mon, Sep 9, 2013 at 7:46 AM, Frédéric Bastien <nouiz at nouiz.org> wrote:
>
>> Hi,
>>
>> I checkout the dev version of numpy and it fail to compile with this
>> error:
>>
>> creating
>> build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/numpy/core/src/multiarray
>>
>> compile options: '-DHAVE_NPY_CONFIG_H=1 -Inumpy/core/include
>> -Ibuild/src.linux-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/opt/lisa/os/epd-7.1.2/include/python2.7 -c'
>>
>> gcc: numpy/core/src/multiarray/sequence.c
>>
>> gcc: numpy/core/src/multiarray/descriptor.c
>>
>> gcc: numpy/core/src/multiarray/getset.c
>>
>> gcc: numpy/core/src/multiarray/arrayobject.c
>>
>> gcc: numpy/core/src/multiarray/methods.c
>>
>> numpy/core/src/multiarray/methods.c: In function ‘array_partition’:
>>
>> numpy/core/src/multiarray/methods.c:1199:38: error:
>> ‘PyArray_SelectkindConverter’ undeclared (first use in this function)
>>
>> numpy/core/src/multiarray/methods.c:1199:38: note: each undeclared
>> identifier is reported only once for each function it appears in
>>
>> numpy/core/src/multiarray/methods.c: In function ‘array_argpartition’:
>>
>> numpy/core/src/multiarray/methods.c:1316:38: error:
>> ‘PyArray_SelectkindConverter’ undeclared (first use in this function)
>>
>> numpy/core/src/multiarray/methods.c:1352:9: warning: assignment makes
>> pointer from integer without a cast
>>
>> numpy/core/src/multiarray/methods.c: In function ‘array_partition’:
>>
>> numpy/core/src/multiarray/methods.c:1199:38: error:
>> ‘PyArray_SelectkindConverter’ undeclared (first use in this function)
>>
>> numpy/core/src/multiarray/methods.c:1199:38: note: each undeclared
>> identifier is reported only once for each function it appears in
>>
>> numpy/core/src/multiarray/methods.c: In function ‘array_argpartition’:
>>
>> numpy/core/src/multiarray/methods.c:1316:38: error:
>> ‘PyArray_SelectkindConverter’ undeclared (first use in this function)
>>
>> numpy/core/src/multiarray/methods.c:1352:9: warning: assignment makes
>> pointer from integer without a cast
>>
>> error: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -O2
>> -fPIC -DHAVE_NPY_CONFIG_H=1 -Inumpy/core/include
>> -Ibuild/src.linux-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/opt/lisa/os/epd-7.1.2/include/python2.7 -c
>> numpy/core/src/multiarray/methods.c -o
>> build/temp.linux-x86_64-2.7/numpy/core/src/multiarray/methods.o" failed
>> with exit status 1
>>
>>
>> PyArray_SelectkindConverter is defined in
>> numpy/core/src/multiarray/conversion_utils.c. methods.c include
>> conversion_utils.h, but there is no fct declaration of this fct in this
>> file. Is that normal?
>>
>>
> No, it looks like a bug. What is strange is that it doesn't show up on my
> machine. What compiler flags are you using?
>
> Could you make a PR for this?
>
> <snip>
>
>
Wait a minute, it is in the API. Try a clean build and see what happens.
Chuck
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130909/5460ef07/attachment.html>
More information about the NumPy-Discussion
mailing list