Schillaci wrote:
>
> Hi all,
>
> I tried to compile heartbeat 0.4.9 in my redhat7.1 machine which has kernel
> 2.2.19 and gcc 2.96. But it exited with the following error.
>
> expect.c: In function `ExpectToken':
> expect.c:64: `CLK_TCK' undeclared (first use in this function)
>
> So included the header file time.h to the files stonith/expect.c and
> heartbeat/hb_api.c . Now it compiled without any errors. Please educate me
> whether, what I did is right or not and it will not create any problem in
> future.
no this is routine. Presumably time.h has moved in different
versions of glibc.
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|