[Asterisk-Dev] lock.h change on 10-28 (rev 1.39) means you can never use pthread_mutex_t?

steve at daviesfam.org steve at daviesfam.org
Wed Nov 2 22:25:40 MST 2005



On Wed, 2 Nov 2005, Brian Capouch wrote:

> 
> I fixed it in a tizzy the other night by commenting out some code, which 
> for sure wasn't the correct fix.  I'll check in the code again and find 
> where it breaks and report back.

I bodged a fix for the sirrix by, after including the "problem" Asterisk 
headers:

#ifdef DEBUG_THREADS
#error sirrix driver cannot be built against an Asterisk compiled with DEBUG_THREADS
#endif
#undef pthread_mutex_t
#undef ....

Ugly but if got it going again.

Steve



More information about the asterisk-dev mailing list