<p>Where would I put this?</p>
<div class="gmail_quote">On Dec 21, 2010 8:22 AM, "Xymon User in Richmond" <<a href="mailto:hobbit@epperson.homelinux.net">hobbit@epperson.homelinux.net</a>> wrote:<br type="attribution">> Usually clock_gettime undefined refs are solved by LDADD=-lrt.<br>
> <br>> On Tue, December 21, 2010 02:51, Ryan Novosielski wrote:<br>>> I just Google'd for this question this very afternoon. There is one<br>>> environment variable you need to set prior to compiling (LIBDEF=-lrt<br>
>> maybe? Close, if not exact). See what you find.<br>>><br>>> -- Sent from my Palm Pre On Dec 20, 2010 21:40, Josh Luthman<br>>> &<a href="mailto:lt%3Bjosh@imaginenetworksllc.com">lt;josh@imaginenetworksllc.com</a>&gt; wrote:<br>
>><br>>> I can compile 4.2.2 just fine.  4.2.3 gives me this:<br>>><br>>><br>>><br>>> # make<br>>><br>>> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT<br>
>><br>>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include<br>>><br>>> -DCLIENTONLY=1" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath="<br>
>><br>>> PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS=""<br>>><br>>> LIBRTDEF="" BBTOPDIR="/home/shire" BBLOGDIR="" BBHOSTNAME=""<br>
>><br>>> BBHOSTIP="192.168.21.188" BBHOSTOS="" LOCALCLIENT="no" make -C lib<br>>><br>>> client<br>>><br>>> make[1]: Entering directory `/home/shire/xymon-4.2.3/lib'<br>
>><br>>> make[1]: Nothing to be done for `client'.<br>>><br>>> make[1]: Leaving directory `/home/shire/xymon-4.2.3/lib'<br>>><br>>> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT<br>
>><br>>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include<br>>><br>>> -DCLIENTONLY=1" LDFLAGS="" RPATHOPT="-Wl,--rpath=" SSLFLAGS=""<br>>><br>
>> SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF=""<br>>><br>>> BBHOME="/home/shire/client" make -C common client<br>>><br>>> make[1]: Entering directory `/home/shire/xymon-4.2.3/common'<br>
>><br>>> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE<br>>><br>>> -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/shire/xymon-4.2.3/include<br>>><br>>> -DCLIENTONLY=1 -o ../client/bb bb.o ../lib/hobbitclient.a<br>
>><br>>> ../lib/hobbitclient.a(timefunc-client.o): In function `getntimer':<br>>><br>>> /home/shire/xymon-4.2.3/lib/timefunc.c:67: undefined reference to<br>>><br>>> `clock_gettime'<br>
>><br>>> ../lib/hobbitclient.a(timefunc-client.o): In function `gettimer':<br>>><br>>> /home/shire/xymon-4.2.3/lib/timefunc.c:55: undefined reference to<br>>><br>>> `clock_gettime'<br>
>><br>>> collect2: ld returned 1 exit status<br>>><br>>> make[1]: *** [../client/bb] Error 1<br>>><br>>> make[1]: Leaving directory `/home/shire/xymon-4.2.3/common'<br>>><br>>> make: *** [common-client] Error 2<br>
>><br>>><br>>><br>>> Not sure what else I can offer to help, but if you need anything let me<br>>> know.<br>>><br>>><br>>><br>>> Josh Luthman<br>>><br>>> Office: 937-552-2340<br>
>><br>>> Direct: 937-552-2343<br>>><br>>> 1100 Wayne St<br>>><br>>> Suite 1337<br>>><br>>> Troy, OH 45373<br>>><br>>><br>>><br>>> To unsubscribe from the xymon list, send an e-mail to<br>
>><br>>> <a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>> <br>> <br>> <br>> To unsubscribe from the xymon list, send an e-mail to<br>
> <a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>> <br>> <br></div>