Problem with curses - Mailing list pgsql-general
From | Lothar Behrens |
---|---|
Subject | Problem with curses |
Date | |
Msg-id | 19980530205102.AAA12644@server.lothar.de Whole thread Raw |
List | pgsql-general |
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´t 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): In function `rl_redisplay': display.o(.text+0x9bf): undefined reference to `tputs' /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+0x130a): undefined reference to `tputs' /usr/lib/libreadline.a(display.o)(.text+0x1798): more undefined references to `tputs' follow /usr/lib/libreadline.a(display.o): In function `insert_some_chars': display.o(.text+0x184a): undefined reference to `tgoto' display.o(.text+0x1857): undefined reference to `tputs' display.o(.text+0x1887): undefined reference to `tputs' display.o(.text+0x18b2): undefined reference to `tputs' display.o(.text+0x18e0): undefined reference to `tputs' /usr/lib/libreadline.a(display.o): In function `delete_chars': display.o(.text+0x1911): undefined reference to `tgoto' display.o(.text+0x191d): undefined reference to `tputs' display.o(.text+0x194e): undefined reference 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_sigwinch': display.o(.text+0x1aba): undefined reference to `tputs' display.o(.text+0x1add): undefined reference to `tputs' /usr/lib/libreadline.a(display.o)(.text+0x1b09): more undefined references to `tputs' follow /usr/lib/libreadline.a(terminal.o): In function `_rl_get_screen_size': terminal.o(.text+0x81): undefined reference 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+0x366): undefined reference to `BC' terminal.o(.text+0x370): undefined reference to `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+0x72f): undefined reference to `tputs' /usr/lib/libreadline.a(terminal.o): In function `_rl_enable_meta_key': terminal.o(.text+0x7ce): undefined reference to `tputs' /usr/lib/libreadline.a(terminal.o): In function `_rl_control_keypad': terminal.o(.text+0x7fb): undefined reference to `tputs' terminal.o(.text+0x822): 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 {:-) ------------------------------------------------------
pgsql-general by date: