Building greenlet 0.9.1 in Solaris 10<br><br>While trying to build the c extension within Solaris 10, i get the following error message:<br><br>bash-3.00# /usr/local/bin/python setup.py build<br>running build<br>running build_ext<br>
building 'greenlet' extension<br>creating build<br>creating build/temp.solaris-2.10-sun4u-2.5<br>gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.5 -c greenlet.c -o build/temp.solaris-2.10-sun4u-2.5/greenlet.o<br>
In file included from slp_platformselect.h:16,<br> from greenlet.c:251:<br>switch_sparc_sun_gcc.h: In function `slp_switch':<br>switch_sparc_sun_gcc.h:56: error: `_cst' undeclared (first use in this function)<br>
switch_sparc_sun_gcc.h:56: error: (Each undeclared identifier is reported only once<br>switch_sparc_sun_gcc.h:56: error: for each function it appears in.)<br>switch_sparc_sun_gcc.h:52: error: PIC register `%l7' clobbered in `asm'<br>
error: command 'gcc' failed with exit status 1<br><br>bash-3.00# gcc -v<br>Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs<br>Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared<br>
Thread model: posix<br>gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)<br><br>Python build is :<br>Python 2.5.1 (r251:54863, May 16 2007, 19:58:05)<br>[GCC 3.4.6] on sunos5<br><br>bash-3.00# cat /etc/release<br>Solaris 10 3/05 s10_74L2a SPARC<br>
<br><br><br>