<br><br><div><span class="gmail_quote">On 8/30/07, <b class="gmail_sendername">Vincent Broman</b> <<a href="mailto:broman@spawar.navy.mil">broman@spawar.navy.mil</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My build of numpy fails under Yellow Dog Linux 2.1,<br>running on a powerpc multiprocessor board from Curtiss-Wright.<br><br>Its kernel is 2.4.19-Asmp tailored by the vendor.</blockquote><div><br>Which vendor? <br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The gcc compiler is configured as ppc-yellowdog-linux with<br>version number 2.95.3 20010111.
</blockquote><div><br>That compiler is really, I mean really, ancient. And the API changed in newer gcc (> 3.x.x), so code compiled with later versions isn't binary compatible. Hmmm. Curtiss-Wright now supports Linux and kernel 
2.6.16 on some of their newer hardware, you might want to check with them or install a more current distro from Fedora or someone else who supports the PPC.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The python I'm using is Python 2.5.1 (r251:54863) installed as python2.<br>Plain /usr/bin/python is 1.5.x .<br>The numpy version I'm trying to build is r4003 for v1.0.4 .<br><br>The setup fails compiling build/src.linux-
ppc-2.5/numpy/core/src/umathmodule.c<br>with a long list of error messages of the following two kinds.<br><br>warning: conflicting types for built-in function `sinl'<br>repeated for `cosl', `fabsl', and `sqrtl', triggered by line 442.
</blockquote><div><br>Any more detail on these? What causes the conflict. I've got to wonder about the the libc/libm versions also. Does the include file math.h say anything about the prototypes for these functions? I expect cosl 
<a href="http://et.al">et.al</a>. to be potential problems on the PPC anyway due to the way long doubles were implemented.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
inconsistent operand constraints in an `asm',<br>triggered by lines 1100, 1124, 1150, 1755, 1785, and 1834.<br><br>I cannot see on those source lines what causes such a<br>message; I suspect there is some long complicated
<br>cpp macro or asm statement in some include file which<br>I don't find.</blockquote><div><br>What is the PPC model number?<br></div><br>Chuck<br><br></div><br>