[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Client bug on made



I followed a suggested fix in another thread (RHEL5 client compilation error
xymon-4.2.3-RC1) on this list which fixed the compilation error.

Add the following to the Makefile after you run ./configure --client:
# clock_gettime() settings
LIBRTDEF = -lrt

I've installed the client on a few test boxes and it appears to be working
normally, I'm hoping Henrik will chime in to verify this is an adequate fix?

--
Brian Majeska


On Tue, Feb 24, 2009 at 3:17 PM, Brian Majeska <brian (at) majeska.net> wrote:

> I have the same problem on RHEL 5.1  xymon-4.2.3 --client compile
>
> --
> Brian Majeska
>
>
>
> On Sun, Feb 22, 2009 at 7:43 AM, Hess Quentin <hessquentin (at) gmail.com>wrote:
>
>>  Version : xymon-4.2.3
>>
>> When I install Xymon client from sources, the make step crash on following
>> messages:
>>
>>
>>
>> ../lib/hobbitclient.a(timefunc-client.o): In function `getntimer':
>>
>> /usr/src/xymon-4.2.3/lib/timefunc.c:67: undefined reference to
>> `clock_gettime'
>>
>> ../lib/hobbitclient.a(timefunc-client.o): In function `gettimer':
>>
>> /usr/src/xymon-4.2.3/lib/timefunc.c:55: undefined reference to
>> `clock_gettime'
>>
>> collect2: ld returned 1 exit status
>>
>> make[1]: *** [../client/bb] Error 1
>>
>> make[1]: Leaving directory `/usr/src/xymon-4.2.3/common'
>>
>> make: *** [common-client] Error 2
>>
>>
>>
>> Bests regards,
>>
>
>