Re: compilation errors on SGI Indy R4000 with IRIX 6.5.9

Lists: pgsql-ports
From: Super-User paul <rosa(at)yourcell(dot)net>
To: pgsql-ports(at)postgresql(dot)org, rosa(at)yourcell(dot)net
Subject: compilation errors on SGI Indy R4000 with IRIX 6.5.9
Date: 2000-11-13 16:50:27
Message-ID: 3A101BD3.AB217D44@yourcell.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

dear folks,

as a newby to postgresql i tried to compile PostgreSQL 7.0.3 on my SGI
Indy R4000 running IRIX 6.5.9 but failed.
the error message gmake (version 3.79.1) generated was:

root.peter:/IRIX/postgresql-7.0.3/src 61> gmake
gmake -C utils all
gmake[1]: Entering directory
`/import/boot_data/IRIX/postgresql-7.0.3/src/utils'
gcc -I../include -I../backend -U_NO_XOPEN4 -woff
1164,1171,1185,1195,1552 -Wl,-woff,15 -Wl,-woff,84 -Wall
-Wmissing-prototypes -Wmissing-declarations -c -o version.o version.c
gcc: cannot specify -o with -c or -S and multiple compilations
gmake[1]: *** [version.o] Error 1
gmake[1]: Leaving directory
`/import/boot_data/IRIX/postgresql-7.0.3/src/utils'
gmake: *** [all] Error 2

can anybody tell me what i did wrong?

thanks,
mark


From: bruc(at)stone(dot)congenomics(dot)com (Robert E(dot) Bruccoleri)
To: rosa(at)yourcell(dot)net (Super-User paul)
Cc: pgsql-ports(at)postgresql(dot)org, rosa(at)yourcell(dot)net
Subject: Re: compilation errors on SGI Indy R4000 with IRIX 6.5.9
Date: 2000-11-13 19:29:43
Message-ID: 200011131929.OAA24571@stone.congenomics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

Dear Mark,
You need to specify

CPP="cc -E" CC=cc

in front of your call to configure. The gcc compiler on SGI's should
generally be avoided because it is not well integrated into the SGI
compiler environment.

--Bob

+----------------------------------+------------------------------------+
| Robert E. Bruccoleri, Ph.D. | Phone: 609 737 6383 |
| President, Congenomics, Inc. | Fax: 609 737 7528 |
| 114 W Franklin Ave, Suite K1,4,5 | email: bruc(at)acm(dot)org |
| P.O. Box 314 | URL: http://www.congen.com/~bruc |
| Pennington, NJ 08534 | |
+----------------------------------+------------------------------------+