Add "locator.o" to CLIENTLIBOBJS in lib/Makefile,
Now you should be able to do a make.
Thank you!
Paul Gallegos
This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Garry, Dennis Sent: Tuesday, July 26, 2011 10:38 AM To: 'xymon at xymon.com' Subject: [Xymon] xymon-4.3.3 compile error need help
did export LIBRTDEF=-lrt
gmake[1]: Leaving directory `/home/xymon/xymon-4.3.3/build'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -Ipwd/include -DCLIENTONLY=1
-DLOCALCLIENT=1 -I/usr/local/include" LDFLAGS=""
RPATHOPT="-Wl,--rpath,/usr/local/lib" RRDDEF="" RRDINCDIR=""
PCREINCDIR="-I/usr/local/include" NETLIBS="" RRDLIBS=""
PCRELIBS="-L/usr/local/lib -lpcre" XYMONTOPDIR="/home/xymon"
XYMONHOME="/home/xymon/client" XYMONVAR="" XYMONLOGDIR="" XYMONHOSTNAME=""
XYMONHOSTIP="142.219.34.210" XYMONHOSTOS="" XYMONUSER="xymon" CGIDIR=""
SECURECGIDIR="" XYMONHOSTURL="" XYMONCGIURL="" SECUREXYMONCGIURL=""
MAILPROGRAM=""mail"" RUNTIMEDEFS="" INSTALLWWWDIR="/home/xymon/client/www"
INSTALLETCDIR="/home/xymon/client/etc" gmake -C xymond client
gmake[1]: Entering directory `/home/xymon/xymon-4.3.3/xymond'
gcc -o ../client/xymond_client -Wl,--rpath,/usr/local/lib xymond_client.o xymond_worker.o xymond_buffer.o client_config.o ../lib/xymonclient.a -L/usr/local/lib -lpcre -lrt
xymond_worker.o: In function `net_worker_run':
/home/xymon/xymon-4.3.3/xymond/xymond_worker.c:292: undefined reference to `locator_init'
/home/xymon/xymon-4.3.3/xymond/xymond_worker.c:298: undefined reference to `locator_register_server'
/home/xymon/xymon-4.3.3/xymond/xymond_worker.c:312: undefined reference to `locator_serverdown'
xymond_worker.o: In function `net_worker_heartbeat':
/home/xymon/xymon-4.3.3/xymond/xymond_worker.c:80: undefined reference to `locator_serverup'
xymond_worker.o: In function `net_worker_run':
/home/xymon/xymon-4.3.3/xymond/xymond_worker.c:317: undefined reference to `locator_serverdown'
collect2: ld returned 1 exit status
gmake[1]: *** [../client/xymond_client] Error 1
gmake[1]: Leaving directory `/home/xymon/xymon-4.3.3/xymond'
gmake: *** [xymond-client] Error 2
Dennis Garry
ICT, City of Coquitlam