Re: [asterisk-users] grp_lock error when compiling against pjproject

2014-01-28 Thread Matthew Jordan
On Tue, Jan 28, 2014 at 2:40 AM, Ira i...@extrasensory.com wrote:

  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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] grp_lock error when compiling against pjproject

2014-01-28 Thread George Joseph
On Tue, Jan 28, 2014 at 6:29 AM, Matthew Jordan mjor...@digium.com wrote:

 On Tue, Jan 28, 2014 at 2:40 AM, Ira i...@extrasensory.com wrote:

  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.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] grp_lock error when compiling against pjproject

2014-01-27 Thread Matthew Jordan
On Sat, Jan 25, 2014 at 1:35 PM, Ira i...@extrasensory.com wrote:

  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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users