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

Ray Crumrine (JIRA) noreply at issues.asterisk.org
Tue Jul 22 20:39:56 CDT 2014


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

Ray Crumrine edited comment on ASTERISK-23711 at 7/22/14 8:39 PM:
------------------------------------------------------------------

I am attaching 4 files. the config.logs of both asterisk and pjsip. Also the Asterisk config script that I was using and the resultant autoconfig.h file that was generated. Running Debian 7.5 and Asterisk 12.4. Note that after 4 or 5 tries at compiling it, and examining the notes in 23711, I noticed that they were "checking for pjsip_tsx_create_uac2 in -lpjsip" in the log. So I checked my log and saw that the test passed. So I went ahead and manually entered the define in autoconfig.h as you will see. After doing this it compiled with no problem and is now in use. Also, not sure if it means anything or not but when I initially ran the Asterisk configure script I was using the command line "./configure --with-pjproject" as shown in the article by Matt Jordan for the Raspberry PI since both systems supposedly run the same operating system. Then I thought I noticed where the switch "with-pjproject" was supposed to have an = and a path after it. Since I wasn't sure if that might be causing a problem, you will see in the log that the last time I ran it I left off that switch. It didn't seem to make any difference one way or the other. Note that I tried using both the "official" git version of PJSIP and v2.2.1 from the PJ SIP web site and both gave the same result. Also note that I previously used these same tar files to install every thing on my x86 computer running Debian 7.5 and it worked ok on the x86. So it seems the issue may be tied to the ARMHF version ??? This was a fresh install of everything on a BeagleBone Black Rev C.


was (Author: proftech):
I am attaching 4 files. the config.logs of both asterisk and pjsip. Also the Asterisk config script that I was using and the resultant autoconfig.h file that was generated. Running Debian 7.5 and Asterisk 12.4. Note that after 4 or 5 tries at compiling it, and examining the notes in 23711, I noticed that they were "checking for pjsip_tsx_create_uac2 in -lpjsip" in the log. So I checked my log and saw that the test passed. So I went ahead and manually entered the define in autoconfig.h as you will see. After doing this it compiled with no problem and is now in use. Also, not sure if it means anything or not but when I initially ran the Asterisk configure script I was using the command line "./configure --with-pjproject" as shown in the article by Matt Jordan for the Raspberry PI since both systems supposedly run the same operating system. Then I thought I noticed where the switch "with-pjproject" was supposed to have an = and a path after it. Since I wasn't sure if that might be causing a problem, you will see in the log that the last time I ran it I left off that switch. It didn't seem to make any difference one way or the other. Note that I tried using both the "official" git version of PJSIP and v2.2.1 from the PJ SIP web site and both gave the same result. Also note that I previously used these same tar files to install every thing on my x86 computer running Debian 7.5 and it worked ok on the x86. So it seems the issue may be tied to the ARMHF version ??? I am running a BeagleBone Black Rev C.

> 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
>            Severity: Critical
>         Attachments: autoconfig.h, config.log, configure, PJSIP_config.log
>
>
> {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