On Nov 24, 2007 10:18 AM, mabshoff
<[EMAIL PROTECTED]> wrote:
>
> Hello Bill,
>
> > * Sparc Solaris 10 -- flint doesn't build, since maybe u_int16_t
> > doesn't exist or
> > isn't properly included:
>
> this is because Solaris 9 isn't C99 conform. I have a fix for this (a
> couple defines) that we also use for Sage in general.
> On Solaris 10
> flint should build, but I haven't checked. There already is a ticket
> about this, see #1178.

I was building on Solaris 10 not solaris 9 (see below):

> > SunOS abel 5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V440
> > gcc version 4.1.1
> >
> > gcc -std=c99 
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include/
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include
> > -funroll-loops -fexpensive-optimizations  -fPIC -funroll-loops   -O3
> > -c fmpz_poly.c -o fmpz_poly.o
> > fmpz_poly.c: In function [EMAIL PROTECTED]@~Y:
> > fmpz_poly.c:169: error: [EMAIL PROTECTED]@~Y undeclared (first use in
> > this function)
> > fmpz_poly.c:169: error: (Each undeclared identifier is reported only once
> > fmpz_poly.c:169: error: for each function it appears in.)
> > fmpz_poly.c:169: error: expected [EMAIL PROTECTED];[EMAIL PROTECTED] before 
> > [EMAIL PROTECTED]@~Y
> > fmpz_poly.c:222: error: [EMAIL PROTECTED]@~Y undeclared (first use in this 
> > function)
> > fmpz_poly.c:222: error: expected [EMAIL PROTECTED];[EMAIL PROTECTED] before 
> > [EMAIL PROTECTED]@~Y
> > make: *** [fmpz_poly.o] Error 1
> > gcc -std=c99 
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include/
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include
> > -funroll-loops -fexpensive-optimizations  -fPIC -funroll-loops   -O3
> > -c mpn_extras-test.c -o mpn_extras-test.o
> > gcc -std=c99 
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include/
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include
> > -I/hearsthome/home/math1/was/solaris10/sage-2.8.13.rc2/local/include
> > -funroll-loops -fexpensive-optimizations  -fPIC -funroll-loops   -O3
> > -c fmpz_poly.c -o fmpz_poly.o
> > fmpz_poly.c: In function [EMAIL PROTECTED]@~Y:
> > fmpz_poly.c:169: error: [EMAIL PROTECTED]@~Y undeclared (first use in
> > this function)
> > fmpz_poly.c:169: error: (Each undeclared identifier is reported only once
> > fmpz_poly.c:169: error: for each function it appears in.)
> > fmpz_poly.c:169: error: expected [EMAIL PROTECTED];[EMAIL PROTECTED] before 
> > [EMAIL PROTECTED]@~Y
> > fmpz_poly.c:222: error: [EMAIL PROTECTED]@~Y undeclared (first use in this 
> > function)
> > fmpz_poly.c:222: error: expected [EMAIL PROTECTED];[EMAIL PROTECTED] before 
> > [EMAIL PROTECTED]@~Y
> > make: *** [fmpz_poly.o] Error 1
> > Error building flint shared library.
> >
> > * OSX 10.4 PPC -- works fine, all tests pass.
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to