遇到如下问题:main.o:在函数‘Pro_consumer::Pro_consumer()’中: 对‘sem_init’未定义的引用 Makefile:240: recipe fortarget'caogao' failed 对‘sem_init’未定义的引用main.o:在函数‘ 智能推荐 Linux编译报错:“...undefined reference to symbol ‘pthread_rwlock_rdlock@@GLIBC_2.4...” 目录1. ...