Issue with pthread_mutex_timedlock while trying to build Zoneminder Surveillance for mac

Joshua Root jmr at macports.org
Tue Dec 7 15:09:57 PST 2010


On 2010-12-8 09:32 , Mike Thostenson wrote:
> I am working with Jeremy "snc" who has been much help in getting me started using the macports method of porting Zoneminder to Mac OS X. We ran into this issue and might need a little help from another dev concerning:
> 
> zm_thread.cpp: In member function ‘void Mutex::lock(int)’:
> zm_thread.cpp:78: error: ‘pthread_mutex_timedlock’ was not declared in this scope
> zm_thread.cpp: In member function ‘void Mutex::lock(double)’:
> zm_thread.cpp:85: error: ‘pthread_mutex_timedlock’ was not declared in this scope
> make[2]: *** [zm_thread.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> I did a little reading on this and it doesn't appear like Mac OS X can deal with pthread_mutex_timedlock?
> 
> Any help would be much appreciated.

Google found this:
<http://lists.apple.com/archives/xcode-users/2007/Apr/msg00331.html>

- Josh


More information about the macports-dev mailing list