Xymon Mailing List Archive search

Problem running make

3 messages in this thread

list Paul Duff · Fri, 20 Feb 2009 10:42:20 +1100 ·
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
list Henrik Størner · Thu, 26 Feb 2009 10:39:19 +0100 ·
quoted from Paul Duff
On Fri, Feb 20, 2009 at 10:42:20AM +1100, user-94a463d2e3cd@xymon.invalid 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
list Paul Duff · Fri, 13 Mar 2009 09:31:48 +1100 ·
Henrik,
    Thanks for the reply. I ran the "configure" script from the 4.3.0
beat source and did not copy it from an older installation (This is my
first install of xymon). Any suggestions on what to try next?

Regards
Paul
quoted from Henrik Størner


On Fri, Feb 20, 2009 at 10:42:20AM +1100, user-94a463d2e3cd@xymon.invalid 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