RE: clock_gettime() problem

From: Charlie Liu (charlie@sensoray.com)
Date: Tue Apr 08 2003 - 18:40:37 EST


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)

--CH

-----Original Message-----
From: Randy.Dunlap [mailto:rddunlap@osdl.org]
Sent: Tuesday, April 08, 2003 4:23 PM
To: Charlie Liu
Cc: linux-net@vger.kernel.org
Subject: Re: clock_gettime() problem

On Tue, 8 Apr 2003 16:20:23 -0700 "Charlie Liu" <charlie@sensoray.com>
wrote:

| Any better mailing list you can point out for me so that I can post
similar
| 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
| http://sourceforge.net/projects/high-res-timers/

There's a mailing list at that URL above, or use
  linux-kernel@vger.kernel.org

--
~Randy

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org 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