I am trying to compile a program with a sharedlibrary which uses some ast_* .
But I am getting undefined reference error.
Does anybody have some idea on which shared library to use and in which order?
The error coming is :
/usr/lib/asterisk/modules/res_configman.so: undefined reference to ast_cli_register_multiple' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_tv’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_pbx_start' /usr/lib/asterisk/modules/res_configman.so: undefined reference to
ast_config_destroy’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to __ast_string_field_index_build' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_true’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_queue_hangup' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_channel_register’
/usr/lib/asterisk/modules/res_configman.so: undefined reference to ast_cli_unregister_multiple' /usr/lib/asterisk/modules/res_configman.so: undefined reference to
ast_module_ref’
/usr/lib/asterisk/modules/res_configman.so: undefined reference to ast_cli_register' /usr/lib/asterisk/modules/res_configman.so: undefined reference to
ast_config_load’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_queue_control' /usr/lib/asterisk/modules/res_configman.so: undefined reference to
ast_module_unregister’
/usr/lib/asterisk/modules/res_configman.so: undefined reference to ast_log' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_sched_add_variable’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_translator_free_path' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_channel_alloc’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_update_use_count' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_sched_wait’
/usr/lib/asterisk/modules/res_configman.so: undefined reference to ast_module_register' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_translator_build_path’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_dsp_new' /usr/lib/asterisk/modules/res_configman.so: undefined reference to
ast_cli’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_dsp_set_features' /usr/lib/asterisk/modules/res_configman.so: undefined reference to
term_color’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_dsp_process' /usr/lib/asterisk/modules/res_configman.so: undefined reference to
ast_module_unref’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to sched_context_create' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_verbose’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_channel_unregister' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_translate’
/usr/lib/asterisk/modules/res_configman.so: undefined reference to ast_variable_browse' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
ast_sched_runq’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to _ast_strdup' /usr/lib/asterisk/modules/res_configman.so: undefined reference to
ast_category_browse’
/usr/lib/asterisk/modules/quadchgsm.so: undefined reference to ast_copy_string' /usr/lib/asterisk/modules/quadchgsm.so: undefined reference to
sched_context_destroy’
**********************************************************************************************************[/b]