sem_open() error: “undefined reference to sem_open()” on linux (Ubuntu 10.10)

后端 未结 3 1282
旧时难觅i
旧时难觅i 2020-12-20 12:11

So I am getting the error: \"undefined reference to sem_open()\" even though I have include the semaphore.h header. The same thing is happening for all my pthread function

3条回答
提交回复
热议问题