[asterisk-bugs] [JIRA] (ASTERISK-23711) Asterisk does not compile when HAVE_PJ_TRANSACTION_GRP_LOCK is not defined

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon May 5 10:09:43 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217917#comment-217917 ] 

Joshua Colp commented on ASTERISK-23711:
----------------------------------------

If the pjproject does not have group lock support it will compile. This was added to ease the migration when group lock support was added to our git repo so that everyone was not forced to upgrade immediately.

It won't compile if pjproject has group lock support and HAVE_PJ_TRANSACTION_GRP_LOCK is not set, and that is expected behavior.

What shouldn't happen is that the configure script and build system fails to do the right thing on a clean environment.

> Asterisk does not compile when HAVE_PJ_TRANSACTION_GRP_LOCK is not defined
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-23711
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23711
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 12.2.0
>         Environment: gcc (SUSE Linux) 4.8.1 20130909 
> pjsip 2.2.1
>            Reporter: Marcello Ceschia
>            Assignee: Marcello Ceschia
>            Severity: Critical
>
> {code}
> res_pjsip/pjsip_distributor.c: In function ‘find_dialog’:
> res_pjsip/pjsip_distributor.c:141:21: error: ‘pjsip_transaction’ has no member named ‘mutex’
>   pj_mutex_unlock(tsx->mutex);
>                      ^
> {code}



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



More information about the asterisk-bugs mailing list