From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Fernan Aguero <fernan(at)iib(dot)unsam(dot)edu(dot)ar> |
Cc: | pgsql-ports(at)postgresql(dot)org |
Subject: | Re: 723 failed to compile [FreeBSD-4.7-STABLE] |
Date: | 2002-10-21 17:05:28 |
Message-ID: | 25360.1035219928@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
Fernan Aguero <fernan(at)iib(dot)unsam(dot)edu(dot)ar> writes:
> cc -O -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../.=
> ./src/include -I/usr/local/include -c -o tuptoaster.o tuptoaster.c=0D
> tuptoaster.c: In function `toast_delete_datum':=0D
> tuptoaster.c:914: `F_OIDEQ' undeclared (first use in this function)=0D
> tuptoaster.c:914: (Each undeclared identifier is reported only once=0D
> tuptoaster.c:914: for each function it appears in.)=0D
> tuptoaster.c: In function `toast_fetch_datum':=0D
> tuptoaster.c:997: `F_OIDEQ' undeclared (first use in this function)=0D
> gmake[5]: *** [tuptoaster.o] Error 1=0D
This symptom usually means that the src/backend/utils/Gen_fmgrtab.sh script
failed to build a valid fmgroids.h file. This part of your trace looks
pretty suspicious:
/usr/local/bin/gmake -C utils fmgroids.h
gmake[4]: Entering directory `/usr/ports/databases/postgresql7/work/postgresql-7.2.3/src/backend/utils'
CPP='cc -E' AWK='nawk' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
cc -E: not found
gmake[4]: Leaving directory
I think there's something wrong with your /bin/sh --- it looks to be
trying to interpret the -E switch as part of the cc filename. Anyone
seen anything like that before? Setting CPP to 'gcc -E' or 'cc -E' is
the usual value, so it's not like this is untested ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Fernan Aguero | 2002-10-22 13:24:50 | Re: 723 failed to compile [FreeBSD-4.7-STABLE] |
Previous Message | Bruce Momjian | 2002-10-21 15:47:35 | Re: [PORTS] Problem compiling on HP/Compaq Tru64 UNIX |