From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Joe Conway <mail(at)joeconway(dot)com> |
Cc: | "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: compile failures on cvs tip |
Date: | 2003-07-20 17:53:13 |
Message-ID: | 200307201753.h6KHrDx03254@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Joe, are your compiles still failing?
---------------------------------------------------------------------------
Joe Conway wrote:
> I'm seeing ecpg related compile failures on cvs tip:
>
> make[3]: Entering directory `/opt/src/pgsql/src/interfaces/ecpg'
> make -C include all
> make[4]: Entering directory `/opt/src/pgsql/src/interfaces/ecpg/include'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/opt/src/pgsql/src/interfaces/ecpg/include'
> make -C pgtypeslib all
> make[4]: Entering directory `/opt/src/pgsql/src/interfaces/ecpg/pgtypeslib'
> [...snip...]
> i386-redhat-linux-gcc -O2 -g -Wall -Wmissing-prototypes
> -Wmissing-declarations -fpic -I../../../../src/interfaces/ecpg/include
> -I../../../../src/include/utils -I../../../../src/include
> -I/usr/kerberos/include -g -c -o timestamp.o timestamp.c -MMD
> timestamp.c: In function `tm2timestamp':
> timestamp.c:69: warning: implicit declaration of function `elog'
> timestamp.c:69: `ERROR' undeclared (first use in this function)
> timestamp.c:69: (Each undeclared identifier is reported only once
> timestamp.c:69: for each function it appears in.)
> timestamp.c: In function `PGTYPEStimestamp_from_asc':
> timestamp.c:314: warning: overflow in implicit constant conversion
> timestamp.c:318: warning: overflow in implicit constant conversion
> make[4]: *** [timestamp.o] Error 1
> make[4]: Leaving directory `/opt/src/pgsql/src/interfaces/ecpg/pgtypeslib'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/opt/src/pgsql/src/interfaces/ecpg'
> make[2]: *** [all] Error 2
>
> I've seen it, starting from make clean, on two different machines
> (although both are Red hat 9).
>
> I found that adding
>
> + #include "utils/elog.h"
>
> in timestamp.c lets me compile, but I'm left with two warnings:
>
> timestamp.c: In function `PGTYPEStimestamp_from_asc':
> timestamp.c:315: warning: overflow in implicit constant conversion
> timestamp.c:319: warning: overflow in implicit constant conversion
>
>
> Joe
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-07-20 18:18:05 | Re: How to submit Tsearch V2 ? |
Previous Message | Joe Conway | 2003-07-20 17:53:05 | Re: compile failures on cvs tip |