libedit broke in head

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: libedit broke in head
Date: 2006-09-30 18:04:04
Message-ID: 451EB194.9090506@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

It seems I am unable to compile libedit support in -HEAD

t -lpgport -L../../../src/interfaces/libpq -lpq -L../../../src/port
-Wl,-rpath,'/usr/local/pgsql/lib' -lpgport -lz -lcrypt -ldl -lm -o psql
input.o: In function `pg_send_history':
input.c:(.text+0x10d): undefined reference to `add_history'
input.o: In function `gets_interactive':
input.c:(.text+0x23d): undefined reference to `readline'
input.o: In function `initializeInput':
input.c:(.text+0x27a): undefined reference to `initialize_readline'
input.c:(.text+0x286): undefined reference to `using_history'
input.c:(.text+0x2ca): undefined reference to `read_history'
input.c:(.text+0x2d1): undefined reference to `history_set_pos'
input.c:(.text+0x2d6): undefined reference to `current_history'
input.c:(.text+0x311): undefined reference to `next_history'
input.o: In function `saveHistory':
input.c:(.text+0x409): undefined reference to `write_history'
input.c:(.text+0x43b): undefined reference to `history_set_pos'
input.c:(.text+0x440): undefined reference to `current_history'
input.c:(.text+0x481): undefined reference to `next_history'
input.o: In function `finishInput':
input.c:(.text+0x4df): undefined reference to `stifle_history'
collect2: ld returned 1 exit status
make[3]: *** [psql] Error 1
make[3]: Leaving directory `/home/jd/pgsql/src/bin/psql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jd/pgsql/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jd/pgsql/src'
make: *** [all] Error 2

Configured with:

./configure --with-libedit-preferred --without-readline

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-09-30 18:27:29 Re: adminpack
Previous Message Tom Lane 2006-09-30 17:54:30 Re: Bad bug in fopen() wrapper code