[Asterisk-Dev] PTHREAD_MUTEX_RECURSIVE
Alfred R. Nurnberger
alfred at flosys.us
Fri Jun 18 17:34:15 MST 2004
I got the same message yesterday, trying to compile spandsp with the
latest CVS.
-Alfred
> PTHREAD_MUTEX_RECURSIVE is generally defined by the OS or system. In
> general it would be defined in pthread.h.
>
> You have a native posix library I believe, so there must be an
> appropriate header to define it, if it's not pthread.h.
>
> Cheers,
> Rich
>
>
>> -----Original Message-----
>> From: asterisk-dev-admin at lists.digium.com [mailto:asterisk-dev-
>> admin at lists.digium.com] On Behalf Of Jim Gottlieb
>> Sent: Thursday, June 17, 2004 8:24 PM
>> To: asterisk-dev at lists.digium.com
>> Subject: [Asterisk-Dev] PTHREAD_MUTEX_RECURSIVE
>>
>> Hi. In trying to compile our custom app against the latest asterisk,
>> I'm getting a:
>> /usr/include/asterisk/lock.h: In function `ast_mutex_init':
>> /usr/include/asterisk/lock.h:214: error: `PTHREAD_MUTEX_RECURSIVE'
>> undeclared (first use in this function)
>>
>> I'm not sure where this is supposed to be getting #defined.
>> <pthread.h> is included in <asterisk/lock.h> so that's not it.
>>
>> Any hints? I've looked all through /usr/include and the asterisk
>> source.
>>
>> Thanks...
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
Alfred R.Nurnberger
F L O S Y S
tel :+1 (360) 816-8800
fax: +1 (360) 816-8809
http://www.flosys.us
More information about the asterisk-dev
mailing list