标签:filename reference pos 一个 编译 编程 def enc 出现
undefined reference to `sem_init‘
undefined reference to `sem_post‘
undefined reference to `sem_wait‘
编译选项需要加入一个多线程:
gcc -pthread -o outfile.out filename.c
标签:filename reference pos 一个 编译 编程 def enc 出现
原文地址:https://www.cnblogs.com/hemeiwolong/p/11042905.html