problem compiling under suse 5.1

From: "Christian Steindl" <e9425178(at)student(dot)tuwien(dot)ac(dot)at>
To: <pgsql-general(at)postgresql(dot)org>
Subject: problem compiling under suse 5.1
Date: 1998-06-01 09:29:22
Message-ID: 01bd8d3f$c2925d30$2b11a8c0@victor.temeda.eunet.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

i use suse distribution of linux 2.0.32, but there comes these error when compiling psql
does anyone know what to do?
how can i deactivate the readline option according to Linux-FAQ 1.2)?
Christian

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Herouth Maoz 1998-06-01 09:56:09 Re: Why Postgres (was Re: [HACKERS] custom types and optimization)
Previous Message Thomas G. Lockhart 1998-06-01 06:11:34 Re: [GENERAL] Re: [HACKERS] custom types and optimization