More reading of the thread linked solved the issue. To reiterate, add numpy/ and change .c to .h in line 590 of ieee754.c.src. <div><br></div><div>Ex:<div><div><br></div><div> elif defined(__CYGWIN__)</div><div>   include "numpy/fenv/fenv.h"</div>
<div> endif</div><div><br></div>Thanks,</div><div><br><div class="gmail_quote">On Wed, Feb 29, 2012 at 1:41 PM, Matt Miller <span dir="ltr"><<a href="mailto:mattm184@gmail.com">mattm184@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>That fixed changed my error message to this:</div><div><br></div><div><div>numpy/core/src/private/lowlevel_strided_loops.h:404:1: warning: ‘PyArray_PrepareThreeRawArrayIter’ declared ‘static’ but never defined</div>

<div>numpy/core/src/private/lowlevel_strided_loops.h:430:1: warning: ‘PyArray_PrepareFourRawArrayIter’ declared ‘static’ but never defined</div><div>gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.7.11-i686-2.6/numpy/core/src/umath/umathmodule_onefile.o -L/usr/lib/python2.6/config -Lbuild/temp.cygwin-1.7.11-i686-2.6 -lnpymath -lpython2.6 -o build/lib.cygwin-1.7.11-i686-2.6/numpy/core/umath.dll</div>

<div>build/temp.cygwin-1.7.11-i686-2.6/libnpymath.a(ieee754.o):ieee754.c:(.rdata+0x0): multiple definition of `_npy__fe_dfl_env'</div><div>build/temp.cygwin-1.7.11-i686-2.6/numpy/core/src/umath/umathmodule_onefile.o:umathmodule_onefile.c:(.rdata+0x13158): first defined here</div>

<div>collect2: ld returned 1 exit status</div><div>build/temp.cygwin-1.7.11-i686-2.6/libnpymath.a(ieee754.o):ieee754.c:(.rdata+0x0): multiple definition of `_npy__fe_dfl_env'</div><div>build/temp.cygwin-1.7.11-i686-2.6/numpy/core/src/umath/umathmodule_onefile.o:umathmodule_onefile.c:(.rdata+0x13158): first defined here</div>

<div>collect2: ld returned 1 exit status</div><div>error: Command "gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.7.11-i686-2.6/numpy/core/src/umath/umathmodule_onefile.o -L/usr/lib/python2.6/config -Lbuild/temp.cygwin-1.7.11-i686-2.6 -lnpymath -lpython2.6 -o build/lib.cygwin-1.7.11-i686-2.6/numpy/core/umath.dll" failed with exit status 1</div>

</div><div><br></div><div><br></div><div>Thanks for the quick reply!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> Hi all,<br>
><br>
> I am getting the following error when running `python setup.py install`<br>
> for Numpy in Cygwin. This error happens on the latest as well as<br>
> the maintenance branched for 1.5 and 1.6.<br>
><br>
<br>
This should fix it: <a href="http://projects.scipy.org/numpy/ticket/1944" target="_blank">http://projects.scipy.org/numpy/ticket/1944</a>.<br>
<br>
Can you confirm that that works? Then I'll make the change in master.<br>
<br>
Ralf<br>
<br>
<br>
> ...<br>
> creating build/temp.cygwin-1.7.11-i686-2.6<br>
> creating build/temp.cygwin-1.7.11-i686-2.6/build<br>
> creating build/temp.cygwin-1.7.11-i686-2.6/build/src.cygwin-1.7.11-i686-2.6<br>
> creating<br>
> build/temp.cygwin-1.7.11-i686-2.6/build/src.cygwin-1.7.11-i686-2.6/numpy<br>
> creating<br>
> build/temp.cygwin-1.7.11-i686-2.6/build/src.cygwin-1.7.11-i686-2.6/numpy/core<br>
> creating<br>
> build/temp.cygwin-1.7.11-i686-2.6/build/src.cygwin-1.7.11-i686-2.6/numpy/core/src<br>
> creating<br>
> build/temp.cygwin-1.7.11-i686-2.6/build/src.cygwin-1.7.11-i686-2.6/numpy/core/src/npymath<br>
> creating build/temp.cygwin-1.7.11-i686-2.6/numpy<br>
> creating build/temp.cygwin-1.7.11-i686-2.6/numpy/core<br>
> creating build/temp.cygwin-1.7.11-i686-2.6/numpy/core/src<br>
> creating build/temp.cygwin-1.7.11-i686-2.6/numpy/core/src/npymath<br>
> compile options: '-Inumpy/core/include<br>
> -Ibuild/src.cygwin-1.7.11-i686-2.6/numpy/core/include/numpy<br>
> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core<br>
> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath<br>
> -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python2.6<br>
> -Ibuild/src.cygwin-1.7.11-i686-2.6/numpy/core/src/multiarray<br>
> -Ibuild/src.cygwin-1.7.11-i686-2.6/numpy/core/src/umath -c'<br>
> gcc: build/src.cygwin-1.7.11-i686-2.6/numpy/core/src/npymath/npy_math.c<br>
> gcc: build/src.cygwin-1.7.11-i686-2.6/numpy/core/src/npymath/ieee754.c<br>
> numpy/core/src/npymath/ieee754.c.src:590:25: fatal error: fenv/fenv.c: No<br>
> such file or directory<br>
> compilation terminated.<br>
> numpy/core/src/npymath/ieee754.c.src:590:25: fatal error: fenv/fenv.c: No<br>
> such file or directory<br>
> compilation terminated.<br>
> error: Command "gcc -fno-strict-aliasing -g -O2 -pipe -DNDEBUG -g -fwrapv<br>
> -O3 -Wall -Wstrict-prototypes -Inumpy/core/include<br>
> -Ibuild/src.cygwin-1.7.11-i686-2.6/numpy/core/include/numpy<br>
> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core<br>
> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath<br>
> -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python2.6<br>
> -Ibuild/src.cygwin-1.7.11-i686-2.6/numpy/core/src/multiarray<br>
> -Ibuild/src.cygwin-1.7.11-i686-2.6/numpy/core/src/umath -c<br>
> build/src.cygwin-1.7.11-i686-2.6/numpy/core/src/npymath/ieee754.c -o<br>
> build/temp.cygwin-1.7.11-i686-2.6/build/src.cygwin-1.7.11-i686-2.6/numpy/core/src/npymath/ieee754.o"<br>
> failed with exit status 1<br>
><br>
><br>
> Thanks<br>
><br>
> _______________________________________________<br>
> NumPy-Discussion mailing list<br>
> <a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
><br>
><br><br>
</blockquote></div><br>
</blockquote></div><br></div></div>