“undefined reference to symbol 'sem_post@@GLIBC_2.2.5'”及“DSO missing from command line”问题

编译过程当中出现如下异常信息:web [xxx@localhost memstat]$ g++ -o test commutex.cpp memrecord.cpp test.cpp -lboost_thread -DDEBUG_MEMORY -DLINUX tmp/cc6qIOs6.o: undefined reference to symbol 'sem_post
相关文章
相关标签/搜索