Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-22-2001, 10:21 AM   #1
LQ Newbie
Registered: Dec 2001
Distribution: RedHat 7.1
Posts: 2

Rep: Reputation: 0
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?
Old 11-24-2003, 01:12 PM   #2
LQ Newbie
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Here is the answer and solution,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
POSIX.4 clock_gettime function collinss Programming 2 09-13-2005 07:55 AM
what are the Hexadecimal function and ASCII function in Perl Bassam Programming 1 06-03-2004 02:44 AM
A main can be changed by a function local without passing anything to the function? ananthbv Programming 10 05-04-2004 02:31 PM
Is the wait function is the same as the sleep function ? Linh Programming 3 04-28-2004 01:39 PM
Perl exec function in linux (and system-function) nazula Programming 1 04-19-2004 01:21 PM

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration