Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1) - Mailing list pgsql-ports

From Peter Eisentraut
Subject Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
Date
Msg-id Pine.LNX.4.21.0010101854180.759-100000@peter.localdomain
Whole thread Raw
In response to Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-ports
Bruce Momjian writes:

> I am OK with the compile of the backend using current sources, but I do
> have an error compiling pg_dump.  Of course, I compile with assert
> enabled.  Not sure about a cause.
>
> gcc -I../../../src/include -I/usr/local/include/readline -I../../../src/interfaces/libpq -O2 -pipe -m486 -Wall
-Wmissing-prototypes-Wmissing-declarations -o pg_dump pg_dump.o common.o pg_backup_archiver.o pg_backup_db.o
pg_backup_custom.opg_backup_files.o pg_backup_null.o pg_backup_tar.o  -L../../../src/interfaces/libpq -lpq -lz -lcompat
-lln-lipc -ldl -lm -lutil -lreadline -ltermcap -lcurses  -lz -g -Wall -O1 -Wmissing-prototypes -Wmissing-declarations 
> ../../../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'
> gmake[2]: *** [pg_dump] Error 1
> gmake[2]: Leaving directory `/var/local/src/pgsql/CURRENT/pgsql/src/bin/pg_dump'
> gmake[1]: *** [install] Error 2
> gmake[1]: Leaving directory `/var/local/src/pgsql/CURRENT/pgsql/src/bin'
> gmake: *** [install] Error 2

This is due to the -DFRONTEND missing, as discussed on -hackers.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-ports by date:

Previous
From: Pete Forman
Date:
Subject: Re: ld.so error when inserting with a plpgsql trigger function
Next
From: Peter Eisentraut
Date:
Subject: Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)