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 <user-95807d1e891c@xymon.invalid> 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 <user-e984f1f2dc5c@xymon.invalid>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,