Problem running make
paulduff at tpg.com.au
paulduff at tpg.com.au
Fri Feb 20 00:42:20 CET 2009
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.
-I`pwd`/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
More information about the Xymon
mailing list