[Numpy-discussion] Compile error w/ rev5703

Pierre GM pgmdevlist@gmail....
Tue Aug 26 13:28:10 CDT 2008


Here's the interesting part:

--------------------
creating build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/numpy/core/src
compile 
options: '-Ibuild/src.linux-x86_64-2.4/numpy/core/src -Inumpy/core/include -Ibuild/src.linux-x86_64-2.4/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.4 -c'
x86_64-pc-linux-gnu-gcc: 
build/src.linux-x86_64-2.4/numpy/core/src/umathmodule.c
numpy/core/src/umathmodule.c.src:332: error: static declaration of âtruncâ 
follows non-static declaration
----------------------

Here's some generic info about the system.

gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1)
Copyright (C) 2006 Free Software Foundation, Inc.
C compiler: 
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC

compile options: '-c'
x86_64-pc-linux-gnu-gcc: _configtest.c
x86_64-pc-linux-gnu-gcc -pthread 
_configtest.o -L/usr/lib64 -lf77blas -lcblas -latlas -o _configtest
ATLAS version 3.8.2 built by root on Thu Jun 19 14:40:27 EDT 2008:
   UNAME    : Linux back2tux 2.6.22-suspend2-r1 #8 Fri Feb 15 17:00:17 EST 
2008 x86_64 Mobile AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
   INSTFLG  : -1 0 -a 1
   
ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_HAMMER -DATL_CPUMHZ=2205 -DATL_SSE2 -DATL_SSE1 -DATL_3DNow -DATL_USE64BITS -DATL_GAS_x8664
   F2CDEFS  : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
   CACHEEDGE: 262144
   F77      : gfortran, version GNU Fortran 95 (GCC) 4.1.2 (Gentoo 4.1.2 
p1.0.1)
   F77FLAGS : -O2 -m64
   SMC      : x86_64-pc-linux-gnu-gcc, version x86_64-pc-linux-gnu-gcc (GCC) 
4.1.2 (Gentoo 4.1.2 p1.0.1)
   SMCFLAGS : -march=k8 -O2 -pipe -m64
   SKC      : x86_64-pc-linux-gnu-gcc, version x86_64-pc-linux-gnu-gcc (GCC) 
4.1.2 (Gentoo 4.1.2 p1.0.1)
   SKCFLAGS : -march=k8 -O2 -pipe -m64



More information about the Numpy-discussion mailing list