[Numpy-discussion] numpy revision 3056 will not build on RHE3 or Solaris

Darren Dale dd55 at cornell.edu
Thu Aug 24 11:36:21 CDT 2006


Hi Travis,

On Thursday 24 August 2006 12:24, you wrote:
> Christopher Hanley wrote:
> > Good Morning,
> >
> > Numpy revision 3056 will not build on either Red Hat Enterprise 3 or
> > Solaris 8.  The relevant syntax errors are below:
>
> I'd like to see which platforms do not work with the npy_interrupt.h
> stuff.  If you have a unique platform please try the latest SVN.


I am able to build on an amd64/gentoo with python 2.4.3 and gcc-4.1.1. I am 
not able to build on 32bit RHEL4:

---------------------------------
In file included from numpy/core/include/numpy/arrayobject.h:19,
                 from numpy/core/src/multiarraymodule.c:25:
numpy/core/include/numpy/npy_interrupt.h: In function `_npy_sighandler':
numpy/core/include/numpy/npy_interrupt.h:102: error: `SIG_IGN' undeclared 
(first use in this function)
numpy/core/include/numpy/npy_interrupt.h:102: error: (Each undeclared 
identifier is reported only once
numpy/core/include/numpy/npy_interrupt.h:102: error: for each function it 
appears in.)
numpy/core/src/multiarraymodule.c: In function `test_interrupt':
numpy/core/src/multiarraymodule.c:6439: error: `SIGINT' undeclared (first use 
in this function)
In file included from numpy/core/include/numpy/arrayobject.h:19,
                 from numpy/core/src/multiarraymodule.c:25:
numpy/core/include/numpy/npy_interrupt.h: In function `_npy_sighandler':
numpy/core/include/numpy/npy_interrupt.h:102: error: `SIG_IGN' undeclared 
(first use in this function)
numpy/core/include/numpy/npy_interrupt.h:102: error: (Each undeclared 
identifier is reported only once
numpy/core/include/numpy/npy_interrupt.h:102: error: for each function it 
appears in.)
numpy/core/src/multiarraymodule.c: In function `test_interrupt':
numpy/core/src/multiarraymodule.c:6439: error: `SIGINT' undeclared (first use 
in this function)
error: 
Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC -Ibuild/src.linux-i686-2.3/numpy/core/src -Inumpy/core/include -Ibuild/src.linux-i686-2.3/numpy/core -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.3 -c 
numpy/core/src/multiarraymodule.c -o 
build/temp.linux-i686-2.3/numpy/core/src/multiarraymodule.o" failed with exit 
status 1




More information about the Numpy-discussion mailing list