Installation on SGI IRIX 6.5.10 - Mailing list pgsql-hackers

From G. Anthony Reina
Subject Installation on SGI IRIX 6.5.10
Date
Msg-id 3AFC7CF3.1AAA8F49@nsi.edu
Whole thread Raw
Responses Re: Installation on SGI IRIX 6.5.10  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
In addition to my RedHat 6.2 server, I'm installing Postgres 7.1.1 on an
SGI O2 (IRIX 6.5.10). The configure works, but the 'gmake all' fails
when it tries to compile 'xact.c':

cc-1521 cc: WARNING File = /usr/include/setjmp.h, Line = 26 A nonstandard preprocessing directive is used.
 #ident "$Revision: 1.36 $"  ^

cc-1070 cc: ERROR File = xact.c, Line = 696 The indicated type is incomplete.
                       struct timeval delay;                                      ^

1 error detected in the compilation of "xact.c".
gmake[4]: *** [xact.o] Error 2
gmake[4]: Leaving directory
`/usr/src/postgresql-7.1.1/src/backend/access/transam'
gmake[3]: *** [transam-recursive] Error 2
gmake[3]: Leaving directory
`/usr/src/postgresql-7.1.1/src/backend/access'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/usr/src/postgresql-7.1.1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/src/postgresql-7.1.1/src'
gmake: *** [all] Error 2
o21.nsi.edu:postgres::/usr/src/postgresql-7.1.1 >

I'm using the SGI MIPSPro 7.1 C compiler. I haven't had any problems
like this when compiling previous versions of Postgres. If necessary, I
could try to get gcc instead of the MIPSPro compiler, but I wonder if
the xact.c definition for timeval could be modified to pass on my
machine.

Thanks.
-Tony




pgsql-hackers by date:

Previous
From: "G. Anthony Reina"
Date:
Subject: Trouble with initdb when the #define NAMEDATALEN = 51
Next
From: "G. Anthony Reina"
Date:
Subject: Addition to: Trouble with initdb when the #define NAMEDATALEN = 51