Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group