[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] RHEL5 client compilation error (xymon-4.2.3-RC1)
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] RHEL5 client compilation error (xymon-4.2.3-RC1)
- From: Juan Ramon Martin Blanco <robejrm (at) gmail.com>
- Date: Tue, 17 Feb 2009 15:02:19 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=bO4X8rToYeDYPskyqNGxhEfhSqWLrLc60z8sfqNivbU=; b=XOFPXvFug9RUzMz5WngTiNOc6pXlHdiccRm5cnBPXd0tYHWMNArB4nixl1frOvn33A HYtNUeYJFVKNuf2kuARVsEXB3OlCbm4lg04t+FwmzuZ5eX8IB2jBng+1t1kuN61FhcWc BlcEbbfJZYfYAmmUnN9rcqEvq77bPuqxJHp9g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=n6V3s40YFjufwN2mJTNHXGvEZiyWTpFm86SLBhGsPPJ94M72aGVEEctYCaaUkQH4Yw ysazBNoFf0GrLB76plf7iKM0h71/TLqQf7HJ/m2BC2PNkYVrZcTSKtLaDQdKZuli938u 9zRLGRhWZ1UD1EoEIddVXUENhWEZTRfEJ6Y4A=
- References: <8a5668960902170337y15e3bd74i5b5f5d9fd722e5ad (at) mail.gmail.com> <20090217135308.GA1618 (at) q.rho.net>
On Tue, Feb 17, 2009 at 2:53 PM, Wendell Turner <wendell (at) enflight.com>wrote:
> On Tue, Feb 17, 2009 at 12:37:14PM +0100, Juan Ramon Martin Blanco wrote:
> >
> > [...]
> > ../lib/hobbitclient.a(timefunc-client.o): In function `gettimer':
> > /tmp/xymon-4.2.3-RC1/lib/timefunc.c:55: undefined reference to
> > `clock_gettime'
> > ../lib/hobbitclient.a(timefunc-client.o): In function `getntimer':
> > /tmp/xymon-4.2.3-RC1/lib/timefunc.c:67: undefined reference to
> > `clock_gettime'
> > collect2: ld devolvió el estado de salida 1
> > make[1]: *** [setup-newfiles] Error 1
> > make[1]: se sale del directorio `/tmp/xymon-4.2.3-RC1/build'
> > make: *** [build-build] Error 2
> >
> > Any clue on how to solve it? It seems to be a problem with includes (that
> > function is in /usr/include/time.h)
>
> CentOS5 client had the same problem. Adding this to the
> Makefile solved it:
>
> # clock_gettime() settings
> LIBRTDEF = -lrt
>
Thanks Wendell, but that does not work for me.
> (similar to the Makefile for the server).
>
> Wendell
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>