xymon gmake on Solaris 10
list Anthony D Vaccaro
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
http://lmgtfy.com/?q=clock_gettime+xymon :)
▸
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]
▸
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
▸
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