[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 09:48:44 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217906#comment-217906 ]
Joshua Colp commented on ASTERISK-23711:
----------------------------------------
That's not the problem. The HAVE_PJ_TRANSACTION_GRP_LOCK value is set by the check logic within the configure script. The configure script determines if the pjproject available has support for group locks, if it does then that value is set and used. If it does not have support then the old logic (with direct mutexes) is in use.
If the environment is compromised (pjproject updated but configure hasn't been re-run) then it will not know things have changed and will assume conditions are the same as they were. This also applies for other libraries. As for your comment about the issue being present with OBS - the config.log, environment details, and autoconfig.h would be needed to determine what is going on there.
> 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