Thread: compilation errors on SGI Indy R4000 with IRIX 6.5.9
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
Re: compilation errors on SGI Indy R4000 with IRIX 6.5.9
From
bruc@stone.congenomics.com (Robert E. Bruccoleri)
Date:
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@acm.org | | P.O. Box 314 | URL: http://www.congen.com/~bruc | | Pennington, NJ 08534 | | +----------------------------------+------------------------------------+