sco5.07下能不能用sem_init?
在sco5.07下编译时出错:
# g++ -o t -lgthreads -lsuds test.cpp
WARNING: no SCO ELF identifying .note section in file 'libgthreads.so'
Undefined first referenced
symbol in file
sem_init(posix_sem *, int, unsigned int)/usr/tmp/ccMClGlE.o
sem_wait(posix_sem *) /usr/tmp/ccMClGlE.o
sem_post(posix_sem *) /usr/tmp/ccMClGlE.o
sem_destroy(posix_sem *) /usr/tmp/ccMClGlE.o
ERROR: Symbol referencing errors. No output written to t
collect2: ld returned 1 exit status
已经安装了FSUpthreads包