[Xymon] xymon 3.0 client - failing to compile on solaris 8

Asif Iqbal vadud3 at gmail.com
Sun Mar 13 21:11:22 CET 2011


gmake -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 function `xmh_item_id':
loadhosts.c:625: warning: return discards qualifiers from pointer target type
msort.c: In function `msort':
msort.c:119: warning: passing arg 4 of `qsort' from incompatible pointer type
sendmsg.c: In function `sendtoxymond':
sendmsg.c:138: warning: 'sockfd' might be used uninitialized in this function
stackio.c: In function `stackfgets':
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 function `timespec_text':
timefunc.c:147: warning: passing arg 2 of `getescapestring' 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
gmake[1]: *** [setup-newfiles] Error 1
gmake: *** [build-build] Error 2


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



More information about the Xymon mailing list