[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Client bug on made
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Client bug on made
- From: Henrik =?unknown-8bit?q?St=C3=B8rner?= <henrik (at) hswn.dk>
- Date: Thu, 26 Feb 2009 10:50:01 +0100
- References: <auto-001027336325 (at) mailfe12.swip.net>
- User-agent: Mutt/1.5.18 (2008-05-17)
On Sun, Feb 22, 2009 at 04:43:56PM +0100, Hess Quentin 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'
I had hoped that 4.2.3 was going to be the last 4.2.x release, but
apparently Mr. Murphy thought otherwise. I guess it was just hubris
to state that publicly ...
The quick fix with the LIBRTDEF setting is the correct fix, but
the configuration script for the client-only build should set
that up automatically. The attached patch does that, and will
(hopefully) be the only change in the 4.2.4 release.
Regards,
Henrik
Index: configure.client
===================================================================
--- configure.client (revision 6161)
+++ configure.client (working copy)
@@ -62,6 +62,9 @@
fi
echo ""; echo ""
+MAKE="$MAKE -s" . ./build/clock-gettime-librt.sh
+echo ""; echo ""
+
echo "What userid will be running Xymon [xymon] ?"
if test -z "$BBUSER"
then
@@ -164,6 +167,7 @@
echo "BBHOSTIP = $BBHOSTIP" >>Makefile
echo "# Large File Support settings" >>Makefile
echo "LFSDEF = $LFS" >>Makefile
+echo "LIBRTDEF = $LIBRTDEF" >>Makefile
echo "" >>Makefile
if test -r build/Makefile.`uname -s`