[95132] in RedHat Linux List

home help back first fref pref prev next nref lref last post

compiling postgresSQL

daemon@ATHENA.MIT.EDU (Philippe Platiau)
Thu Oct 15 11:29:02 1998

Date: Thu, 15 Oct 1998 16:24:41 +0100 (MET)
From: Philippe Platiau <946362@message.fucam.ac.be>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hi,

I've got problems when compiling postgres-6.2... 

gcc -o psql -L../../interfaces/libpq psql.o stringutils.o   -lpq -ldl -lm -lbsd -lreadline -lhistory  -export-dynamic -Wl,-rpath -Wl,/usr/local/pgsql/lib
/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
make[2]: Leaving directory `/usr/src/pgsql/postgresql-6.2/src/bin/psql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/pgsql/postgresql-6.2/src/bin'
make: *** [all] Error 2

I've got the right library libreadline.a , so how can I fix it ? 

Thanks 

Philippe



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post