Re: psql does not link with readline

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ronald Kuczek <kuczek(at)kuczek(dot)pl>
Cc: pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: psql does not link with readline
Date: 2004-02-08 01:53:23
Message-ID: 200402080153.i181rN816501@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Ronald Kuczek wrote:
> Hi,
>
> I got these error messages while compiling:
>
> Info: resolving _rl_attempted_completion_function by linking to __imp__rl_attemp ted_completion_function (auto-import)
> Info: resolving _rl_readline_name by linking to __imp__rl_readline_name (auto-im port)
> Info: resolving _rl_basic_word_break_characters by linking to __imp__rl_basic_wo rd_break_characters (auto-import)
> Info: resolving _rl_line_buffer by linking to __imp__rl_line_buffer (auto-import )
> nmth000000.o(.idata$4+0x0): undefined reference to `_nm__rl_attempted_completion _function'
> nmth000002.o(.idata$4+0x0): undefined reference to `_nm__rl_readline_name'
> nmth000004.o(.idata$4+0x0): undefined reference to `_nm__rl_basic_word_break_cha racters'
> nmth000006.o(.idata$4+0x0): undefined reference to `_nm__rl_line_buffer'
> make[3]: *** [psql] Error 1
> make[3]: Leaving directory `/mingw/postgresql-snapshot/src/bin/psql'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/mingw/postgresql-snapshot/src/bin'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/mingw/postgresql-snapshot/src'
> make: *** [all] Error 2
>
>
> My readline version is 4.2 (downloaded from sourceforge).
> My question is - do you use another version or is there something wrong with my enviroment, or readline is not yet supported ?

Under Unix I use readline-2.2.1.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2004-02-08 21:24:25 Updated win32 readdir patch
Previous Message Bruce Momjian 2004-02-08 01:44:45 Re: [HACKERS] Sync vs. fsync during checkpoint