errors while linking sfmike against readline
Holmes, Steve
SAHolmes at ahcccs.state.az.us
Thu Jun 21 15:01:32 EDT 2001
sounds like a problem with your curses library. I use ncurses on my system
wonder what you have there. I did see that you are including libcurses in
your link list so wonder what happened to tputs? I'd start with the curses
situation.
-----Original Message-----
From: Joshua Lambert [mailto:jlambert at shellyeah.org]
Sent: Thursday, June 21, 2001 10:57 AM
To: speakup at braille.uwo.ca
Subject: errors while linking sfmike against readline
This is interesting; can anyone tell me more about this one? Tried with
eadline 4.1 and 4.2
gcc -O3 mike.o codecs.o codecs-adpcm.o deskey.o g711.o rate.o rtpacket.o
soundbyte.o ulaw.o usleep.o vatpkt.o xdsub.o audio_hp.o audio_sgi.o
audio_alsa.o audio_esd.o adpcm/adpcm-u.o des/des.a md5/md5.o idea/idea.a -lm
blowfish/libblowfish.a lpc10/liblpc10.a gsm/lib/libgsm.a lpc/lpc.o
libdes/libdes.a -lcurses -lreadline -lm -o sfmike
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o): In
function `rl_redisplay':
/root/readline-4.2/display.c:736: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o): In
function `update_line':
/root/readline-4.2/display.c:993: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o): In
function `_rl_move_cursor_relative':
/root/readline-4.2/display.c:1216: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o): In
function `_rl_move_vert':
/root/readline-4.2/display.c:1266: undefined reference to `tputs'
/root/readline-4.2/display.c:1274: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o):/ro
ot/readline-4.2/display.c:1483: more undefined references to `tputs' follow
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o): In
function `insert_some_chars':
/root/readline-4.2/display.c:1521: undefined reference to `tgoto'
/root/readline-4.2/display.c:1522: undefined reference to `tputs'
/root/readline-4.2/display.c:1531: undefined reference to `tputs'
/root/readline-4.2/display.c:1538: undefined reference to `tputs'
/root/readline-4.2/display.c:1547: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o): In
function `delete_chars':
/root/readline-4.2/display.c:1562: undefined reference to `tgoto'
/root/readline-4.2/display.c:1563: undefined reference to `tputs'
/root/readline-4.2/display.c:1569: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o): In
function `cr':
/root/readline-4.2/display.c:1616: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(display.o): In
function `_rl_redisplay_after_sigwinch':
/root/readline-4.2/display.c:1670: undefined reference to `tputs'
/root/readline-4.2/display.c:1682: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(terminal.o):
In function `_rl_get_screen_size':
/root/readline-4.2/terminal.c:202: undefined reference to `tgetnum'
/root/readline-4.2/terminal.c:215: undefined reference to `tgetnum'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(terminal.o):
In function `get_term_capabilities':
/root/readline-4.2/terminal.c:329: undefined reference to `tgetstr'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(terminal.o):
In function `_rl_init_terminal_io':
/root/readline-4.2/terminal.c:371: undefined reference to `tgetent'
/root/readline-4.2/terminal.c:411: undefined reference to `PC'
/root/readline-4.2/terminal.c:412: undefined reference to `BC'
/root/readline-4.2/terminal.c:413: undefined reference to `UP'
/root/readline-4.2/terminal.c:422: undefined reference to `PC'
/root/readline-4.2/terminal.c:422: undefined reference to `PC'
/root/readline-4.2/terminal.c:423: undefined reference to `BC'
/root/readline-4.2/terminal.c:424: undefined reference to `UP'
/root/readline-4.2/terminal.c:429: undefined reference to `tgetflag'
/root/readline-4.2/terminal.c:429: undefined reference to `tgetflag'
/root/readline-4.2/terminal.c:441: undefined reference to `tgetflag'
/root/readline-4.2/terminal.c:441: undefined reference to `tgetflag'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(terminal.o):
In function `_rl_backspace':
/root/readline-4.2/terminal.c:535: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(terminal.o):
In function `rl_ding':
/root/readline-4.2/terminal.c:568: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(terminal.o):
In function `_rl_enable_meta_key':
/root/readline-4.2/terminal.c:593: undefined reference to `tputs'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../libreadline.a(terminal.o):
In function `_rl_control_keypad':
/root/readline-4.2/terminal.c:605: undefined reference to `tputs'
collect2: ld returned 1 exit status
make: *** [sfmike] Error 1
_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list