Re: CVS broken? - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: CVS broken?
Date
Msg-id 39E2F5E8.E511324A@tpf.co.jp
Whole thread Raw
In response to CVS broken?  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: CVS broken?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: CVS broken?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers

Philip Warner wrote:

> I get the following when I build from CVS:
>
> gcc -I../../../src/include  -I../../../src/interfaces/libpq -O2 -g -Wall
> -Wmissing-prototypes -Wmissing-declarations -o pg_dump pg_dump.o common.o
> pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o
> pg_backup_null.o pg_backup_tar.o  -L../../..
> /src/interfaces/libpq -lpq -lz -lcrypt -lnsl -ldl -lm -lreadline -lncurses
> -lz
> ../../../src/interfaces/libpq/libpq.so: undefined reference to
> `FailedAssertion'
> ../../../src/interfaces/libpq/libpq.so: undefined reference to
> `assert_enabled'
> ../../../src/interfaces/libpq/libpq.so: undefined reference to
> `ExceptionalCondition'
>
> Does anyone else have this problem?
>

I have already encountered the problem.
-DFRONTEND isn't set in the above command line.

For example the following line   CFLAGS+= -DFRONTEND -I$(srcdir)
in makefiles doesn't work currently.

I found the recent change in Makefile.global.in.
ifeq ($(GCC), yes)    override CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
endif

Do we have to override CFLAGS every time ?

Regards.

Hiroshi Inoue



pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: CVS broken?
Next
From: Jeff MacDonald
Date:
Subject: Re: Announcing PgSQL - a Python DB-API 2.0 compliant interface to PostgreSQL