I've been able to compile previous versions of PostgreSQL on my SGI
machines, but am having trouble this time. I have an SGI O2 with IRIX
6.5.15f, gmake 3.79.1, and MIPSPro C 7.3.1.3 compiler. I can get
through the 'configure' step fine. I've copied the Makefile.irix5 up
to the src directory. I've also added '-O2' flags to the CFLAGS and
LDFLAGS in template/irix5.

When I run 'gmake all', the compilation errors on:


cc-1521 cc: WARNING File = /usr/include/setjmp.h, Line = 26
  A nonstandard preprocessing directive is used.

  #ident "$Revision: 1.36 $"
   ^

cc-1521 cc: WARNING File = /usr/include/sys/ipc.h, Line = 17
  A nonstandard preprocessing directive is used.

  #ident        "$Revision: 3.30 $"
   ^

cc-1070 cc: ERROR File = xact.c, Line = 587
  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.2/src/backend/access/transam'
gmake[3]: *** [transam-recursive] Error 2
gmake[3]: Leaving directory
`/usr/src/postgresql-7.2/src/backend/access'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/usr/src/postgresql-7.2/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/src/postgresql-7.2/src'
gmake: *** [all] Error 2



Can anyone offer a suggestion on what I'm doing wrong?

Thanks.
-Tony

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to