Re: compilation error clockspeed

Daniel Biddle <[email protected]> Tue, 19 Nov 2002 10:40:39 +0000
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
On Mon, Nov 18, 2002 at 10:24:13PM -0800, np rpr wrote:
> Hi,
> I am using clockspeed for the very first time.
> 
> First of all does it work on Linux?

Yes, if you have a Pentium or compatible with RDTSC tick counter.

> I am trying to compile it on RH7.2 (2.4.7-4). When I
> do make, I am getting the following error:
[...]
> in clockview.c in print:
> clockview.c:24 deferencing pointer to incomplete type
> clockview.c:26 deferencing pointer to incomplete type
> clockview.c:28 deferencing pointer to incomplete type

Add "#include <time.h>" to the top of clockview.c.

-- 
Daniel Biddle