在你的./boost/boost/thread/pthread里找到thread_data.hpp 里面把#if PTHREAD_STACK_MIN>0 换成#ifdef PTHREAD_STACK_MIN