Compiling from CVS: undefined reference to `PQparameterStatus'

From: "Serguei A(dot) Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Compiling from CVS: undefined reference to `PQparameterStatus'
Date: 2004-09-27 21:01:18
Message-ID: Pine.LNX.4.58.0409271658060.26505@haida.cs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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!

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-09-27 21:13:32 Re: Compiling from CVS: undefined reference to `PQparameterStatus'
Previous Message Oleg Bartunov 2004-09-27 20:35:54 Re: tsearch2 poor performance