#40899: clucene: LuceneThreads.h:58:34: error: unknown type name 'pthread_t' -------------------------+----------------------------- Reporter: whcordis@… | Owner: dinh.viet.hoa@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: mavericks Port: clucene | -------------------------+----------------------------- Changes (by egon.geerardyn@…): * status: closed => reopened * resolution: fixed => Comment: It is not fixed here either. I get a similar log trace when trying to run the afflicted `make`, the following errors pop up: {{{ /opt/local/include/CLucene/LuceneThreads.h:56:19: error: unknown type name 'pthread_t' static _LUCENE_THREADID_TYPE _GetCurrentThreadId(); ^ /opt/local/include/CLucene/LuceneThreads.h:40:41: note: expanded from macro '_LUCENE_THREADID_TYPE' #define _LUCENE_THREADID_TYPE pthread_t ^ /opt/local/include/CLucene/LuceneThreads.h:57:18: error: unknown type name 'pthread_t' static _LUCENE_THREADID_TYPE CreateThread(luceneThreadStartRoutine* func, void* arg); ^ /opt/local/include/CLucene/LuceneThreads.h:40:41: note: expanded from macro '_LUCENE_THREADID_TYPE' #define _LUCENE_THREADID_TYPE pthread_t ^ /opt/local/include/CLucene/LuceneThreads.h:58:34: error: unknown type name 'pthread_t' static void JoinThread(_LUCENE_THREADID_TYPE id); ^ /opt/local/include/CLucene/LuceneThreads.h:40:41: note: expanded from macro '_LUCENE_THREADID_TYPE' #define _LUCENE_THREADID_TYPE pthread_t }}} -- Ticket URL: <https://trac.macports.org/ticket/40899#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X