[Numpy-discussion] cannot build numpy from trunk

Nils Wagner nwagner@iam.uni-stuttgart...
Tue May 5 11:12:36 CDT 2009


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 ;-)
  
  Nils


More information about the Numpy-discussion mailing list