Xymon Mailing List Archive search

xymon gmake on Solaris 10

list Henrik Størner
Thu, 23 Sep 2010 12:06:11 +0000 (UTC)
Message-Id: <i7ffrj$dcr$user-0592e4326c92@xymon.invalid>

In <user-b20838627b1d@xymon.invalid> "Vaccaro, Anthony D" <user-90da11c83155@xymon.invalid> writes:
I have seen many hits on the web from people who are experiencing xymon
client build issues on solaris 10 sparc and x86, but haven't seen a
resolution...

Can you help?

gmake[1]: Entering directory `/home/xymon/xymon-4.2.3/hobbitd'
gcc -o ../client/hobbitd_client  hobbitd_client.o    hobbitd_worker.o
hobbitd_bu  ffer.o client_config.o ../lib/hobbitclient.a
-L/usr/local/lib -lpcre -lresolv -l  socket -lnsl
Undefined                       first referenced
symbol                             in file
clock_gettime

"clock_gettime" is located in the "librt" library. So that
commandline should have included a "-lrt" option along
with the others. Normally this happens when you have 
  LIBRTDEF = -lrt
in the top-level Makefile. The configure script should add 
this automatically, but apparently it doesn't on Solaris 10.


Regards,
Henrik