[asterisk-bugs] [JIRA] (ASTERISK-24001) res_rtp_asterisk fails to load module
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Tue Jul 8 07:47:57 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220341#comment-220341 ]
Matt Jordan commented on ASTERISK-24001:
----------------------------------------
Please try the attached patch. The DTLS handshake function was declared inside the guards for PJPROJECT, while its usage was not.
> res_rtp_asterisk fails to load module
> -------------------------------------
>
> Key: ASTERISK-24001
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24001
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_rtp_asterisk
> Affects Versions: 12.3.2
> Environment: ubuntu 14.04 lts
> Reporter: Don Fanning
> Attachments: ASTERISK-24001-12.diff
>
>
> During compile time I get this warning:
> bq. [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o
> bq. res_rtp_asterisk.c: In function ‘ast_rtp_activate’:
> bq. res_rtp_asterisk.c:4643:2: warning: implicit declaration of function ‘dtls_perform_handshake’ [-Wimplicit-function-declaration]
> dtls_perform_handshake(instance, &rtp->dtls, 0);
> ^
> bq. [LD] res_rtp_asterisk.o -> res_rtp_asterisk.so
> bq. [CC] res_rtp_multicast.c -> res_rtp_multicast.o
> bq. [LD] res_rtp_multicast.o -> res_rtp_multicast.so
> During asterisk execution this error is presented:
> bq. > Registering module res_rtp_asterisk
> bq. > Unregistering module res_rtp_asterisk
> bq. [Jul 8 04:48:57] WARNING[9026]: loader.c:565 load_dynamic_module: Error loading module 'res_rt _asterisk.so': /usr/lib/asterisk/modules/res_rtp_asterisk.so: undefined symbol: dtls_perform_handshake
> bq. [Jul 8 04:48:57] WARNING[9026]: loader.c:1032 load_resource: Module 'res_rtp_asterisk.so' could not be loaded.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list