[SOLVED] Error: unknown type 'pthread_mutex_t'

I think the Jack error is triggered by OpenAL Soft. Perhaps you can configure OpenAL Soft to disable the Jack back-end.