As we Know SIGEV_THREAD not supported by Solaris 10, But I need this for my task Scheduler in Solaris 10. So i took the code of timer_create.c from google and all other required file also.
so now I am trying to compile my code, given below errow i got:
bash-3.2$ g++ -I./ -std=c++11 -o sol10 *.cpp
Undefined first referenced
symbol in file
__timer_mutex /var/tmp//ccVywNSJ.o
_Z20__timer_thread_startP11thread_node /var/tmp//ccVywNSJ.o
_Z13__timer_allocv /var/tmp//ccVywNSJ.o
__timer_signal_thread_rclk /var/tmp//ccVywNSJ.o
__timer_init_failed /var/tmp//ccVywNSJ.o
_Z15__timer_deallocP10timer_node /var/tmp//ccVywNSJ.o
_Z20__timer_thread_allocPK13_pthread_attri /var/tmp//ccVywNSJ.o
_Z17__timer_init_oncev /var/tmp//ccVywNSJ.o
_Z22__timer_thread_deallocP11thread_node /var/tmp//ccVywNSJ.o
_Z28__timer_thread_find_matchingPK13_pthread_attri /var/tmp//ccVywNSJ.o
__timer_init_once_control /var/tmp//ccVywNSJ.o
ld: fatal: symbol referencing errors. No output written to sol10
.
I am unable to get this error please help me to figure ut this. Thanks in Advance :)
Aucun commentaire:
Enregistrer un commentaire