Issue with pthread_mutex_timedlock while trying to build Zoneminder Surveillance for mac

Mike Thostenson mike at
Tue Dec 7 14:32:43 PST 2010

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.


Mike Thostenson
Technology Consultant
Prowess Networks
P.O. Box 526
Albert Lea, MN 56007
Primary Phone: 507-369-2412
Email: mike at

More information about the macports-dev mailing list