Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] grp_lock error when compiling against pjproject


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ira at extrasensory.com
Guest





PostPosted: Sat Jan 25, 2014 2:34 pm    Post subject: [asterisk-users] grp_lock error when compiling against pjpro Reply with quote

Hello Asterisk,

Would someone be kind enough as to add the issue:

grp_lock error when compiling against pjproject

and solution:

delete the rogue install in /usr/local/include

To the WIKI page about installing pjsip.

I tried to update the WIKI but don't seem to have a way to do it.

I know it's not supposed to happen and I know what I did wrong, but it's hard to imagine I'll be the last person to make that mistake.

Thanks, Ira
Back to top
mjordan at digium.com
Guest





PostPosted: Mon Jan 27, 2014 4:49 pm    Post subject: [asterisk-users] grp_lock error when compiling against pjpro Reply with quote

On Sat, Jan 25, 2014 at 1:35 PM, Ira <ira@extrasensory.com (ira@extrasensory.com)> wrote:
Quote:
Hello Asterisk,

  Would someone be kind enough as to add the issue:

grp_lock error when compiling against pjproject

and solution:

delete the rogue install in /usr/local/include

To the WIKI page about installing pjsip. 

I tried to update the WIKI but don't seem to have a way to do it.

I know it's not supposed to happen and I know what I did wrong, but it's hard to imagine I'll be the last person to make that mistake.





Do you have the exact error message that pjproject gave when you ran into this problem?


--
Matthew Jordan

Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
Back to top
mjordan at digium.com
Guest





PostPosted: Tue Jan 28, 2014 8:29 am    Post subject: [asterisk-users] grp_lock error when compiling against pjpro Reply with quote

On Tue, Jan 28, 2014 at 2:40 AM, Ira <ira@extrasensory.com (ira@extrasensory.com)> wrote:
Quote:
Hello Matthew,

Monday, January 27, 2014, 1:49:44 PM, you wrote:



Do you have the exact error message that pjproject gave when you ran into this problem?


I don't, but I guess I can reinstall the offending software to get it if you need it. It's documented on the bug list as I eventually found the using google.


 I'm including the asterisk-users mailing list on this reply, as there's no reason to take this discussion off list.


I'm not sure what bug list you're referring to. However, the page on the wiki that documents common errors and their appropriate correction [1] attempts to provide the exact error message that users will see when they encounter that situation. I'd be happy to update it with whatever error you ran into, but to do so we need to know the exact messages. Alluding to error messages without providing them usually leads to more confusion, not less.

[1] https://wiki.asterisk.org/wiki/display/AST/Installing+pjproject#Installingpjproject-IssuesandWorkarounds


Matt



--
Matthew Jordan

Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
Back to top
george.joseph at fairv...
Guest





PostPosted: Tue Jan 28, 2014 11:56 am    Post subject: [asterisk-users] grp_lock error when compiling against pjpro Reply with quote

On Tue, Jan 28, 2014 at 6:29 AM, Matthew Jordan <mjordan@digium.com (mjordan@digium.com)> wrote:
Quote:
On Tue, Jan 28, 2014 at 2:40 AM, Ira <ira@extrasensory.com (ira@extrasensory.com)> wrote:
Quote:
Hello Matthew,
Monday, January 27, 2014, 1:49:44 PM, you wrote:



Do you have the exact error message that pjproject gave when you ran into this problem?


I don't, but I guess I can reinstall the offending software to get it if you need it. It's documented on the bug list as I eventually found the using google.


 I'm including the asterisk-users mailing list on this reply, as there's no reason to take this discussion off list.


I'm not sure what bug list you're referring to. However, the page on the wiki that documents common errors and their appropriate correction [1] attempts to provide the exact error message that users will see when they encounter that situation. I'd be happy to update it with whatever error you ran into, but to do so we need to know the exact messages. Alluding to error messages without providing them usually leads to more confusion, not less.







I ran into the same problem a few weeks ago.  The error is during the asterisk-12 build and it's related to using a version of pjproject from before file made a grp_lock commit in pjproject in September.    


res_pjsip/pjsip_distributor.c: In function ‘find_dialog’:
res_pjsip/pjsip_distributor.c:139:25: error: ‘pjsip_transaction’ has no member named ‘grp_lock’
  pj_grp_lock_release(tsx->grp_lock);
                         ^
make[1]: *** [res_pjsip/pjsip_distributor.o] Error 1



The fix is to clean out all old copies pf pjproject and re-clone from github.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services