Re: compile failures on cvs tip

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: compile failures on cvs tip
Дата
Msg-id 200307201753.h6KHrDx03254@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: compile failures on cvs tip  (Joe Conway <mail@joeconway.com>)
Список 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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed:
Следующее
От: Joe Conway
Дата:
Сообщение: Re: compile failures on cvs tip