[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] xymon on susue




Hi !

Maybe this one

http://www.hswn.dk/hobbiton/2009/04/msg00103.html



LIBRTDEF = -lrt

Makefile workaround does not work.

What DOES work is this:

[root (at) challenger xymon-4.2.3]# LIBRTDEF=-lrt
[root (at) challenger xymon-4.2.3]# export LIBRTDEF



It's for RHEL and xymon-4.2.3  but the error messages are the same ...

cheers,
	martin

On Tue, 2 Feb 2010, Sabeer MZ wrote:

Dear all,

I would like to install xymon client on my suse linux server, i get below
error while i try to make the build.

xymon (at) cauvery:/etc> cat SuSE-release
openSUSE 11.1 (i586)
VERSION = 11.1


xymon (at) cauvery:~/xymon-4.3.0-beta1> make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -DCLIENTONLY=1"
LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="" SSLFLAGS=""
SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="" BBTOPDIR="/home/xymon"
BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="202.138.100.4" BBHOSTOS=""
LOCALCLIENT="no" make -C lib client
make[1]: Entering directory `/home/xymon/xymon-4.3.0-beta1/lib'
make[1]: Nothing to be done for `client'.
make[1]: Leaving directory `/home/xymon/xymon-4.3.0-beta1/lib'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -DCLIENTONLY=1"
LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLFLAGS="" SSLINCDIR="" SSLLIBS=""
NETLIBS="" LIBRTDEF="" BBHOME="/home/xymon/client" make -C common client
make[1]: Entering directory `/home/xymon/xymon-4.3.0-beta1/common'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/xymon/xymon-4.3.0-beta1/include
-DCLIENTONLY=1 -o ../client/bb bb.o ../lib/hobbitclient.a
../lib/hobbitclient.a(timefunc-client.o): In function `getntimer':
/home/xymon/xymon-4.3.0-beta1/lib/timefunc.c:67: undefined reference to
`clock_gettime'
../lib/hobbitclient.a(timefunc-client.o): In function `gettimer':
/home/xymon/xymon-4.3.0-beta1/lib/timefunc.c:55: undefined reference to
`clock_gettime'
collect2: ld returned 1 exit status
make[1]: *** [../client/bb] Error 1
make[1]: Leaving directory `/home/xymon/xymon-4.3.0-beta1/common'
make: *** [common-client] Error 2
xymon (at) cauvery:~/xymon-4.3.0-beta1>



--
Thanks
Sabeer MZ | szubair (at) icalibrator.com
TVM +91 9446057491