Thanks, Victor, Mark had given me the same hint and I had the problem solved then. Again, thanks for your answer. BR, Charlie X. Liu -----Original Message----- From: Victor Arambula [mailto:varambula@cox.net] Sent: Sunday, August 15, 2004 12:52 AM To: charlie@sensoray.com Subject: Re: clock_gettime() problem I just ran into your question regarding the use of clock_gettime. In case you did not get a good answer, let me add something. In addition to including time.h, when you build (link) your code, you must also link the library rt to your final target, i.e., use the -lrt to your make. Victor Arambula - : 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