Thanks a lot for your info and corrections. The answer from Mark was:
These functions seem to be implemented in a separate library called
"librt" for some reason. Adding the "-lrt" flag to gcc's command
line made your program build for me. -- from Mark (Thanks again)
From: Randy.Dunlap [mailto:email@example.com]
Sent: Tuesday, April 08, 2003 4:23 PM
To: Charlie Liu
Subject: Re: clock_gettime() problem
On Tue, 8 Apr 2003 16:20:23 -0700 "Charlie Liu" <firstname.lastname@example.org>
| Any better mailing list you can point out for me so that I can post
| question(s) in future?
| Thanks for Mark's reply which fixed my problem.
Oh, and what was that answer... I missed it.
| Linux 2.4.* does not implement the clock_gettime() syscall.
| Patches for 2.4 POSIX clocks and timers are available at
There's a mailing list at that URL above, or use
- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:01 EST