errors while linking sfmike against readline
Joshua Lambert
jlambert at shellyeah.org
Thu Jun 21 13:56:33 EDT 2001
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):/root/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
More information about the Speakup
mailing list