Problem building asterisk package > 1.6.1.8

Marcin J. Kowalczyk marcin.kowalczyk at ccig.pl
Thu Jan 7 19:42:25 UTC 2010


W dniu 2009-12-06 21:51, Marcin J. Kowalczyk pisze:
> Hi,
>
> Since Digium released Asterisk 1.6.1.8 I can't build debian package 
> (tried 1.6.2.0-rc7 and 1.6.1.11 as well).
> While compiling straight on system everything is OK, but while I try 
> to build package I get:
>
> /usr/bin/ld: chan_bridge.o: in function 
> __register_file_version:chan_bridge.c:30: error: undefined reference 
> to 'ast_register_file_version'
> /usr/bin/ld: chan_bridge.o: in function 
> __unregister_file_version:chan_bridge.c:30: error: undefined reference 
> to 'ast_unregister_file_version'
> /usr/bin/ld: chan_bridge.o: in function bridge_read:chan_bridge.c:87: 
> error: undefined reference to 'ast_null_frame'
> /usr/bin/ld: chan_bridge.o: in function 
> bridge_write:chan_bridge.c:110: error: undefined reference to 
> 'ast_queue_frame'
> /usr/bin/ld: chan_bridge.o: in function bridge_call:chan_bridge.c:130: 
> error: undefined reference to 'ast_bridge_impart'
> /usr/bin/ld: chan_bridge.o: in function 
> bridge_queue_hangup:chan_bridge.c:150: error: undefined reference to 
> 'ast_queue_hangup'
> /usr/bin/ld: chan_bridge.o: in function 
> bridge_request:chan_bridge.c:198: error: undefined reference to 
> '_ast_calloc'
> /usr/bin/ld: chan_bridge.o: in function 
> bridge_request:chan_bridge.c:203: error: undefined reference to 
> '__ast_channel_alloc'
> /usr/bin/ld: chan_bridge.o: in function 
> bridge_request:chan_bridge.c:207: error: undefined reference to 
> '__ast_channel_alloc'
> /usr/bin/ld: chan_bridge.o: in function 
> bridge_request:chan_bridge.c:208: error: undefined reference to 
> 'ast_channel_free'
> /usr/bin/ld: chan_bridge.o: in function load_module:chan_bridge.c:232: 
> error: undefined reference to 'ast_channel_register'
> /usr/bin/ld: chan_bridge.o: in function load_module:chan_bridge.c:233: 
> error: undefined reference to 'ast_log'
> /usr/bin/ld: chan_bridge.o: in function 
> unload_module:chan_bridge.c:242: error: undefined reference to 
> 'ast_channel_unregister'
> /usr/bin/ld: chan_bridge.o: in function 
> __reg_module:chan_bridge.c:246: error: undefined reference to 
> 'ast_module_register'
> /usr/bin/ld: chan_bridge.o: in function 
> __unreg_module:chan_bridge.c:246: error: undefined reference to 
> 'ast_module_unregister'
>
>
> I tried to use binutils-gold_2.20-1_i386.deb as ld but no luck.
>
> Any ideas what can be wrong?
>
> For some reasons I can't use pre-prepaired package and I need to build 
> my own.

Exacly same happens with 1.6.2.0 - anybody has any idea what can be wrong?

/usr/bin/ld: chan_agent.o: in function 
agent_set_base_channel:chan_agent.c:792: error: undefined reference to 
'ast_log'
/usr/bin/ld: chan_agent.o: in function 
agent_get_base_channel:chan_agent.c:773: error: undefined reference to 
'ast_log'
/usr/bin/ld: chan_agent.o: in function agent_answer:chan_agent.c:409: 
error: undefined reference to 'ast_log'
/usr/bin/ld: chan_agent.o: in function function_agent:chan_agent.c:2412: 
error: undefined reference to '__ast_app_separate_args'
/usr/bin/ld: chan_agent.o: in function function_agent:chan_agent.c:2420: 
error: undefined reference to 'ast_log'
/usr/bin/ld: chan_agent.o: in function __unreg_module:chan_agent.c:2538: 
error: undefined reference to 'ast_module_unregister'
/usr/bin/ld: chan_agent.o: in function unload_module:chan_agent.c:2515: 
error: undefined reference to 'ast_channel_unregister'
/usr/bin/ld: chan_agent.o: in function unload_module:chan_agent.c:2517: 
error: undefined reference to 'ast_custom_function_unregister'
/usr/bin/ld: chan_agent.o: in function unload_module:chan_agent.c:2519: 
error: undefined reference to 'ast_cli_unregister_multiple'
/usr/bin/ld: chan_agent.o: in function unload_module:chan_agent.c:2521: 
error: undefined reference to 'ast_unregister_application'
/usr/bin/ld: chan_agent.o: in function unload_module:chan_agent.c:2522: 
error: undefined reference to 'ast_unregister_application'
/usr/bin/ld: chan_agent.o: in function unload_module:chan_agent.c:2524: 
error: undefined reference to 'ast_manager_unregister'
/usr/bin/ld: chan_agent.o: in function unload_module:chan_agent.c:2525: 
error: undefined reference to 'ast_manager_unregister'
/usr/bin/ld: chan_agent.o: in function unload_module:chan_agent.c:2531: 
error: undefined reference to 'ast_softhangup'
/usr/bin/ld: chan_agent.o: in function 
agent_bridgedchannel:chan_agent.c:987: error: undefined reference to 
'option_debug'
/usr/bin/ld: chan_agent.o: in function 
agent_bridgedchannel:chan_agent.c:987: error: undefined reference to 
'ast_options'
/usr/bin/ld: chan_agent.o: in function 
agent_bridgedchannel:chan_agent.c:987: error: undefined reference to 
'ast_debug_get_by_file'
/usr/bin/ld: chan_agent.o: in function dump_agents:chan_agent.c:2275: 
error: undefined reference to 'ast_db_del'
/usr/bin/ld: chan_agent.o: in function dump_agents:chan_agent.c:2269: 
error: undefined reference to 'ast_db_put'
/usr/bin/ld: chan_agent.o: in function dump_agents:chan_agent.c:2272: 
error: undefined reference to 'option_debug'
/usr/bin/ld: chan_agent.o: in function dump_agents:chan_agent.c:2272: 
error: undefined reference to 'ast_options'
/usr/bin/ld: chan_agent.o: in function dump_agents:chan_agent.c:2272: 
error: undefined reference to 'ast_debug_get_by_file'
/usr/bin/ld: chan_agent.o: in function 
agent_logoff_maintenance:chan_agent.c:1559: error: undefined reference 
to '__manager_event'
/usr/bin/ld: chan_agent.o: in function 
agent_logoff_maintenance:chan_agent.c:1567: error: undefined reference 
to 'ast_queue_log'
/usr/bin/ld: chan_agent.o: in function 
agent_logoff_maintenance:chan_agent.c:762: error: undefined reference to 
'pbx_builtin_setvar_helper'
/usr/bin/ld: chan_agent.o: in function 
agent_logoff_maintenance:chan_agent.c:1571: error: undefined reference 
to 'ast_devstate_changed'
/usr/bin/ld: chan_agent.o: in function 
agent_logoff_maintenance:chan_agent.c:1559: error: undefined reference 
to '__manager_event'
/usr/bin/ld: chan_agent.o: in function agent_logoff:chan_agent.c:1595: 
error: undefined reference to 'ast_softhangup'
/usr/bin/ld: chan_agent.o: in function agent_logoff:chan_agent.c:1603: 
error: undefined reference to 'ast_softhangup'
/usr/bin/ld: chan_agent.o: in function 
agent_logoff_cmd:chan_agent.c:1648: error: undefined reference to 'ast_cli'
/usr/bin/ld: chan_agent.o: in function 
agents_show_online:chan_agent.c:1823: error: undefined reference to 
'ast_bridged_channel'
/usr/bin/ld: chan_agent.o: in function 
agents_show_online:chan_agent.c:1824: error: undefined reference to 
'ast_bridged_channel'
/usr/bin/ld: chan_agent.o: in function 
agents_show_online:chan_agent.c:1840: error: undefined reference to 
'ast_cli'
/usr/bin/ld: chan_agent.o: in function 
agents_show_online:chan_agent.c:1848: error: undefined reference to 
'ast_cli'
/usr/bin/ld: chan_agent.o: in function 
agents_show_online:chan_agent.c:1849: error: undefined reference to 
'ast_cli'
/usr/bin/ld: chan_agent.o: in function agents_show:chan_agent.c:1750: 
error: undefined reference to 'ast_bridged_channel'
/usr/bin/ld: chan_agent.o: in function agents_show:chan_agent.c:1751: 
error: undefined reference to 'ast_bridged_channel'
/usr/bin/ld: chan_agent.o: in function 
agent_cont_sleep:chan_agent.c:929: error: undefined reference to 
'option_debug'
/usr/bin/ld: chan_agent.o: in function 
agent_cont_sleep:chan_agent.c:929: error: undefined reference to 
'ast_options'
/usr/bin/ld: chan_agent.o: in function 
agent_cont_sleep:chan_agent.c:929: error: undefined reference to 
'ast_debug_get_by_file'
/usr/bin/ld: chan_agent.o: in function agent_indicate:chan_agent.c:640: 
error: undefined reference to 'ast_check_hangup'
/usr/bin/ld: chan_agent.o: in function agent_sendhtml:chan_agent.c:580: 
error: undefined reference to 'ast_channel_sendhtml'
/usr/bin/ld: chan_agent.o: in function agent_sendtext:chan_agent.c:591: 
error: undefined reference to 'ast_sendtext'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:600: 
error: undefined reference to 'option_debug'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:600: 
error: undefined reference to 'ast_set_read_format'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:600: 
error: undefined reference to 'ast_set_write_format'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:608: 
error: undefined reference to 'ast_write'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:616: 
error: undefined reference to 'ast_channel_set_fd'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:616: 
error: undefined reference to 'ast_channel_set_fd'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:600: 
error: undefined reference to 'ast_options'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:600: 
error: undefined reference to 'ast_debug_get_by_file'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:600: 
error: undefined reference to 'ast_set_write_format'
/usr/bin/ld: chan_agent.o: in function agent_write:chan_agent.c:600: 
error: undefined reference to 'ast_set_read_format'
/usr/bin/ld: chan_agent.o: in function 
__agent_start_monitoring:chan_agent.c:434: error: undefined reference to 
'ast_cdr_setuserfield'
/usr/bin/ld: chan_agent.o: in function 
__agent_start_monitoring:chan_agent.c:433: error: undefined reference to 
'ast_cdr_alloc'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:454: 
error: undefined reference to 'ast_set_read_format'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:454: 
error: undefined reference to 'ast_set_write_format'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:461: 
error: undefined reference to 'ast_read'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:537: 
error: undefined reference to 'option_verbose'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:539: 
error: undefined reference to 'ast_frame_free'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:560: 
error: undefined reference to 'ast_channel_set_fd'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:560: 
error: undefined reference to 'ast_channel_set_fd'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:543: 
error: undefined reference to 'ast_frame_free'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:515: 
error: undefined reference to 'option_verbose'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:515: 
error: undefined reference to 'ast_verbose_get_by_file'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:515: 
error: undefined reference to '__ast_verbose'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:551: 
error: undefined reference to 'ast_frame_free'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:551: 
error: undefined reference to 'ast_null_frame'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:531: 
error: undefined reference to 'ast_frame_free'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:531: 
error: undefined reference to 'ast_null_frame'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:494: 
error: undefined reference to 'ast_null_frame'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:481: 
error: undefined reference to 'pbx_builtin_getvar_helper'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:488: 
error: undefined reference to 'ast_hangup'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:490: 
error: undefined reference to 'ast_tvadd'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:493: 
error: undefined reference to 'ast_devstate_changed'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:454: 
error: undefined reference to 'ast_set_write_format'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:454: 
error: undefined reference to 'ast_set_read_format'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:537: 
error: undefined reference to '__ast_verbose'
/usr/bin/ld: chan_agent.o: in function agent_read:chan_agent.c:537: 
error: undefined reference to 'ast_verbose_get_by_file'
/usr/bin/ld: chan_agent.o: in function 
agentmonitoroutgoing_exec:chan_agent.c:2225: error: undefined reference 
to 'pbx_builtin_getvar_helper'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:817: 
error: undefined reference to 'ast_state2str'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:835: 
error: undefined reference to 'pbx_builtin_getvar_helper'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:843: 
error: undefined reference to 'ast_hangup'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:845: 
error: undefined reference to 'ast_devstate_changed'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:901: 
error: undefined reference to 'ast_tvadd'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:879: 
error: undefined reference to 'ast_devstate_changed'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:864: 
error: undefined reference to 'ast_indicate_data'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:860: 
error: undefined reference to 'ast_softhangup'
/usr/bin/ld: chan_agent.o: in function agent_hangup:chan_agent.c:831: 
error: undefined reference to 'ast_tvadd'
/usr/bin/ld: chan_agent.o: in function check_beep:chan_agent.c:1333: 
error: undefined reference to 'ast_streamfile'
/usr/bin/ld: chan_agent.o: in function check_beep:chan_agent.c:1336: 
error: undefined reference to 'ast_waitstream'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:708: 
error: undefined reference to 'option_verbose'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:710: 
error: undefined reference to 'ast_streamfile'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:748: 
error: undefined reference to 'ast_setstate'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:699: 
error: undefined reference to 'option_verbose'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:700: 
error: undefined reference to 'ast_set_callerid'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:702: 
error: undefined reference to 'ast_channel_inherit_variables'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:703: 
error: undefined reference to 'ast_call'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:699: 
error: undefined reference to 'ast_verbose_get_by_file'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:699: 
error: undefined reference to '__ast_verbose'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:713: 
error: undefined reference to 'ast_waitstream'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:717: 
error: undefined reference to 'ast_best_codec'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:728: 
error: undefined reference to 'ast_best_codec'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:694: 
error: undefined reference to 'ast_setstate'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:708: 
error: undefined reference to 'ast_verbose_get_by_file'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:708: 
error: undefined reference to '__ast_verbose'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:720: 
error: undefined reference to 'ast_best_codec'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:720: 
error: undefined reference to 'ast_getformatname'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:731: 
error: undefined reference to 'ast_best_codec'
/usr/bin/ld: chan_agent.o: in function agent_call:chan_agent.c:731: 
error: undefined reference to 'ast_getformatname'
/usr/bin/ld: chan_agent.o: in function agent_digit_end:chan_agent.c:670: 
error: undefined reference to 'ast_senddigit_end'
/usr/bin/ld: chan_agent.o: in function 
agent_digit_begin:chan_agent.c:659: error: undefined reference to 
'ast_senddigit_begin'
/usr/bin/ld: chan_agent.o: in function add_agent:chan_agent.c:300: 
error: undefined reference to '__ast_app_separate_args'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1005: 
error: undefined reference to '__ast_channel_alloc'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1018: 
error: undefined reference to '__ast_string_field_ptr_grow'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1018: 
error: undefined reference to '__ast_string_field_empty'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1076: 
error: undefined reference to 'ast_indicate'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1047: 
error: undefined reference to 'ast_null_frame'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1047: 
error: undefined reference to 'ast_queue_frame'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1064: 
error: undefined reference to 'ast_queue_frame'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1070: 
error: undefined reference to 'ast_channel_free'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1003: 
error: undefined reference to 'ast_random'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1018: 
error: undefined reference to '__ast_string_field_alloc_space'
/usr/bin/ld: chan_agent.o: in function agent_new:chan_agent.c:1056: 
error: undefined reference to 'ast_channel_free'
/usr/bin/ld: chan_agent.o: in function agent_request:chan_agent.c:1407: 
error: undefined reference to 'ast_request'
/usr/bin/ld: chan_agent.o: in function agent_request:chan_agent.c:1407: 
error: undefined reference to 'ast_request'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1103: error: undefined reference to 
'ast_config_load2'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1122: error: undefined reference to 
'ast_variable_retrieve'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1123: error: undefined reference to 
'ast_true'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1124: error: undefined reference to 
'ast_variable_retrieve'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1124: error: undefined reference to 
'ast_true'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1127: error: undefined reference to 
'ast_variable_browse'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1133: error: undefined reference to 
'ast_get_group'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1198: error: undefined reference to 
'ast_config_load2'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1199: error: undefined reference to 
'ast_variable_retrieve'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1199: error: undefined reference to 
'ast_true'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1200: error: undefined reference to 
'ast_category_browse'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1216: error: undefined reference to 
'ast_category_browse'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1203: error: undefined reference to 
'ast_variable_retrieve'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1204: error: undefined reference to 
'ast_true'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1218: error: undefined reference to 
'ast_config_destroy'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1239: error: undefined reference to 
'ast_config_destroy'
/usr/bin/ld: chan_agent.o: in function 
read_agent_config:chan_agent.c:1216: error: undefined reference to 
'ast_category_browse'
/usr/bin/ld: chan_agent.o: in function 
action_agent_logoff:chan_agent.c:1663: error: undefined reference to 
'astman_get_header'
/usr/bin/ld: chan_agent.o: in function 
action_agent_logoff:chan_agent.c:1664: error: undefined reference to 
'astman_get_header'
/usr/bin/ld: chan_agent.o: in function 
action_agent_logoff:chan_agent.c:1678: error: undefined reference to 
'astman_send_error'
/usr/bin/ld: chan_agent.o: in function 
action_agent_logoff:chan_agent.c:1676: error: undefined reference to 
'astman_send_ack'
/usr/bin/ld: chan_agent.o: in function action_agents:chan_agent.c:1460: 
error: undefined reference to 'astman_get_header'
/usr/bin/ld: chan_agent.o: in function action_agents:chan_agent.c:1472: 
error: undefined reference to 'astman_send_ack'
/usr/bin/ld: chan_agent.o: in function action_agents:chan_agent.c:1518: 
error: undefined reference to 'astman_append'
/usr/bin/ld: chan_agent.o: in function action_agents:chan_agent.c:1532: 
error: undefined reference to 'astman_append'
/usr/bin/ld: chan_agent.o: in function __reg_module:chan_agent.c:2538: 
error: undefined reference to 'ast_module_register'
/usr/bin/ld: chan_agent.o: in function 
__unregister_file_version:chan_agent.c:39: error: undefined reference to 
'ast_unregister_file_version'
/usr/bin/ld: chan_agent.o: in function 
__register_file_version:chan_agent.c:39: error: undefined reference to 
'ast_register_file_version'
/usr/bin/ld: chan_agent.o: in function reload_agents:chan_agent.c:2294: 
error: undefined reference to 'ast_db_gettree'
/usr/bin/ld: chan_agent.o: in function reload_agents:chan_agent.c:2310: 
error: undefined reference to 'ast_db_get'
/usr/bin/ld: chan_agent.o: in function reload_agents:chan_agent.c:762: 
error: undefined reference to 'pbx_builtin_setvar_helper'
/usr/bin/ld: chan_agent.o: in function reload_agents:chan_agent.c:2329: 
error: undefined reference to 'ast_db_freetree'
/usr/bin/ld: chan_agent.o: in function reload_agents:chan_agent.c:2306: 
error: undefined reference to 'ast_db_del'
/usr/bin/ld: chan_agent.o: in function load_module:chan_agent.c:2476: 
error: undefined reference to 'ast_channel_register'
/usr/bin/ld: chan_agent.o: in function load_module:chan_agent.c:2486: 
error: undefined reference to 'ast_register_application2'
/usr/bin/ld: chan_agent.o: in function load_module:chan_agent.c:2487: 
error: undefined reference to 'ast_register_application2'
/usr/bin/ld: chan_agent.o: in function load_module:chan_agent.c:2490: 
error: undefined reference to 'ast_manager_register2'
/usr/bin/ld: chan_agent.o: in function load_module:chan_agent.c:2491: 
error: undefined reference to 'ast_manager_register2'
/usr/bin/ld: chan_agent.o: in function load_module:chan_agent.c:2494: 
error: undefined reference to 'ast_cli_register_multiple'
/usr/bin/ld: chan_agent.o: in function load_module:chan_agent.c:2497: 
error: undefined reference to '__ast_custom_function_register'
/usr/bin/ld: chan_agent.o: in function 
check_availability:chan_agent.c:395: error: undefined reference to 
'ast_channel_free'
/usr/bin/ld: chan_agent.o: in function 
check_availability:chan_agent.c:1276: error: undefined reference to 
'ast_streamfile'
/usr/bin/ld: chan_agent.o: in function 
check_availability:chan_agent.c:395: error: undefined reference to 
'ast_channel_free'
/usr/bin/ld: chan_agent.o: in function 
check_availability:chan_agent.c:1288: error: undefined reference to 
'ast_setstate'
/usr/bin/ld: chan_agent.o: in function 
check_availability:chan_agent.c:1289: error: undefined reference to 
'ast_setstate'
/usr/bin/ld: chan_agent.o: in function 
check_availability:chan_agent.c:1294: error: undefined reference to 
'ast_channel_masquerade'
/usr/bin/ld: chan_agent.o: in function 
check_availability:chan_agent.c:1279: error: undefined reference to 
'ast_waitstream'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:1899: 
error: undefined reference to '__ast_module_user_add'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:1903: 
error: undefined reference to '__ast_app_separate_args'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:1909: 
error: undefined reference to 'pbx_builtin_getvar_helper'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:1939: 
error: undefined reference to 'ast_answer'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2192: 
error: undefined reference to '__ast_module_user_remove'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:1944: 
error: undefined reference to 'ast_app_getdata'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:1957: 
error: undefined reference to 'ast_app_getdata'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2186: 
error: undefined reference to 'ast_app_getdata'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2190: 
error: undefined reference to 'ast_safe_sleep'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2046: 
error: undefined reference to 'ast_waitstream'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2044: 
error: undefined reference to 'ast_streamfile'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2063: 
error: undefined reference to 'ast_indicate_data'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2068: 
error: undefined reference to '__manager_event'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2075: 
error: undefined reference to 'ast_queue_log'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2149: 
error: undefined reference to '__manager_event'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2154: 
error: undefined reference to 'ast_queue_log'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2127: 
error: undefined reference to 'ast_safe_sleep_conditional'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:948: 
error: undefined reference to 'ast_waitfor'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:953: 
error: undefined reference to 'ast_read'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2076: 
error: undefined reference to 'ast_getformatname'
/usr/bin/ld: chan_agent.o: in function login_exec:chan_agent.c:2076: 
error: undefined reference to 'ast_getformatname'
collect2: ld returned 1 exit status

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20100107/890239bc/attachment-0001.htm>


More information about the Pkg-voip-maintainers mailing list