[asterisk-bugs] [JIRA] (ASTERISK-26518) Error loading module 'res_pjsip.so': undefined symbol: ast_sip_session_register_supplement

Alex Hermann (JIRA) noreply at issues.asterisk.org
Fri Jan 20 10:42:10 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Hermann updated ASTERISK-26518:
------------------------------------

    Attachment: restore_multihomed_module.patch

Not sure if this is the way to go to solve this, but putting the merged multihomed module back into it's own module solved the circular dependency for me.

Patch is against 13.13, should apply to other versions without much hassle/fuzz.

> Error loading module 'res_pjsip.so': undefined symbol: ast_sip_session_register_supplement
> ------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26518
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26518
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.13.0, 14.1.1, GIT
>         Environment: Fedora 24 x86_64
>            Reporter: Anthony Messina
>         Attachments: ast.diff, restore_multihomed_module.patch
>
>
> After upgrading to Asterisk 14.1.1 with branch 14 updates up to d84eaa4 applied, the PJSIP modules won't load when _hardened_build is defined (see below).  When _hardened_build is undefined, Asterisk/PJSIP starts properly.  This seems strikingly similar to ASTERISK-25727 but I do have OPTIONAL_API enabled.  I did not see this issue with 14.0.2.
> {code}
> NOTICE[30928]: loader.c:1440 load_modules: 269 modules will be loaded.
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'func_pjsip_aor.so': /usr/lib64/asterisk/modules/func_pjsip_aor.so: undefined symbol: ast_sip_location_retrieve_aor_contacts
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_diversion.so': /usr/lib64/asterisk/modules/res_pjsip_diversion.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_mwi_body_generator.so': /usr/lib64/asterisk/modules/res_pjsip_mwi_body_generator.so: undefined symbol: ast_sip_get_pjsip_endpoint
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_pidf_digium_body_supplement.so': /usr/lib64/asterisk/modules/res_pjsip_pidf_digium_body_supplement.so: undefined symbol: ast_sip_presence_xml_create_node
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_authenticator_digest.so': /usr/lib64/asterisk/modules/res_pjsip_authenticator_digest.so: undefined symbol: ast_sip_unregister_authenticator
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_empty_info.so': /usr/lib64/asterisk/modules/res_pjsip_empty_info.so: undefined symbol: ast_sip_session_register_supplement
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_registrar_expire.so': /usr/lib64/asterisk/modules/res_pjsip_registrar_expire.so: undefined symbol: ast_sip_location_delete_contact
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_mwi.so': /usr/lib64/asterisk/modules/res_pjsip_mwi.so: undefined symbol: ast_sip_create_request
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_endpoint_identifier_user.so': /usr/lib64/asterisk/modules/res_pjsip_endpoint_identifier_user.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_outbound_registration.so': /usr/lib64/asterisk/modules/res_pjsip_outbound_registration.so: undefined symbol: ast_sip_cli_traverse_objects
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_header_funcs.so': /usr/lib64/asterisk/modules/res_pjsip_header_funcs.so: undefined symbol: ast_sip_session_register_supplement
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_refer.so': /usr/lib64/asterisk/modules/res_pjsip_refer.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_messaging.so': /usr/lib64/asterisk/modules/res_pjsip_messaging.so: undefined symbol: ast_sip_default_outbound_endpoint
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_exten_state.so': /usr/lib64/asterisk/modules/res_pjsip_exten_state.so: undefined symbol: ast_sip_subscription_is_terminated
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_registrar.so': /usr/lib64/asterisk/modules/res_pjsip_registrar.so: undefined symbol: ast_sip_report_failed_acl
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_sdp_rtp.so': /usr/lib64/asterisk/modules/res_pjsip_sdp_rtp.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_nat.so': /usr/lib64/asterisk/modules/res_pjsip_nat.so: undefined symbol: ast_sip_session_register_supplement
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_dlg_options.so': /usr/lib64/asterisk/modules/res_pjsip_dlg_options.so: undefined symbol: ast_sip_session_register_supplement
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_session.so': /usr/lib64/asterisk/modules/res_pjsip_session.so: undefined symbol: ast_sip_get_distributor_serializer
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip.so': /usr/lib64/asterisk/modules/res_pjsip.so: undefined symbol: ast_sip_session_register_supplement
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_xpidf_body_generator.so': /usr/lib64/asterisk/modules/res_pjsip_xpidf_body_generator.so: undefined symbol: ast_sip_presence_xml_create_attr
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_transport_management.so': /usr/lib64/asterisk/modules/res_pjsip_transport_management.so: undefined symbol: ast_sip_get_pjsip_endpoint
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_transport_websocket.so': /usr/lib64/asterisk/modules/res_pjsip_transport_websocket.so: undefined symbol: ast_sip_create_serializer
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_path.so': /usr/lib64/asterisk/modules/res_pjsip_path.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_pubsub.so': /usr/lib64/asterisk/modules/res_pjsip_pubsub.so: undefined symbol: ast_sip_get_distributor_serializer
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_rfc3326.so': /usr/lib64/asterisk/modules/res_pjsip_rfc3326.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'func_pjsip_contact.so': /usr/lib64/asterisk/modules/func_pjsip_contact.so: undefined symbol: ast_sip_get_contact_status_label
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_caller_id.so': /usr/lib64/asterisk/modules/res_pjsip_caller_id.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_sips_contact.so': /usr/lib64/asterisk/modules/res_pjsip_sips_contact.so: undefined symbol: ast_sip_get_pjsip_endpoint
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'func_pjsip_endpoint.so': /usr/lib64/asterisk/modules/func_pjsip_endpoint.so: undefined symbol: ast_sip_get_sorcery
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_publish_asterisk.so': /usr/lib64/asterisk/modules/res_pjsip_publish_asterisk.so: undefined symbol: ast_sip_register_publish_handler
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_t38.so': /usr/lib64/asterisk/modules/res_pjsip_t38.so: undefined symbol: ast_sip_session_resume_reinvite
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_history.so': /usr/lib64/asterisk/modules/res_pjsip_history.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_one_touch_record_info.so': /usr/lib64/asterisk/modules/res_pjsip_one_touch_record_info.so: undefined symbol: ast_sip_session_register_supplement
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_send_to_voicemail.so': /usr/lib64/asterisk/modules/res_pjsip_send_to_voicemail.so: undefined symbol: ast_sip_session_register_supplement
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_acl.so': /usr/lib64/asterisk/modules/res_pjsip_acl.so: undefined symbol: ast_copy_pj_str
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_notify.so': /usr/lib64/asterisk/modules/res_pjsip_notify.so: undefined symbol: ast_sip_default_outbound_endpoint
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_pidf_body_generator.so': /usr/lib64/asterisk/modules/res_pjsip_pidf_body_generator.so: undefined symbol: ast_sip_get_pjsip_endpoint
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_outbound_publish.so': /usr/lib64/asterisk/modules/res_pjsip_outbound_publish.so: undefined symbol: ast_sip_push_task_synchronous
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_endpoint_identifier_ip.so': /usr/lib64/asterisk/modules/res_pjsip_endpoint_identifier_ip.so: undefined symbol: ast_sip_cli_traverse_objects
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_logger.so': /usr/lib64/asterisk/modules/res_pjsip_logger.so: undefined symbol: ast_sip_get_pjsip_endpoint
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_dialog_info_body_generator.so': /usr/lib64/asterisk/modules/res_pjsip_dialog_info_body_generator.so: undefined symbol: ast_sip_presence_xml_create_node
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'chan_pjsip.so': /usr/lib64/asterisk/modules/chan_pjsip.so: undefined symbol: ast_sip_create_request
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_dtmf_info.so': /usr/lib64/asterisk/modules/res_pjsip_dtmf_info.so: undefined symbol: ast_sip_session_register_supplement
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_outbound_authenticator_digest.so': /usr/lib64/asterisk/modules/res_pjsip_outbound_authenticator_digest.so: undefined symbol: ast_sip_unregister_outbound_authenticator
> WARNING[30928]: loader.c:552 load_dynamic_module: Error loading module 'res_pjsip_pidf_eyebeam_body_supplement.so': /usr/lib64/asterisk/modules/res_pjsip_pidf_eyebeam_body_supplement.so: undefined symbol: ast_sip_presence_xml_create_node
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list