[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    [GENERAL] Problem with curses
From:       "Lothar Behrens" <lothar.behrens () okay ! net>
Date:       1998-05-30 22:49:47
[Download RAW message or body]

Hello,

the psql tool uses the curses functions.
If I compile psql or all of postgreSQL
I get error messages listed at the end here.

I have installed ncurses. But I don=B4t know
how to link that. If I am right I must link
that.

What am I doing wrong?

Thanks

Lothar

------

gcc -o psql -L../../interfaces/libpq psql.o stringutils.o   -lpq -ldl -lm =
-lbsd
-lreadline -lhistory  -export-dynamic /usr/lib/libreadline.a(display.o): I=
n
function `rl_redisplay': display.o(.text+0x9bf): undefined reference to `t=
puts'
/usr/lib/libreadline.a(display.o): In function `update_line':
display.o(.text+0xf26): undefined reference to `tputs'
/usr/lib/libreadline.a(display.o): In function `_rl_move_cursor_relative':
display.o(.text+0x11e6): undefined reference to `tputs'
/usr/lib/libreadline.a(display.o): In function `_rl_move_vert':
display.o(.text+0x12c9): undefined reference to `tputs' display.o(.text+0x=
130a):
undefined reference to `tputs' /usr/lib/libreadline.a(display.o)(.text+0x1=
798):
more undefined references to `tputs' follow /usr/lib/libreadline.a(display=
.o):
In function `insert_some_chars': display.o(.text+0x184a): undefined refere=
nce to
`tgoto' display.o(.text+0x1857): undefined reference to `tputs'
display.o(.text+0x1887): undefined reference to `tputs' display.o(.text+0x=
18b2):
undefined reference to `tputs' display.o(.text+0x18e0): undefined referenc=
e to
`tputs' /usr/lib/libreadline.a(display.o): In function `delete_chars':
display.o(.text+0x1911): undefined reference to `tgoto' display.o(.text+0x=
191d):
undefined reference to `tputs' display.o(.text+0x194e): undefined referenc=
e to
`tputs' /usr/lib/libreadline.a(display.o): In function `cr':
display.o(.text+0x1a85): undefined reference to `tputs'
/usr/lib/libreadline.a(display.o): In function `_rl_redisplay_after_sigwin=
ch':
display.o(.text+0x1aba): undefined reference to `tputs' display.o(.text+0x=
1add):
undefined reference to `tputs' /usr/lib/libreadline.a(display.o)(.text+0x1=
b09):
more undefined references to `tputs' follow /usr/lib/libreadline.a(termina=
l.o):
In function `_rl_get_screen_size': terminal.o(.text+0x81): undefined refer=
ence
to `tgetnum' terminal.o(.text+0xd7): undefined reference to `tgetnum'
/usr/lib/libreadline.a(terminal.o): In function `get_term_capabilities':
terminal.o(.text+0x1b3): undefined reference to `tgetstr'
/usr/lib/libreadline.a(terminal.o): In function `_rl_init_terminal_io':
terminal.o(.text+0x26b): undefined reference to `tgetent'
terminal.o(.text+0x35c): undefined reference to `PC' terminal.o(.text+0x36=
6):
undefined reference to `BC' terminal.o(.text+0x370): undefined reference t=
o `UP'
terminal.o(.text+0x3be): undefined reference to `tgetflag'
terminal.o(.text+0x3cf): undefined reference to `tgetflag'
terminal.o(.text+0x41f): undefined reference to `tgetflag'
terminal.o(.text+0x430): undefined reference to `tgetflag'
/usr/lib/libreadline.a(terminal.o): In function `_rl_backspace':
terminal.o(.text+0x666): undefined reference to `tputs'
/usr/lib/libreadline.a(terminal.o): In function `ding': terminal.o(.text+0=
x72f):
undefined reference to `tputs' /usr/lib/libreadline.a(terminal.o): In func=
tion
`_rl_enable_meta_key': terminal.o(.text+0x7ce): undefined reference to `tp=
uts'
/usr/lib/libreadline.a(terminal.o): In function `_rl_control_keypad':
terminal.o(.text+0x7fb): undefined reference to `tputs' terminal.o(.text+0=
x822):
undefined reference to `tputs' make[2]: *** [psql] Error 1


------------------------------------------------------
Lothar Behrens |    e-Mail: lothar.behrens@okay.net
Stader Str. 42 |    oder  :     der_lothar@hotmail.com
               |
21075 Hamburg  |   Wir lernen aus unseren Fehlern {:-)
------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic