Compiling from CVS: undefined reference to `PQparameterStatus' - Mailing list pgsql-hackers

From Serguei A. Mokhov
Subject Compiling from CVS: undefined reference to `PQparameterStatus'
Date
Msg-id Pine.LNX.4.58.0409271658060.26505@haida.cs.concordia.ca
Whole thread Raw
Responses Re: Compiling from CVS: undefined reference to
Re: Compiling from CVS: undefined reference to `PQparameterStatus'
Re: Compiling from CVS: undefined reference to `PQparameterStatus'
List pgsql-hackers
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


-- 
Serguei A. Mokhov            |  /~\    The ASCII
Computer Science Department  |  \ / Ribbon Campaign
Concordia University         |   X    Against HTML
Montreal, Quebec, Canada     |  / \      Email!


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Win32 Version numbering patch
Next
From: Devrim GUNDUZ
Date:
Subject: Re: Compiling from CVS: undefined reference to