<br><br><div class="gmail_quote">On Tue, Feb 17, 2009 at 2:53 PM, Wendell Turner <span dir="ltr"><<a href="mailto:wendell@enflight.com">wendell@enflight.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Feb 17, 2009 at 12:37:14PM +0100, Juan Ramon Martin Blanco wrote:<br>
><br>
> [...]<br>
> ../lib/hobbitclient.a(timefunc-client.o): In function `gettimer':<br>
> /tmp/xymon-4.2.3-RC1/lib/timefunc.c:55: undefined reference to<br>
> `clock_gettime'<br>
> ../lib/hobbitclient.a(timefunc-client.o): In function `getntimer':<br>
> /tmp/xymon-4.2.3-RC1/lib/timefunc.c:67: undefined reference to<br>
> `clock_gettime'<br>
> collect2: ld devolvió el estado de salida 1<br>
> make[1]: *** [setup-newfiles] Error 1<br>
> make[1]: se sale del directorio `/tmp/xymon-4.2.3-RC1/build'<br>
> make: *** [build-build] Error 2<br>
><br>
> Any clue on how to solve it? It seems to be a problem with includes (that<br>
> function is in /usr/include/time.h)<br>
<br>
</div>CentOS5 client had the same problem.  Adding this to the<br>
Makefile solved it:<br>
<br>
    # clock_gettime() settings<br>
    LIBRTDEF = -lrt<br>
</blockquote><div>Thanks Wendell, but that does not work for me.<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
(similar to the Makefile for the server).<br>
<br>
Wendell<br>
<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</blockquote></div><br>