编译时使用 -pthread 而不是 libpthread。
Linker error: undefined reference to symbol 'pthread_rwlock_trywrlock@@GLIBC_2.2.5'
最新推荐文章于 2024-06-25 08:30:00 发布
编译时使用 -pthread 而不是 libpthread。