Bug#669501: linphone: FTBFS: linphonec.c:1432: undefined reference to `rl_attempted_completion_over'
Sebastian Ramacher
s.ramacher at gmx.at
Sun Apr 29 21:44:46 UTC 2012
tags 669501 + patch
thanks
On 19/04/12 21:22, Lucas Nussbaum wrote:
> Relevant part:
>> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../coreapi -I../oRTP/include -I../exosip -I../mediastreamer2/include -Wall -DIN_LINPHONE -DENABLE_TRACE -D_ORTP_SOURCE -DOSIP_MT -DHAVE_PTHREAD -g -O2 -c -o linphonec-commands.o `test -f 'commands.c' || echo './'`commands.c
>> CCLD linphonec
>> linphonec-linphonec.o: In function `linephonec_readline_completion':
>> /«PKGBUILDDIR»/console/linphonec.c:1432: undefined reference to `rl_attempted_completion_over'
>> linphonec-linphonec.o: In function `linphonec_finish_readline':
>> /«PKGBUILDDIR»/console/linphonec.c:1092: undefined reference to `stifle_history'
>> /«PKGBUILDDIR»/console/linphonec.c:1093: undefined reference to `write_history'
>> linphonec-linphonec.o: In function `linphonec_prompt_for_auth_final':
>> /«PKGBUILDDIR»/console/linphonec.c:839: undefined reference to `rl_event_hook'
>> /«PKGBUILDDIR»/console/linphonec.c:840: undefined reference to `rl_event_hook'
>> /«PKGBUILDDIR»/console/linphonec.c:889: undefined reference to `rl_line_buffer'
>> /«PKGBUILDDIR»/console/linphonec.c:890: undefined reference to `rl_event_hook'
>> linphonec-linphonec.o: In function `linphonec_idle_call':
>> /«PKGBUILDDIR»/console/linphonec.c:1031: undefined reference to `rl_inhibit_completion'
>> /«PKGBUILDDIR»/console/linphonec.c:1035: undefined reference to `rl_inhibit_completion'
>> linphonec-linphonec.o: In function `linphonec_readline':
>> /«PKGBUILDDIR»/console/linphonec.c:557: undefined reference to `readline'
>> linphonec-linphonec.o: In function `linephonec_readline_completion':
>> /«PKGBUILDDIR»/console/linphonec.c:1439: undefined reference to `rl_completion_matches'
>> linphonec-linphonec.o: In function `linphonec_initialize_readline':
>> /«PKGBUILDDIR»/console/linphonec.c:1059: undefined reference to `rl_readline_name'
>> /«PKGBUILDDIR»/console/linphonec.c:1062: undefined reference to `rl_set_keyboard_input_timeout'
>> /«PKGBUILDDIR»/console/linphonec.c:1063: undefined reference to `rl_event_hook'
>> /«PKGBUILDDIR»/console/linphonec.c:1068: undefined reference to `read_history'
>> /«PKGBUILDDIR»/console/linphonec.c:1074: undefined reference to `rl_attempted_completion_function'
>> linphonec-linphonec.o: In function `linphonec_main_loop':
>> /«PKGBUILDDIR»/console/linphonec.c:1149: undefined reference to `add_history'
>> linphonec-commands.o: In function `lpc_cmd_codec':
>> /«PKGBUILDDIR»/console/commands.c:2138: undefined reference to `rl_inhibit_completion'
>> /«PKGBUILDDIR»/console/commands.c:2143: undefined reference to `rl_inhibit_completion'
>> /«PKGBUILDDIR»/console/commands.c:2143: undefined reference to `rl_inhibit_completion'
>> linphonec-commands.o: In function `lpc_cmd_proxy':
>> /«PKGBUILDDIR»/console/commands.c:1050: undefined reference to `rl_inhibit_completion'
>> /«PKGBUILDDIR»/console/commands.c:1054: undefined reference to `rl_inhibit_completion'
>> collect2: ld returned 1 exit status
Please see the attached patch to fix the detection of readline. Alternatively
one can simply add libncurses5-dev to Build-Depends. This fixes the FTBFS as well.
Regards
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-readline-detection.patch
Type: text/x-diff
Size: 664 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20120429/f76e7a50/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20120429/f76e7a50/attachment.pgp>
More information about the Pkg-voip-maintainers
mailing list