[Asterisk-Dev] lock.h change on 10-28 (rev 1.39) means you
cannever use pthread_mutex_t?
Jerris, Michael MI
mjerris at ofllc.com
Wed Nov 2 15:12:20 MST 2005
> Brian Capouch
>
> This definition has also caused me grief in my builds for the
> MIPSEL platform on openWRT.
>
> 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.
>
> IIRC it was in an unrelated, included header file that
> defined something to be of the banned (not just deprecated
> :-) ) type, but the file can't see any of the ast_
> definitions, so I couldn't just redefine it as the error
> message suggests.
>
I had the same issue on cygwin as pthread.h uses pthread_mutex_t in it's
definition for PTHREAD_MUTEX_INITIALIZER, which is passed down in other
defines. I am not sure what the proper solution is to this issue.
Mike
More information about the asterisk-dev
mailing list