Hi, I am having some more trouble on my Solaris 10 server. After having several issues with rrdtool, I was able to successfully run the ./configure. I them ran make (GNU make 3.81) and hit the following error.
bbmons01 /prod/tmp/xymon-4.3.0-beta1:> make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-Ipwd/include -I/usr/local/include" LDFLAGS="" OSDEF="-DSunOS"
RPATHOPT="-Wl,-R/usr/local/rrdtool-1.2.19/lib -Wl,-R/usr/local/lib
-Wl,-R/usr/local/lib -Wl,-R/usr/lib" PCREINCDIR="-I/usr/local/include"
SSLFLAGS="-DHAVE_OPENSSL=1" SSLINCDIR="-I/usr/local/include "
SSLLIBS="-L/usr/local/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket
-lnsl" LIBRTDEF="" BBTOPDIR="/prod/vendor/xymon"
BBLOGDIR="/var/log/xymon" BBHOSTNAME="bbmons01.x.x.x" BBHOSTIP="x.x.x.x"
BBHOSTOS="sunos" make -C lib all
make[1]: Entering directory /prod/tmp/xymon-4.3.0-beta1/lib' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/prod/tmp/xymon-4.3.0-beta1/include -I/usr/local/include -I. -I../include -DSTANDALONE -o loadhosts loadhosts.c ./libbbgen.a loadhosts.c: In function bbh_find_item':
loadhosts.c:228: warning: return discards qualifiers from pointer target
type
loadhosts.c: In function bbh_item_id': loadhosts.c:619: warning: return discards qualifiers from pointer target type Undefined first referenced symbol in file clock_gettime ./libbbgen.a(timefunc.o) ld: fatal: Symbol referencing errors. No output written to loadhosts collect2: ld returned 1 exit status make[1]: *** [loadhosts] Error 1 make[1]: Leaving directory /prod/tmp/xymon-4.3.0-beta1/lib'
make: *** [lib-build] Error 2
bbmons01 /prod/tmp/xymon-4.3.0-beta1:>
I have tried to research this error, but to no luck.
Any suggestions.
Thanks Paul
On Fri, Feb 20, 2009 at 10:42:20AM +1100, paulduff at tpg.com.au wrote:
Hi, I am having some more trouble on my Solaris 10 server. After having several issues with rrdtool, I was able to successfully run the ./configure. I them ran make (GNU make 3.81) and hit the following error.
Your Makefile should have a line with LIBRTDEF="-lrt" but the "make" output indicates this is not the case. Did you run the "configure" script on the 4.3.0 beta source to create the Makefile, or did you copy it over from an older (4.2.x) installation ?
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
paulduff@tpg.com.au