[Numpy-discussion] cannot build numpy from trunk

Nils Wagner nwagner@iam.uni-stuttgart...
Tue May 5 13:46:20 CDT 2009


On Tue, 5 May 2009 12:44:31 -0600
  Charles R Harris <charlesr.harris@gmail.com> wrote:
> On Tue, May 5, 2009 at 10:12 AM, Nils Wagner
> <nwagner@iam.uni-stuttgart.de>wrote:
> 
>> On Tue, 5 May 2009 10:04:11 -0600
>>  Charles R Harris <charlesr.harris@gmail.com> wrote:
>> > On Tue, May 5, 2009 at 9:50 AM, Nils Wagner
>> ><nwagner@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
>>
>> I have done that before ;-)
>>
> 
> Is this from the latest svn?
> 
> Chuck
------------------------------------------------------------------------
r6955 | cdavid | 2009-05-05 13:10:29 +0200 (Di, 05. Mai 
2009) | 1 line

Put buffer protocol in separate file.
  

Nils


More information about the Numpy-discussion mailing list