Re: CVS broken?

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CVS broken?
Date: 2000-10-10 10:56:40
Message-ID: 39E2F5E8.E511324A@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • CVS broken? at 2000-10-10 11:37:53 from Philip Warner

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2000-10-10 11:02:03 Re: ALTER TABLE DROP COLUMN
Previous Message Pete Forman 2000-10-10 08:21:37 Re: ld.so error when inserting with a plpgsql trigger function