Henrik, Thank you very much for taking the time to reply. I'm afraid I still get the error using the new configure.client.
I did notice the clock_gettime() output in the configure script this time around though: Checking for clock_gettime() requiring librt ... clock_gettime() not present, but this should be OK
Here is the error output after the gmake -s:
loadhosts.c: In function 'bbh_item_id': loadhosts.c:523: warning: return discards qualifiers from pointer target type sendmsg.c: In function 'sendtobbd': sendmsg.c:324: warning: passing argument 5 of 'getsockopt' from incompatible pointer type timefunc.c: In function 'gettimer': timefunc.c:55: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) timefunc.c:55: error: (Each undeclared identifier is reported only once timefunc.c:55: error: for each function it appears in.) timefunc.c: In function 'getntimer': timefunc.c:67: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) gmake[1]: *** [timefunc-client.o] Error 1 gmake: *** [lib-client] Error 2
Also, to be safe I wiped away the entire build directory and untarred a fresh xymon-4.2.3.tar file, so it definitely was a clean slate.
I will see if I can come up with a workaround and I'll post it if I find one.
Thanks again! -----Original Message----- From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Thursday, April 23, 2009 9:32 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Xymon 4.2.3 Compile Issues HP-UX 11.31 CLOCK_MONOTONIC
In <345520A34347BA49B798F70B218ACD1306B49C20F7 at MERCMBX14.na.sas.com> John Browning <John.Browning at sas.com> writes:
I'm compiling a 4.2.3 client binary for HP-UX 11.31 and am receiving the fo= llowing error:
mefunc-client.o timefunc.c timefunc.c: In function 'gettimer': timefunc.c:55: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
I believe this has been fixed in the update for the client configuration script which you can find at http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/branches/4.2.4/configu...
Download this file and copy it on top of the "configure.client" file, then run "make distclean" and start over with the configure-make-make install cycle. It should hopefully work.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk