[PATCH] Add Makefile dep in bin/scripts for libpgport

From: Phil Sorber <phil(at)omniti(dot)com>
To: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Add Makefile dep in bin/scripts for libpgport
Date: 2013-01-23 17:36:51
Message-ID: CADAkt-hFRMnFv5=t-T1X3kRFnUUSFaT_Q+KF5TLtJpS0PC+m6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I get the following error when I try to compile just a specific binary
in src/bin/scripts:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -fexcess-precision=standard reindexdb.o common.o dumputils.o
kwlookup.o keywords.o -L../../../src/port -lpgport
-L../../../src/interfaces/libpq -lpq -L../../../src/port
-Wl,--as-needed -Wl,-rpath,'/usr/local/pgsql/lib',--enable-new-dtags
-lpgport -lz -lreadline -lcrypt -ldl -lm -o reindexdb
/usr/bin/ld: cannot find -lpgport
/usr/bin/ld: cannot find -lpgport
collect2: error: ld returned 1 exit status
make: *** [reindexdb] Error 1

It appears it is missing the libpgport dependency. Attached is a patch
to correct that. This is not normally a problem because when building
the whole tree libpgport is usually compiled already.

Attachment Content-Type Size
scripts_makefile_pgport_dep.diff application/octet-stream 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-01-23 17:37:09 Re: [COMMITTERS] pgsql: Improve concurrency of foreign key locking
Previous Message Tom Lane 2013-01-23 17:34:38 Re: BUG #6510: A simple prompt is displayed using wrong charset