The problem is certainly a Solaris vs Xymon code.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Tue, Apr 26, 2011 at 3:58 PM, KING, KEVIN (ATTSI) <KK1051 at att.com> wrote:
And I followed this to the "T"
Installation
Building the client package requires a working C compiler and GNU make on the target platform. None of the extra libraries needed for building Xymon are used by the client - so a plain C compiler installation with GNU make is all that is needed.
To build the client:
- create a "xymon" userid on the system (not required, but recommended). - extract the Xymon source archive - cd to the xymon-X.X directory - run "./configure --client; make" - as root, run "make install"The client installation is kept entirely within the "xymon" users' home-directory. All client-related files are in the ~xymon/client/ directory. If convenient, this directory can be copied directly to other systems of the same type, so you need not build the client from source on all systems.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of KING, KEVIN (ATTSI) Sent: Tuesday, April 26, 2011 3:49 PM To: xymon at xymon.com Subject: [Xymon] errors compiling client on Solaris 8
And Ideas?
Configuration complete - now run make -s (GNU make) to build the tools xymon->make -s Checking for socklen_t Checking for snprintf Checking for vsnprintf Checking for rpc/rpcent.h Checking for sys/select.h Checking for u_int32_t typedef Checking for PATH_MAX definition Checking for SHUT_RD/WR/RDWR definitions Checking for strtoll() config.h created loadhosts.c: In function
xmh_find_item': loadhosts.c:226: warning: return discards qualifiers from pointer target type loadhosts.c: In functionxmh_item_id': loadhosts.c:625: warning: return discards qualifiers from pointer target type msort.c: In functionmsort': msort.c:119: warning: passing arg 4 ofqsort' from incompatible pointer type sendmsg.c: In functionsendtoxymond': sendmsg.c:138: warning: 'sockfd' might be used uninitialized in this function stackio.c: In functionstackfgets': stackio.c:424: warning: 'eolchar' might be used uninitialized in this function stackio.c:440: warning: 'eolchar' might be used uninitialized in this function timefunc.c: In functiontimespec_text': timefunc.c:147: warning: passing arg 2 ofgetescapestring' from incompatible pointer type timefunc.c:126: warning: 'days' might be used uninitialized in this function timefunc.c:126: warning: 'starttime' might be used uninitialized in this function timefunc.c:126: warning: 'endtime' might be used uninitialized in this function timefunc.c:126: warning: 'columns' might be used uninitialized in this function Undefined first referenced symbol in file main /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.6/crt1.o ld: fatal: Symbol referencing errors. No output written to setup-newfiles collect2: ld returned 1 exit status make[1]: *** [setup-newfiles] Error 1 make: *** [build-build] Error 2Kevin H. King Engineer V Implementations AT&T 404-444-0410 "You can not please everyone everyday, But everyday please everyone you can" -me
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon