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/