Xymon Mailing List Archive search

xymon gmake on Solaris 10

3 messages in this thread

list Anthony D Vaccaro · Tue, 21 Sep 2010 08:51:11 -0400 ·
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
../lib/hobbitclient.a(timefunc-client.o)
ld: fatal: Symbol referencing errors. No output written to
../client/hobbitd_cli  ent
collect2: ld returned 1 exit status
gmake[1]: *** [../client/hobbitd_client] Error 1
gmake[1]: Leaving directory `/home/xymon/xymon-4.2.3/hobbitd'
gmake: *** [hobbitd-client] Error 2
#
 
 
Anthony D Vaccaro
Produban US

Mail Code: 11-900-PB3
XXXX Berkshire Boulevard
Wyomissing, PA XXXXX
Tel: XXX-XXX-XXXX (659025)
Fax: XXX-XXX-XXXX
user-90da11c83155@xymon.invalid
list Tom Moore · Tue, 21 Sep 2010 17:24:57 +0000 ·
http://lmgtfy.com/?q=clock_gettime+xymon

:)
quoted from Anthony D Vaccaro


From: Vaccaro, Anthony D [mailto:user-90da11c83155@xymon.invalid]
Sent: Tuesday, September 21, 2010 8:51 AM
To: xymon at xymon.com
Subject: [xymon] xymon gmake on Solaris 10

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                       ../lib/hobbitclient.a(timefunc-client.o)
ld: fatal: Symbol referencing errors. No output written to ../client/hobbitd_cli  ent
collect2: ld returned 1 exit status
gmake[1]: *** [../client/hobbitd_client] Error 1
gmake[1]: Leaving directory `/home/xymon/xymon-4.2.3/hobbitd'
gmake: *** [hobbitd-client] Error 2
#

[Produban | Santander]
quoted from Anthony D Vaccaro
Anthony D Vaccaro
Produban US
Mail Code: 11-900-PB3
XXXX Berkshire Boulevard
Wyomissing, PA XXXXX
Tel: XXX-XXX-XXXX (659025)
Fax: XXX-XXX-XXXX

user-90da11c83155@xymon.invalid<mailto:user-90da11c83155@xymon.invalid>
list Henrik Størner · Thu, 23 Sep 2010 12:06:11 +0000 (UTC) ·
quoted from Tom Moore
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