[Numpy-discussion] cannot build numpy from trunk

Charles R Harris charlesr.harris at gmail.com
Tue May 5 12:04:11 EDT 2009


On Tue, May 5, 2009 at 9:50 AM, Nils Wagner <nwagner at iam.uni-stuttgart.de>wrote:

> ...
> In file included from
> numpy/core/src/multiarray/ctors.c:16,
>                  from
> numpy/core/src/multiarray/multiarraymodule_onefile.c:13:
> numpy/core/src/multiarray/ctors.h: At top level:
> numpy/core/src/multiarray/ctors.h:68: warning: conflicting
> types for ‘byte_swap_vector’
> numpy/core/src/multiarray/ctors.h:68: error: static
> declaration of ‘byte_swap_vector’ follows non-static
> declaration
> numpy/core/src/multiarray/scalarapi.c:640: error: previous
> implicit declaration of ‘byte_swap_vector’ was here
> error: Command "/usr/bin/gcc -fno-strict-aliasing -DNDEBUG
> -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fwrapv -fPIC
> -Inumpy/core/include
> -Ibuild/src.linux-x86_64-2.6/numpy/core/include/numpy
> -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/multiarray/multiarraymodule_onefile.c -o
>
> build/temp.linux-x86_64-2.6/numpy/core/src/multiarray/multiarraymodule_onefile.o"
> failed with exit status 1
>

What happens if you delete the build directory first?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090505/c6ebdd38/attachment.html>


More information about the NumPy-Discussion mailing list