Serguei A. Mokhov wrote:
> Risking to report a dup (by being on digest), I report that I can't
> compile postgres from just CVS-checked out sources:
>
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> -Wmissing-declarations pg_dump.o common.o pg_dump_sort.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 dumputils.o exec.o
> ../../../src/backend/parser/keywords.o -L../../../src/interfaces/libpq
> -lpq -L../../../src/port -Wl,-rpath,/usr/local/pgsql/lib -lpgport -lz
> -lreadline -ltermcap -lcrypt -lresolv -lnsl -ldl -lm -lbsd -o pg_dump
> pg_backup_db.o(.text+0x9f): In function `_check_database_version':
> : undefined reference to `PQparameterStatus'
> collect2: ld returned 1 exit status
> make[3]: *** [pg_dump] Error 1
> make[3]: Leaving directory `/var/tmp/sam/pg/pgsql/src/bin/pg_dump'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/var/tmp/sam/pg/pgsql/src/bin'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/var/tmp/sam/pg/pgsql/src'
> make: *** [all] Error 2
This is new. What OS are you using?
-- 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