LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   POSIX.4 clock_gettime function (https://www.linuxquestions.org/questions/linux-general-1/posix-4-clock_gettime-function-10522/)

collinss 12-22-2001 09:21 AM

POSIX.4 clock_gettime function
 
I am trying to use the clock_gettime function but am getting an "undefined reference" error when building. I have included time.h, my computer is POSIX.4 compliant, and _POSIX_TIMERS is defined. Is there something else I can do or check?

w13738 11-24-2003 12:12 PM

Here is the answer and solution,

http://www.ussg.iu.edu/hypermail/lin...04.1/0010.html


All times are GMT -5. The time now is 04:40 PM.