+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PKG_APACHE=apache24 WRKLOG=/tmp/bulklog/xymon-4.3.30nb19/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PKG_APACHE=apache24 WRKLOG=/tmp/bulklog/xymon-4.3.30nb19/work.log ===> Building for xymon-4.3.30nb19 MAKE="/opt/pkg/bin/gmake" CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" `pwd`/build/genconfig.sh 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() Checking for uname Checking for setenv config.h created CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" OSDEF="-DSunOS" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" PCREINCDIR="-I/opt/pkg/include" ZLIBINCDIR="" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/opt/pkg/include" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="" XYMONTOPDIR="/opt/pkg/libexec/xymon" XYMONHOME="/opt/pkg/share/xymon/xymonhome" XYMONCLIENTHOME=/opt/pkg/share/xymon/xymonhome/client XYMONLOGDIR="/var/opt/pkg/log/xymon" XYMONHOSTNAME=""`uname -n`"" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="sunos" /opt/pkg/bin/gmake -C lib all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/lib' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -o test-endianness test-endianness.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o osdefs.o osdefs.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o acklog.o acklog.c acklog.c: In function 'do_acklog': acklog.c:120:34: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 120 | nldecode(ackmsg); p = strchr(ackmsg, '\n'); | ^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from acklog.c:28: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o availability.o availability.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o calc.o calc.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o cgi.o cgi.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o cgiurls.o cgiurls.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o clientlocal.o clientlocal.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o color.o color.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o crondate.o crondate.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o digest.o digest.c digest.c: In function 'md5hash': digest.c:40:34: warning: pointer targets in passing argument 2 of 'myMD5_Update' differ in signedness [-Wpointer-sign] 40 | myMD5_Update(ctx->mdctx, input, strlen(input)); | ^~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:86, from digest.c:20: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/md5.h:18:52: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void myMD5_Update(void *pms, unsigned char *data, int nbytes); | ~~~~~~~~~~~~~~~^~~~ digest.c: In function 'digest_done': digest.c:185:32: warning: pointer targets in passing argument 1 of 'mySHA512_Final' differ in signedness [-Wpointer-sign] 185 | mySHA512_Final(md_value, ctx->mdctx); | ^~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:96: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sha2.h:121:33: note: expected 'char *' but argument is of type 'unsigned char *' 121 | extern void mySHA512_Final(char md[20], void *c); | ~~~~~^~~~~~ digest.c:192:32: warning: pointer targets in passing argument 1 of 'mySHA256_Final' differ in signedness [-Wpointer-sign] 192 | mySHA256_Final(md_value, ctx->mdctx); | ^~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sha2.h:111:33: note: expected 'char *' but argument is of type 'unsigned char *' 111 | extern void mySHA256_Final(char md[20], void *c); | ~~~~~^~~~~~ digest.c:199:32: warning: pointer targets in passing argument 1 of 'mySHA384_Final' differ in signedness [-Wpointer-sign] 199 | mySHA384_Final(md_value, ctx->mdctx); | ^~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sha2.h:116:33: note: expected 'char *' but argument is of type 'unsigned char *' 116 | extern void mySHA384_Final(char md[20], void *c); | ~~~~~^~~~~~ digest.c:206:32: warning: pointer targets in passing argument 1 of 'mySHA224_Final' differ in signedness [-Wpointer-sign] 206 | mySHA224_Final(md_value, ctx->mdctx); | ^~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sha2.h:106:33: note: expected 'char *' but argument is of type 'unsigned char *' 106 | extern void mySHA224_Final(char md[20], void *c); | ~~~~~^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o encoding.o encoding.c encoding.c: In function 'base64encode': encoding.c:31:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 31 | result = malloc(4*(strlen(buf)/3 + 1) + 1); | ^~~ | | | unsigned char * In file included from /usr/include/string.h:35, from encoding.c:18: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ encoding.c:34:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 34 | while (strlen(inp) >= 3) { | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ encoding.c:50:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 50 | if (strlen(inp) == 1) { | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ encoding.c:60:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 60 | else if (strlen(inp) == 2) { | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ encoding.c:75:16: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 75 | return result; | ^~~~~~ encoding.c: In function 'base64decode': encoding.c:86:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 86 | int bytesleft = strlen(buf); | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ encoding.c:114:16: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 114 | return result; | ^~~~~~ encoding.c: In function 'getescapestring': encoding.c:125:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 125 | outp = *buf = malloc(strlen(msg)+1); | ^ encoding.c: In function 'nlencode': encoding.c:181:30: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 181 | if (msg == NULL) msg = ""; | ^ encoding.c:183:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 183 | maxneeded = 2*strlen(msg)+1; | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ encoding.c:187:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 187 | buf = (char *)malloc(bufsz); | ^ encoding.c:191:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 191 | buf = (char *)realloc(buf, bufsz); | ^ encoding.c:198:29: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign] 198 | n = strcspn(inp, "|\n\r\t\\"); | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:77:23: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | extern size_t strcspn(const char *, const char *); | ^~~~~~~~~~~~ encoding.c: In function 'nldecode': encoding.c:231:29: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign] 231 | n = strcspn(inp, "\\"); | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:77:23: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | extern size_t strcspn(const char *, const char *); | ^~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DXYMONTOPDIR=\"/opt/pkg/libexec/xymon\" -DXYMONLOGDIR=\"/var/opt/pkg/log/xymon\" -DXYMONHOSTNAME=\"pkgsrc-upstream-trunk\" -DXYMONHOSTIP=\"127.0.0.1\" -DXYMONHOSTOS=\"sunos\" -DXYMONHOME=\"/opt/pkg/share/xymon/xymonhome\" -c -o environ.o environ.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o errormsg.o errormsg.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -I/opt/pkg/include -c -o eventlog.o eventlog.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o files.o files.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -I/opt/pkg/include -c -o headfoot.o headfoot.c headfoot.c: In function 'output_parsed': headfoot.c:976:58: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 976 | nldecode(dismsg); | ^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from headfoot.c:27: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ headfoot.c:1130:58: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 1130 | nldecode(cmd); | ^~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o xymonrrd.o xymonrrd.c xymonrrd.c: In function 'rrd_setup.part.0': xymonrrd.c:87:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 87 | strncpy(tcptests, services, tcptests_buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99, from xymonrrd.c:23: xymonrrd.c:84:31: note: length computed here 84 | SBUF_MALLOC(tcptests, strlen(services)+1); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:34:51: note: in definition of macro 'SBUF_MALLOC' 34 | #define SBUF_MALLOC(NAME, LEN) { NAME##_buflen = (LEN); NAME = (char *)malloc((LEN)+1); } | ^~~ In function 'xymon_graph_text', inlined from 'xymon_graph_data' at xymonrrd.c:323:9: xymonrrd.c:244:17: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 244 | strncpy(rrdservicename, graphdef->xymonrrdname, sizeof(rrdservicename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o holidays.o holidays.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o htmllog.o htmllog.c htmllog.c: In function 'generate_html_log': htmllog.c:279:26: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 279 | nldecode(acklist); | ^~~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from htmllog.c:26: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ htmllog.c:353:34: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 353 | nldecode(modifiers); | ^~~~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o ipaccess.o ipaccess.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -I/opt/pkg/include -c -o loadalerts.o loadalerts.c loadalerts.c: In function 'print_alert_recipients': loadalerts.c:1220:96: warning: 'strncat' specified bound 25 equals destination size [-Wstringop-overflow=] 1220 | if (recip->noalerts) { if (*codes) strncat(codes, ",A", codes_bytesleft); else strncat(codes, "-A", codes_bytesleft); codes_bytesleft -= 2; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadalerts.c:1220:52: warning: 'strncat' specified bound 25 equals destination size [-Wstringop-overflow=] 1220 | if (recip->noalerts) { if (*codes) strncat(codes, ",A", codes_bytesleft); else strncat(codes, "-A", codes_bytesleft); codes_bytesleft -= 2; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadalerts.c: In function 'load_alertconfig': loadalerts.c:207:23: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 207 | if (configfn) strncpy(fn, configfn, sizeof(fn)); else snprintf(fn, sizeof(fn), "%s/etc/alerts.cfg", xgetenv("XYMONHOME")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o loadcriticalconf.o loadcriticalconf.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o links.o links.c links.c: In function 'load_all_links': links.c:143:17: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 143 | strncpy(dirname, xgetenv("XYMONNOTESDIR"), sizeof(dirname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ links.c:148:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 148 | strncpy(dirname, xgetenv("XYMONNOTESDIR"), sizeof(dirname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -I/opt/pkg/include -c -o matching.o matching.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o md5.o md5.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o memory.o memory.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o misc.o misc.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o msort.o msort.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o netservices.o netservices.c netservices.c:36:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 36 | { "ftp", "quit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER), 21 }, | ^~~~~~~~~~ netservices.c:36:22: note: (near initialization for 'default_svcinfo[0].sendtxt') netservices.c:36:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 36 | { "ftp", "quit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER), 21 }, | ^~~~~ netservices.c:36:63: note: (near initialization for 'default_svcinfo[0].exptext') netservices.c:37:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 37 | { "ssh", NULL, 0, "SSH", 0, 0, (TCP_GET_BANNER), 22 }, | ^~~~~ netservices.c:37:63: note: (near initialization for 'default_svcinfo[1].exptext') netservices.c:38:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 38 | { "ssh1", NULL, 0, "SSH", 0, 0, (TCP_GET_BANNER), 22 }, | ^~~~~ netservices.c:38:63: note: (near initialization for 'default_svcinfo[2].exptext') netservices.c:39:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 39 | { "ssh2", NULL, 0, "SSH", 0, 0, (TCP_GET_BANNER), 22 }, | ^~~~~ netservices.c:39:63: note: (near initialization for 'default_svcinfo[3].exptext') netservices.c:41:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 41 | { "smtp", "mail\r\nquit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER), 25 }, /* Send "MAIL" to avoid sendmail NOQUEUE logs */ | ^~~~~~~~~~~~~~~~~~ netservices.c:41:22: note: (near initialization for 'default_svcinfo[5].sendtxt') netservices.c:41:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 41 | { "smtp", "mail\r\nquit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER), 25 }, /* Send "MAIL" to avoid sendmail NOQUEUE logs */ | ^~~~~ netservices.c:41:63: note: (near initialization for 'default_svcinfo[5].exptext') netservices.c:42:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 42 | { "pop", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 }, | ^~~~~~~~~~ netservices.c:42:22: note: (near initialization for 'default_svcinfo[6].sendtxt') netservices.c:42:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 42 | { "pop", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 }, | ^~~~~ netservices.c:42:63: note: (near initialization for 'default_svcinfo[6].exptext') netservices.c:43:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 43 | { "pop2", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 109 }, | ^~~~~~~~~~ netservices.c:43:22: note: (near initialization for 'default_svcinfo[7].sendtxt') netservices.c:43:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 43 | { "pop2", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 109 }, | ^~~~~ netservices.c:43:63: note: (near initialization for 'default_svcinfo[7].exptext') netservices.c:44:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 44 | { "pop-2", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 109 }, | ^~~~~~~~~~ netservices.c:44:22: note: (near initialization for 'default_svcinfo[8].sendtxt') netservices.c:44:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 44 | { "pop-2", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 109 }, | ^~~~~ netservices.c:44:63: note: (near initialization for 'default_svcinfo[8].exptext') netservices.c:45:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 45 | { "pop3", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 }, | ^~~~~~~~~~ netservices.c:45:22: note: (near initialization for 'default_svcinfo[9].sendtxt') netservices.c:45:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 45 | { "pop3", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 }, | ^~~~~ netservices.c:45:63: note: (near initialization for 'default_svcinfo[9].exptext') netservices.c:46:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 46 | { "pop-3", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 }, | ^~~~~~~~~~ netservices.c:46:22: note: (near initialization for 'default_svcinfo[10].sendtxt') netservices.c:46:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 46 | { "pop-3", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 }, | ^~~~~ netservices.c:46:63: note: (near initialization for 'default_svcinfo[10].exptext') netservices.c:47:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 47 | { "imap", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 }, | ^~~~~~~~~~~~~~~~~~~ netservices.c:47:22: note: (near initialization for 'default_svcinfo[11].sendtxt') netservices.c:47:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 47 | { "imap", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 }, | ^~~~~~ netservices.c:47:63: note: (near initialization for 'default_svcinfo[11].exptext') netservices.c:48:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 48 | { "imap2", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 }, | ^~~~~~~~~~~~~~~~~~~ netservices.c:48:22: note: (near initialization for 'default_svcinfo[12].sendtxt') netservices.c:48:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 48 | { "imap2", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 }, | ^~~~~~ netservices.c:48:63: note: (near initialization for 'default_svcinfo[12].exptext') netservices.c:49:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 49 | { "imap3", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 220 }, | ^~~~~~~~~~~~~~~~~~~ netservices.c:49:22: note: (near initialization for 'default_svcinfo[13].sendtxt') netservices.c:49:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 49 | { "imap3", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 220 }, | ^~~~~~ netservices.c:49:63: note: (near initialization for 'default_svcinfo[13].exptext') netservices.c:50:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 50 | { "imap4", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 }, | ^~~~~~~~~~~~~~~~~~~ netservices.c:50:22: note: (near initialization for 'default_svcinfo[14].sendtxt') netservices.c:50:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 50 | { "imap4", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 }, | ^~~~~~ netservices.c:50:63: note: (near initialization for 'default_svcinfo[14].exptext') netservices.c:51:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 51 | { "nntp", "quit\r\n", 0, "200", 0, 0, (TCP_GET_BANNER), 119 }, | ^~~~~~~~~~ netservices.c:51:22: note: (near initialization for 'default_svcinfo[15].sendtxt') netservices.c:51:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 51 | { "nntp", "quit\r\n", 0, "200", 0, 0, (TCP_GET_BANNER), 119 }, | ^~~~~ netservices.c:51:63: note: (near initialization for 'default_svcinfo[15].exptext') netservices.c:53:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 53 | { "rsync", NULL, 0, "@RSYNCD",0, 0, (TCP_GET_BANNER), 873 }, | ^~~~~~~~~ netservices.c:53:63: note: (near initialization for 'default_svcinfo[17].exptext') netservices.c:54:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 54 | { "bbd", "dummy", 0, NULL, 0, 0, (0), 1984 }, | ^~~~~~~ netservices.c:54:22: note: (near initialization for 'default_svcinfo[18].sendtxt') netservices.c:55:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 55 | { "ftps", "quit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER|TCP_SSL), 990 }, | ^~~~~~~~~~ netservices.c:55:22: note: (near initialization for 'default_svcinfo[19].sendtxt') netservices.c:55:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 55 | { "ftps", "quit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER|TCP_SSL), 990 }, | ^~~~~ netservices.c:55:63: note: (near initialization for 'default_svcinfo[19].exptext') netservices.c:57:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 57 | { "smtps", "mail\r\nquit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER|TCP_SSL), 0 }, /* Non-standard - IANA */ | ^~~~~~~~~~~~~~~~~~ netservices.c:57:22: note: (near initialization for 'default_svcinfo[21].sendtxt') netservices.c:57:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 57 | { "smtps", "mail\r\nquit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER|TCP_SSL), 0 }, /* Non-standard - IANA */ | ^~~~~ netservices.c:57:63: note: (near initialization for 'default_svcinfo[21].exptext') netservices.c:58:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 58 | { "pop3s", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER|TCP_SSL), 995 }, | ^~~~~~~~~~ netservices.c:58:22: note: (near initialization for 'default_svcinfo[22].sendtxt') netservices.c:58:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 58 | { "pop3s", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER|TCP_SSL), 995 }, | ^~~~~ netservices.c:58:63: note: (near initialization for 'default_svcinfo[22].exptext') netservices.c:59:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 59 | { "imaps", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER|TCP_SSL), 993 }, | ^~~~~~~~~~~~~~~~~~~ netservices.c:59:22: note: (near initialization for 'default_svcinfo[23].sendtxt') netservices.c:59:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 59 | { "imaps", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER|TCP_SSL), 993 }, | ^~~~~~ netservices.c:59:63: note: (near initialization for 'default_svcinfo[23].exptext') netservices.c:60:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 60 | { "nntps", "quit\r\n", 0, "200", 0, 0, (TCP_GET_BANNER|TCP_SSL), 563 }, | ^~~~~~~~~~ netservices.c:60:22: note: (near initialization for 'default_svcinfo[24].sendtxt') netservices.c:60:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 60 | { "nntps", "quit\r\n", 0, "200", 0, 0, (TCP_GET_BANNER|TCP_SSL), 563 }, | ^~~~~ netservices.c:60:63: note: (near initialization for 'default_svcinfo[24].exptext') netservices.c:62:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 62 | { "clamd", "PING\r\n", 0, "PONG", 0, 0, (0), 3310 }, | ^~~~~~~~~~ netservices.c:62:22: note: (near initialization for 'default_svcinfo[26].sendtxt') netservices.c:62:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 62 | { "clamd", "PING\r\n", 0, "PONG", 0, 0, (0), 3310 }, | ^~~~~~ netservices.c:62:63: note: (near initialization for 'default_svcinfo[26].exptext') netservices.c:63:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 63 | { "vnc", "RFB 000.000\r\n", 0, "RFB ", 0, 0, (TCP_GET_BANNER), 5900 }, | ^~~~~~~~~~~~~~~~~ netservices.c:63:22: note: (near initialization for 'default_svcinfo[27].sendtxt') netservices.c:63:63: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 63 | { "vnc", "RFB 000.000\r\n", 0, "RFB ", 0, 0, (TCP_GET_BANNER), 5900 }, | ^~~~~~ netservices.c:63:63: note: (near initialization for 'default_svcinfo[27].exptext') netservices.c: In function 'binview': netservices.c:87:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 87 | if (buf && (buflen == 0)) buflen = strlen(buf); | ^~~ | | | unsigned char * In file included from /usr/include/string.h:35, from netservices.c:17: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ netservices.c:90:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 90 | for (inp=buf, i=0, outp=result; (irec->sendtxt = strdup(first->rec->sendtxt); | ~~~~~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ netservices.c:220:60: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 220 | walk->rec->sendtxt = strdup(first->rec->sendtxt); | ^ netservices.c:229:79: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 229 | walk->rec->exptext = strdup(first->rec->exptext); | ~~~~~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ netservices.c:229:60: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 229 | walk->rec->exptext = strdup(first->rec->exptext); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -I/opt/pkg/include -c -o notifylog.o notifylog.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -I/opt/pkg/include -c -o acknowledgementslog.o acknowledgementslog.c acknowledgementslog.c: In function 'do_acknowledgementslog': acknowledgementslog.c:225:25: warning: 'strncpy' specified bound 16384 equals destination size [-Wstringop-truncation] 225 | strncpy(svc,p+1, sizeof(svc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ acknowledgementslog.c:230:25: warning: 'strncpy' specified bound 16384 equals destination size [-Wstringop-truncation] 230 | strncpy(recipient,p+12, sizeof(recipient)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o readmib.o readmib.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o reportlog.o reportlog.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include `./test-endianness` -c -o rmd160c.o rmd160c.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include `./test-endianness` -c -o sha1.o sha1.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o sha2.o sha2.c sha2.c: In function 'mySHA224_Final': sha2.c:955:75: warning: pointer targets in passing argument 2 of 'sha224_final' differ in signedness [-Wpointer-sign] 955 | void mySHA224_Final(char md[20], void *c) { sha224_final((sha224_ctx *)c, md); } | ^~ | | | char * sha2.c:787:51: note: expected 'unsigned char *' but argument is of type 'char *' 787 | void sha224_final(sha224_ctx *ctx, unsigned char *digest) | ~~~~~~~~~~~~~~~^~~~~~ sha2.c: In function 'mySHA256_Final': sha2.c:960:75: warning: pointer targets in passing argument 2 of 'sha256_final' differ in signedness [-Wpointer-sign] 960 | void mySHA256_Final(char md[20], void *c) { sha256_final((sha256_ctx *)c, md); } | ^~ | | | char * sha2.c:388:51: note: expected 'unsigned char *' but argument is of type 'char *' 388 | void sha256_final(sha256_ctx *ctx, unsigned char *digest) | ~~~~~~~~~~~~~~~^~~~~~ sha2.c: In function 'mySHA384_Final': sha2.c:965:75: warning: pointer targets in passing argument 2 of 'sha384_final' differ in signedness [-Wpointer-sign] 965 | void mySHA384_Final(char md[20], void *c) { sha384_final((sha384_ctx *)c, md); } | ^~ | | | char * sha2.c:687:51: note: expected 'unsigned char *' but argument is of type 'char *' 687 | void sha384_final(sha384_ctx *ctx, unsigned char *digest) | ~~~~~~~~~~~~~~~^~~~~~ sha2.c: In function 'mySHA512_Final': sha2.c:970:75: warning: pointer targets in passing argument 2 of 'sha512_final' differ in signedness [-Wpointer-sign] 970 | void mySHA512_Final(char md[20], void *c) { sha512_final((sha512_ctx *)c, md); } | ^~ | | | char * sha2.c:585:51: note: expected 'unsigned char *' but argument is of type 'char *' 585 | void sha512_final(sha512_ctx *ctx, unsigned char *digest) | ~~~~~~~~~~~~~~~^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o sig.o sig.c sig.c: In function 'setup_signalhandler': sig.c:101:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 101 | strncpy(signal_xymoncmd, xgetenv("XYMON"), sizeof(signal_xymoncmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sig.c:102:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 102 | strncpy(signal_xymondserver, xgetenv("XYMSRV"), sizeof(signal_xymondserver)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sig.c:103:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 103 | strncpy(signal_tmpdir, xgetenv("XYMONTMP"), sizeof(signal_tmpdir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o stackio.o stackio.c stackio.c: In function 'addtofnlist': stackio.c:338:30: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 338 | if (*dirname == '/') strncpy(dirfn, dirname, sizeof(dirfn)); else snprintf(dirfn, sizeof(dirfn), "%s/%s", stackfd_base, dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackio.c: In function 'stackfopen': stackio.c:211:25: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 211 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackio.c:207:17: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 207 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o strfunc.o strfunc.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o suid.o suid.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o timefunc.o timefunc.c timefunc.c: In function 'timespec_text': timefunc.c:110:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 110 | cause = strdup("Planned downtime"); | ^ timefunc.c:161:45: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 161 | addtobuffer(result, cause); | ^~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99, from timefunc.c:24: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o tree.o tree.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o url.o url.c url.c: In function 'decode_url': url.c:629:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 629 | if (okstart) weburl->okcodes = strdup(okstart); | ^ url.c:630:50: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 630 | if (notokstart) weburl->badcodes = strdup(notokstart); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o webaccess.o webaccess.c ar cr libxymon.a osdefs.o acklog.o availability.o calc.o cgi.o cgiurls.o clientlocal.o color.o crondate.o digest.o encoding.o environ.o errormsg.o eventlog.o files.o headfoot.o xymonrrd.o holidays.o htmllog.o ipaccess.o loadalerts.o loadcriticalconf.o links.o matching.o md5.o memory.o misc.o msort.o netservices.o notifylog.o acknowledgementslog.o readmib.o reportlog.o rmd160c.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc.o tree.o url.o webaccess.o ranlib libxymon.a || echo "" gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -c -o loadhosts.o loadhosts.c loadhosts.c: In function 'xmh_item': loadhosts.c:595:56: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 595 | addtobuffer(rawtxt, nlencode(p)); | ^ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from loadhosts.c:25: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ loadhosts.c:595:47: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 595 | addtobuffer(rawtxt, nlencode(p)); | ^~~~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ In file included from loadhosts.c:349: loadhosts_net.c: In function 'load_hostinfo': loadhosts_net.c:95:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 95 | strncpy(hival_hostinfo.ip, hivals[XMH_IP], sizeof(hival_hostinfo.ip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from loadhosts.c:348: In function 'prepare_fromnet', inlined from 'load_hostnames' at loadhosts_file.c:142:16: loadhosts_file.c:113:9: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 113 | strncpy(contentmd5, fhash, sizeof(contentmd5)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadhosts_file.c: In function 'load_hostnames': loadhosts_file.c:332:72: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 14 [-Wformat-truncation=] 332 | snprintf(newitem->ip, sizeof(newitem->ip), "%d.%d.%d.%d", ip1, ip2, ip3, ip4); | ^~ loadhosts_file.c:332:68: note: directive argument in the range [0, 2147483647] 332 | snprintf(newitem->ip, sizeof(newitem->ip), "%d.%d.%d.%d", ip1, ip2, ip3, ip4); | ^~~~~~~~~~~~~ loadhosts_file.c:332:68: note: directive argument in the range [0, 2147483647] loadhosts_file.c:332:68: note: directive argument in the range [0, 2147483647] loadhosts_file.c:332:25: note: 'snprintf' output between 8 and 44 bytes into a destination of size 16 332 | snprintf(newitem->ip, sizeof(newitem->ip), "%d.%d.%d.%d", ip1, ip2, ip3, ip4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o locator.o locator.c locator.c: In function 'locator_cmd': locator.c:209:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 209 | strncpy(pingbuf, cmd, sizeof(pingbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o sendmsg.o sendmsg.c sendmsg.c: In function 'sendtomany': sendmsg.c:474:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 474 | for (i = 0; (multircptcmds[i] && strcmp(multircptcmds[i], msgcmd)); i++) ; | ^~~ In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:87, from sendmsg.c:44: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/memory.h:101:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 101 | #define xfree(P) { if ((P) == NULL) { errprintf(xfreenullstr); abort(); } free((P)); (P) = NULL; } | ^ sendmsg.c:475:17: note: in expansion of macro 'xfree' 475 | xfree(msgcmd); | ^~~~~ sendmsg.c: In function 'sendtoxymond': sendmsg.c:277:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 277 | strncpy(hostip, inet_ntoa(addr), sizeof(hostip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o xymond_ipc.o xymond_ipc.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o xymond_buffer.o xymond_buffer.c ar cr libxymoncomm.a osdefs.o acklog.o availability.o calc.o cgi.o cgiurls.o clientlocal.o color.o crondate.o digest.o encoding.o environ.o errormsg.o eventlog.o files.o headfoot.o xymonrrd.o holidays.o htmllog.o ipaccess.o loadalerts.o loadcriticalconf.o links.o matching.o md5.o memory.o misc.o msort.o netservices.o notifylog.o acknowledgementslog.o readmib.o reportlog.o rmd160c.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc.o tree.o url.o webaccess.o loadhosts.o locator.o sendmsg.o xymond_ipc.o xymond_buffer.o ranlib libxymoncomm.a || echo "" gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o run.o run.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -c -o timing.o timing.c ar cr libxymontime.a run.o timing.o ranlib libxymontime.a || echo "" ar cr libxymonclientcomm.a locator.o loadhosts.o sendmsg.o xymond_ipc.o xymond_buffer.o ranlib libxymonclientcomm.a || echo "" gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DCLIENTONLY -c -o color-client.o color.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DXYMONTOPDIR=\"/opt/pkg/libexec/xymon\" -DXYMONLOGDIR=\"/var/opt/pkg/log/xymon\" -DXYMONHOSTNAME=\"pkgsrc-upstream-trunk\" -DXYMONHOSTIP=\"127.0.0.1\" -DXYMONHOSTOS=\"sunos\" -DXYMONHOME=\"/opt/pkg/share/xymon/xymonhome/client\" -c -o environ-client.o environ.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DCLIENTONLY -c -o timefunc-client.o timefunc.c timefunc.c: In function 'timespec_text': timefunc.c:110:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 110 | cause = strdup("Planned downtime"); | ^ timefunc.c:161:45: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 161 | addtobuffer(result, cause); | ^~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99, from timefunc.c:24: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ ar cr libxymonclient.a osdefs.o cgiurls.o color-client.o crondate.o digest.o encoding.o environ-client.o errormsg.o holidays.o ipaccess.o md5.o memory.o misc.o msort.o rmd160c.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc-client.o tree.o ranlib libxymonclient.a || echo "" gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DSTANDALONE -o loadhosts loadhosts.c libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl loadhosts.c: In function 'xmh_item': loadhosts.c:595:56: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 595 | addtobuffer(rawtxt, nlencode(p)); | ^ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from loadhosts.c:25: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ loadhosts.c:595:47: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 595 | addtobuffer(rawtxt, nlencode(p)); | ^~~~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ In file included from loadhosts.c:349: loadhosts_net.c: In function 'load_hostinfo': loadhosts_net.c:95:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 95 | strncpy(hival_hostinfo.ip, hivals[XMH_IP], sizeof(hival_hostinfo.ip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from loadhosts.c:348: In function 'prepare_fromnet', inlined from 'load_hostnames' at loadhosts_file.c:142:16: loadhosts_file.c:113:9: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 113 | strncpy(contentmd5, fhash, sizeof(contentmd5)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadhosts_file.c: In function 'load_hostnames': loadhosts_file.c:332:72: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 5 and 14 [-Wformat-truncation=] 332 | snprintf(newitem->ip, sizeof(newitem->ip), "%d.%d.%d.%d", ip1, ip2, ip3, ip4); | ^~ loadhosts_file.c:332:68: note: directive argument in the range [0, 2147483647] 332 | snprintf(newitem->ip, sizeof(newitem->ip), "%d.%d.%d.%d", ip1, ip2, ip3, ip4); | ^~~~~~~~~~~~~ loadhosts_file.c:332:68: note: directive argument in the range [0, 2147483647] loadhosts_file.c:332:68: note: directive argument in the range [0, 2147483647] loadhosts_file.c:332:25: note: 'snprintf' output between 8 and 44 bytes into a destination of size 16 332 | snprintf(newitem->ip, sizeof(newitem->ip), "%d.%d.%d.%d", ip1, ip2, ip3, ip4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DSTANDALONE -o stackio stackio.c libxymon.a stackio.c: In function 'addtofnlist': stackio.c:338:30: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 338 | if (*dirname == '/') strncpy(dirfn, dirname, sizeof(dirfn)); else snprintf(dirfn, sizeof(dirfn), "%s/%s", stackfd_base, dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackio.c: In function 'stackfopen': stackio.c:211:25: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 211 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackio.c:207:17: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 207 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DSTANDALONE -o availability availability.c libxymon.a gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DSTANDALONE `./test-endianness` -o md5 md5.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DSTANDALONE `./test-endianness` -o sha1 sha1.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DSTANDALONE `./test-endianness` -o rmd160 rmd160c.c rmd160c.c: In function 'main': rmd160c.c:538:27: warning: pointer targets in passing argument 1 of 'myRIPEMD160_Final' differ in signedness [-Wpointer-sign] 538 | myRIPEMD160_Final(md, c); | ^~ | | | unsigned char * rmd160c.c:515:29: note: expected 'char *' but argument is of type 'unsigned char *' 515 | void myRIPEMD160_Final(char md[20], void *c) { RIPEMD160_Final(md, (RIPEMD160_CTX *)c); } | ~~~~~^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DSTANDALONE -o locator locator.c libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl libxymon.a locator.c: In function 'locator_cmd': locator.c:209:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 209 | strncpy(pingbuf, cmd, sizeof(pingbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include -DSTANDALONE -o tree tree.c gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/lib' CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/opt/pkg/include" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" ZLIBLIBS="" LIBRTDEF="" XYMONHOME="/opt/pkg/share/xymon/xymonhome" /opt/pkg/bin/gmake -C common all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/common' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymongrep.o xymongrep.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymongrep xymongrep.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymon.a gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymondigest.o xymondigest.c xymondigest.c: In function 'main': xymondigest.c:48:34: warning: pointer targets in passing argument 2 of 'digest_data' differ in signedness [-Wpointer-sign] 48 | digest_data(ctx, buf, buflen); | ^~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:73, from xymondigest.c:20: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/digest.h:26:57: note: expected 'unsigned char *' but argument is of type 'char *' 26 | extern int digest_data(digestctx_t *ctx, unsigned char *buf, int buflen); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymondigest xymondigest.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymon.a gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymon.o xymon.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymon xymon.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymon.a gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymoncmd.o xymoncmd.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymoncmd xymoncmd.o ../lib/libxymon.a gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymonlaunch.o xymonlaunch.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymonlaunch xymonlaunch.o ../lib/libxymontime.a ../lib/libxymon.a gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymoncfg.o xymoncfg.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymoncfg xymoncfg.o ../lib/libxymon.a gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/common' CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/opt/pkg/include" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="" XYMONHOME="/opt/pkg/share/xymon/xymonhome" XYMONVAR="/var/opt/pkg/xymon" HISTGRAPHDEF="" RUNTIMEDEFS="" PCREINCDIR="-I/opt/pkg/include" PCRELIBS="-L/opt/pkg/lib -lpcre" ZLIBINCDIR="" ZLIBLIBS="" /opt/pkg/bin/gmake -C xymongen all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymongen' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymongen.o xymongen.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o loadlayout.o loadlayout.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o loaddata.o loaddata.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o pagegen.o pagegen.c pagegen.c: In function 'do_hosts.part.0': pagegen.c:644:83: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 644 | sprintf(textrepurl, "%s/%s", | ^ pagegen.c:644:57: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 644 | sprintf(textrepurl, "%s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | xgetenv("XYMONWEB"), textrepfn); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagegen.c: In function 'do_one_page': pagegen.c:947:41: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 947 | sprintf(tmpfilename, "%s.tmp", filename); | ^~~~ pagegen.c:947:17: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 947 | sprintf(tmpfilename, "%s.tmp", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagegen.c:948:44: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 948 | sprintf(tmprssfilename, "%s.tmp", rssfilename); | ^~~~ pagegen.c:948:17: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 948 | sprintf(tmprssfilename, "%s.tmp", rssfilename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagegen.c: In function 'do_nongreen_page': pagegen.c:1251:33: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1251 | sprintf(tmpfilename, "%s.tmp", filename); | ^~~~ pagegen.c:1251:9: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 1251 | sprintf(tmpfilename, "%s.tmp", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagegen.c:1259:44: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1259 | sprintf(tmprssfilename, "%s.tmp", rssfilename); | ^~~~ pagegen.c:1259:17: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 1259 | sprintf(tmprssfilename, "%s.tmp", rssfilename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o process.o process.c process.c: In function 'calc_pagecolors': process.c:106:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 106 | if ( e->propagate && | ^~ process.c:110:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 110 | oldage &= e->oldage; | ^~~~~~ process.c:126:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 126 | if ( e->propagate && | ^~ process.c:130:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 130 | oldage &= e->oldage; | ^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o wmlgen.o wmlgen.c wmlgen.c: In function 'generate_wml_statuscard': wmlgen.c:122:27: warning: '.' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] 122 | sprintf(fn, "%s/%s.%s.wml", wmldir, host->hostname, entry->column->name); | ^ wmlgen.c:122:9: note: 'sprintf' output 7 or more bytes (assuming 1030) into a destination of size 1024 122 | sprintf(fn, "%s/%s.%s.wml", wmldir, host->hostname, entry->column->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmlgen.c: In function 'do_wml_cards': wmlgen.c:315:32: warning: '/nongreen.wml.tmp' directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir); | ^~~~~~~~~~~~~~~~~ wmlgen.c:315:9: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmlgen.c:315:32: warning: '/nongreen.wml.tmp' directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir); | ^~~~~~~~~~~~~~~~~ wmlgen.c:315:9: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmlgen.c:339:47: warning: '.wml' directive writing 4 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 339 | sprintf(hostfn, "%s/%s.wml", wmldir, h->hostentry->hostname); | ^~~~ wmlgen.c:339:25: note: 'sprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024 339 | sprintf(hostfn, "%s/%s.wml", wmldir, h->hostentry->hostname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o rssgen.o rssgen.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o util.o util.c util.c: In function 'hostpage_link': util.c:46:56: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 46 | sprintf(tmppath, "%s/%s", pgwalk->name, pagelink); | ^ util.c:46:33: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 46 | sprintf(tmppath, "%s/%s", pgwalk->name, pagelink); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o debug.o debug.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o csvreport.o csvreport.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymongen xymongen.o loadlayout.o loaddata.o pagegen.o process.o wmlgen.o rssgen.o util.o debug.o csvreport.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymongen' CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/opt/pkg/include" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" DOLDAP="" LDAPFLAGS="" LDAPINCDIR="" LDAPLIBS="" DOSNMP="no" SNMPCONFIG="" NETLIBS="-lresolv -lsocket -lnsl" XYMONHOME="/opt/pkg/share/xymon/xymonhome" ARESVER="1.15.0" FPINGVER="3.0" RUNTIMEDEFS="" PCREINCDIR="-I/opt/pkg/include" PCRELIBS="-L/opt/pkg/lib -lpcre" SYSTEMCARES="yes" CARESINCDIR="-I/opt/pkg/include" CARESLIBS="-L/opt/pkg/lib -lcares" SQLITELIBS="" ZLIBINCDIR="" ZLIBLIBS="" LIBRTDEF="" /opt/pkg/bin/gmake -C xymonnet all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymonnet' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -I/opt/pkg/include -c -o xymonnet.o xymonnet.c xymonnet.c: In function 'main': xymonnet.c:2446:76: warning: pointer targets in passing argument 1 of 'dupstrbuffer' differ in signedness [-Wpointer-sign] 2446 | t->banner = dupstrbuffer(testresult->banner); | ~~~~~~~~~~^~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99, from xymonnet.c:27: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:23:40: note: expected 'char *' but argument is of type 'unsigned char *' 23 | extern strbuffer_t *dupstrbuffer(char *src); | ~~~~~~^~~ xymonnet.c: In function 'load_tests': xymonnet.c:845:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 845 | strncpy(h->ip, xmh_item(hwalk, XMH_IP), sizeof(h->ip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xymonnet.c: In function 'ip_to_test': xymonnet.c:876:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 876 | strncpy(h->ip, dnsresult, sizeof(h->ip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xymonnet.c: In function 'run_ntp_service': xymonnet.c:1081:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 1081 | strncpy(cmdpath, (use_sntp ? xgetenv("SNTP") : xgetenv("NTPDATE")), sizeof(cmdpath)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xymonnet.c: In function 'start_ping_service': xymonnet.c:1136:17: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation] 1136 | strncpy(ip, ip_to_test(t->host), sizeof(ip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xymonnet.c: In function 'finish_ping_service': xymonnet.c:1397:25: warning: 'strncpy' specified bound 16384 equals destination size [-Wstringop-truncation] 1397 | strncpy(l, t->host->routerdeps, sizeof(l)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xymonnet.c: In function 'main': xymonnet.c:2394:41: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 2394 | strncpy(tname, s->testname, sizeof(tname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -I/opt/pkg/include -c -o contest.o contest.c contest.c: In function 'add_tcp_test': contest.c:199:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 199 | newtest->sendlen = (reqmsg ? strlen(reqmsg) : newtest->svcinfo->sendlen); | ^~~~~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from contest.c:20: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ contest.c: In function 'do_telnet_options': contest.c:290:47: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 290 | item->banner = strdup(inp); | ^~~ | | | unsigned char * In file included from contest.c:31: /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ contest.c:290:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 290 | item->banner = strdup(inp); | ^ contest.c:291:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 291 | item->bannerbytes = strlen(inp); | ^~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ contest.c: In function 'do_tcp_tests': contest.c:1241:114: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1241 | outlen = (item->sendlen ? item->sendlen : strlen(outbuf)); | ^~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ contest.c:1249:90: warning: pointer targets in passing argument 2 of 'socket_write' differ in signedness [-Wpointer-sign] 1249 | res = socket_write(item, outbuf, outlen); | ^~~~~~ | | | unsigned char * contest.c:768:48: note: expected 'char *' but argument is of type 'unsigned char *' 768 | static int socket_write(tcptest_t *item, char *outbuf, int outlen) | ~~~~~~^~~~~~ contest.c:1312:87: warning: pointer targets in passing argument 1 of 'item->datacallback' differ in signedness [-Wpointer-sign] 1312 | datadone = item->datacallback(msgbuf, res, item->priv); | ^~~~~~ | | | char * contest.c:1312:87: note: expected 'unsigned char *' but argument is of type 'char *' contest.c: In function 'show_tcp_test_results': contest.c:1394:70: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1394 | if (item->banner && (item->bannerbytes == strlen(item->banner))) { | ~~~~^~~~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ contest.c:1396:48: warning: pointer targets in passing argument 1 of 'textornull' differ in signedness [-Wpointer-sign] 1396 | textornull(item->banner), | ~~~~^~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:88, from contest.c:36: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:33:43: note: expected 'const char *' but argument is of type 'unsigned char *' 33 | extern const char *textornull(const char *text); | ~~~~~~~~~~~~^~~~ contest.c: In function 'tcp_got_expected': contest.c:1442:98: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1442 | compbytes = (test->svcinfo->explen ? test->svcinfo->explen : strlen(test->svcinfo->exptext)); | ~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -I/opt/pkg/include -c -o httptest.o httptest.c httptest.c: In function 'tcp_http_data_callback': httptest.c:196:30: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 196 | p=strstr(item->headers, "\r\n\r\n"); | ~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:35, from httptest.c:19: /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ httptest.c:196:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 196 | p=strstr(item->headers, "\r\n\r\n"); | ^ httptest.c:201:40: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 201 | p = strstr(item->headers, "\n\n"); | ~~~~^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ httptest.c:201:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 201 | p = strstr(item->headers, "\n\n"); | ^ httptest.c:212:36: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 212 | sscanf(item->headers, "HTTP/1.%d %d", &http1subver, &httpstatus); | ~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:82, from httptest.c:18: /usr/include/iso/stdio_iso.h:214:24: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 214 | extern int sscanf(const char *_RESTRICT_KYWD, | ^ httptest.c:243:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 243 | p1 = item->headers; xferencoding = NULL; contlen = 0; | ^ httptest.c:264:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 264 | item->hdrlen = strlen(item->headers); | ~~~~^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ httptest.c: In function 'tcp_http_final_callback': httptest.c:304:28: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 304 | sscanf(item->headers, "HTTP/1.%d %d", &http1subver, &item->httpstatus); | ~~~~^~~~~~~~~ | | | unsigned char * /usr/include/iso/stdio_iso.h:214:24: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 214 | extern int sscanf(const char *_RESTRICT_KYWD, | ^ httptest.c:307:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 307 | p = item->headers; | ^ httptest.c: In function 'add_http_test': httptest.c:406:66: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 406 | httptest->weburl.expdata = strdup(l); | ^ httptest.c:459:81: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 459 | httptest->exp = (void *) strdup(httptest->weburl.expdata+1); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | unsigned char * /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ httptest.c:475:84: warning: pointer targets in passing argument 2 of 'regcomp' differ in signedness [-Wpointer-sign] 475 | status = regcomp((regex_t *)httptest->exp, httptest->weburl.expdata, REG_EXTENDED|REG_NOSUB); | ~~~~~~~~~~~~~~~~^~~~~~~~ | | | unsigned char * In file included from httptest.c:20: /usr/include/regex.h:160:45: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 160 | extern int regcomp(regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, int); | ^ httptest.c:539:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 539 | int contlen = strlen(httptest->weburl.postdata); | ~~~~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ httptest.c:541:45: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 541 | if (strncmp(httptest->weburl.postdata, "file:", 5) == 0) { | ~~~~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ httptest.c:543:67: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 543 | FILE *pf = fopen(httptest->weburl.postdata+5, "r"); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/stdio_iso.h:197:24: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 197 | extern FILE *fopen(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ httptest.c:547:59: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 547 | httptest->weburl.postdata = strdup(""); | ^ httptest.c:557:67: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 557 | httptest->weburl.postdata = (char *)malloc(st.st_size + 1); *(httptest->weburl.postdata) = '\0'; | ^ httptest.c:570:67: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 570 | httptest->weburl.postdata = strdup(""); | ^ httptest.c:580:66: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 580 | addtobuffer(httprequest, httptest->weburl.postcontenttype); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99, from httptest.c:26: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ httptest.c:618:87: warning: pointer targets in passing argument 1 of 'base64encode' differ in signedness [-Wpointer-sign] 618 | addtobuffer(httprequest, base64encode(httptest->weburl.desturl->auth)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:14:42: note: expected 'unsigned char *' but argument is of type 'char *' 14 | extern char *base64encode(unsigned char *buf); | ~~~~~~~~~~~~~~~^~~ httptest.c:624:80: warning: pointer targets in passing argument 1 of 'base64encode' differ in signedness [-Wpointer-sign] 624 | addtobuffer(httprequest, base64encode(httptest->weburl.proxyurl->auth)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:14:42: note: expected 'unsigned char *' but argument is of type 'char *' 14 | extern char *base64encode(unsigned char *buf); | ~~~~~~~~~~~~~~~^~~ httptest.c:673:81: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 673 | if (httptest->weburl.postdata) addtobuffer(httprequest, httptest->weburl.postdata); | ~~~~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ httptest.c:689:78: warning: pointer targets in passing argument 8 of 'add_tcp_test' differ in signedness [-Wpointer-sign] 689 | t->testspec, t->silenttest, grabstrbuffer(httprequest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from httptest.c:29: contest.h:202:69: note: expected 'unsigned char *' but argument is of type 'char *' 202 | char *tspec, int silent, unsigned char *reqmsg, | ~~~~~~~~~~~~~~~^~~~~~ httptest.c:697:78: warning: pointer targets in passing argument 8 of 'add_tcp_test' differ in signedness [-Wpointer-sign] 697 | t->testspec, t->silenttest, grabstrbuffer(httprequest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * contest.h:202:69: note: expected 'unsigned char *' but argument is of type 'char *' 202 | char *tspec, int silent, unsigned char *reqmsg, | ~~~~~~~~~~~~~~~^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -I/opt/pkg/include -c -o httpresult.o httpresult.c httpresult.c: In function 'send_http_results': httpresult.c:144:86: warning: pointer targets in passing argument 3 of 'update_session_cookies' differ in signedness [-Wpointer-sign] 144 | update_session_cookies(host->hostname, req->weburl.desturl->host, req->headers); | ~~~^~~~~~~~~ | | | unsigned char * In file included from httpresult.c:27: httpcookies.h:28:73: note: expected 'char *' but argument is of type 'unsigned char *' 28 | extern void update_session_cookies(char *hostname, char *urlhost, char *headers); | ~~~~~~^~~~~~~ httpresult.c:148:95: warning: pointer targets in passing argument 3 of 'statuscolor_by_set' differ in signedness [-Wpointer-sign] 148 | req->httpcolor = statuscolor_by_set(host, req->httpstatus, req->weburl.okcodes, req->weburl.badcodes); | ~~~~~~~~~~~^~~~~~~~ | | | unsigned char * httpresult.c:79:66: note: expected 'char *' but argument is of type 'unsigned char *' 79 | static int statuscolor_by_set(testedhost_t *h, int status, char *okcodes, char *badcodes) | ~~~~~~^~~~~~~ httpresult.c:148:116: warning: pointer targets in passing argument 4 of 'statuscolor_by_set' differ in signedness [-Wpointer-sign] 148 | req->httpcolor = statuscolor_by_set(host, req->httpstatus, req->weburl.okcodes, req->weburl.badcodes); | ~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * httpresult.c:79:81: note: expected 'char *' but argument is of type 'unsigned char *' 79 | static int statuscolor_by_set(testedhost_t *h, int status, char *okcodes, char *badcodes) | ~~~~~~^~~~~~~~ httpresult.c:217:43: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 217 | char *p = req->headers; | ^~~ httpresult.c:302:48: warning: pointer targets in passing argument 1 of 'addtostatus' differ in signedness [-Wpointer-sign] 302 | addtostatus(req->headers); | ~~~^~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:94, from httpresult.c:23: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sendmsg.h:59:31: note: expected 'char *' but argument is of type 'unsigned char *' 59 | extern void addtostatus(char *p); | ~~~~~~^ httpresult.c:365:40: warning: pointer targets in passing argument 1 of 'addtostatus' differ in signedness [-Wpointer-sign] 365 | addtostatus(req->headers); | ~~~^~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sendmsg.h:59:31: note: expected 'char *' but argument is of type 'unsigned char *' 59 | extern void addtostatus(char *p); | ~~~~~~^ httpresult.c:388:39: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 388 | if (req->output) data = req->output; | ^ httpresult.c: In function 'send_content_results': httpresult.c:466:92: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] 466 | status = (regexec((regex_t *) req->exp, req->headers, 0, foo, 0) == 0) ? 0 : | ~~~^~~~~~~~~ | | | unsigned char * In file included from httpresult.c:19: /usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^ httpresult.c:467:111: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] 467 | (req->output && (regexec((regex_t *) req->exp, req->output, 0, foo, 0) == 0)) ? 0 : 1; | ~~~^~~~~~~~ | | | unsigned char * /usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^ httpresult.c:471:91: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] 471 | status = regexec((regex_t *) req->exp, req->output, 0, foo, 0); | ~~~^~~~~~~~ | | | unsigned char * /usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^ httpresult.c:482:95: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] 482 | status = ( (!regexec((regex_t *) req->exp, req->headers, 0, foo, 0)) && | ~~~^~~~~~~~~ | | | unsigned char * /usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^ httpresult.c:483:112: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] 483 | (!req->output || (!regexec((regex_t *) req->exp, req->output, 0, foo, 0))) ); | ~~~^~~~~~~~ | | | unsigned char * /usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^ httpresult.c:487:93: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] 487 | status = (!regexec((regex_t *) req->exp, req->output, 0, foo, 0)); | ~~~^~~~~~~~ | | | unsigned char * /usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^ httpresult.c:503:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 503 | req->output = (char *) malloc(strlen(req->digest)+strlen((char *)req->exp)+strlen("Expected:\nGot :\n")+1); | ^ httpresult.c:504:52: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 504 | sprintf(req->output, "Expected:%s\nGot :%s\n", | ~~~^~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:82, from httpresult.c:17: /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ httpresult.c:518:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 518 | req->output = (char *) malloc(strlen(req->contenttype)+strlen((char *)req->exp)+strlen("Expected content-type: %s\nGot content-type : %s\n")+1); | ^ httpresult.c:519:52: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 519 | sprintf(req->output, "Expected content-type: %s\nGot content-type : %s\n", | ~~~^~~~~~~~ | | | unsigned char * /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ httpresult.c:589:40: warning: pointer targets in passing argument 1 of 'addtostatus' differ in signedness [-Wpointer-sign] 589 | addtostatus(req->headers); | ~~~^~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sendmsg.h:59:31: note: expected 'char *' but argument is of type 'unsigned char *' 59 | extern void addtostatus(char *p); | ~~~~~~^ httpresult.c:604:46: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 604 | (strncasecmp(req->output, "output, "output, "output; | ^ httpresult.c:629:48: warning: pointer targets in passing argument 1 of 'addtostatus' differ in signedness [-Wpointer-sign] 629 | addtostatus(req->output); | ~~~^~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sendmsg.h:59:31: note: expected 'char *' but argument is of type 'unsigned char *' 59 | extern void addtostatus(char *p); | ~~~~~~^ httpresult.c: In function 'show_http_test_results': httpresult.c:651:60: warning: pointer targets in passing argument 1 of 'textornull' differ in signedness [-Wpointer-sign] 651 | printf("HTTP headers\n%s\n", textornull(req->headers)); | ~~~^~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:88: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:33:43: note: expected 'const char *' but argument is of type 'unsigned char *' 33 | extern const char *textornull(const char *text); | ~~~~~~~~~~~~^~~~ httpresult.c:652:59: warning: pointer targets in passing argument 1 of 'textornull' differ in signedness [-Wpointer-sign] 652 | printf("HTTP output\n%s\n", textornull(req->output)); | ~~~^~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:33:43: note: expected 'const char *' but argument is of type 'unsigned char *' 33 | extern const char *textornull(const char *text); | ~~~~~~~~~~~~^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o ldaptest.o ldaptest.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o dns.o dns.c dns.c: In function 'dns_ares_queue_run': dns.c:154:17: warning: 'ares_fds' is deprecated: Use ARES_OPT_EVENT_THREAD or ARES_OPT_SOCK_STATE_CB instead [-Wdeprecated-declarations] 154 | nfds = ares_fds(channel, &read_fds, &write_fds); | ^~~~ In file included from dns.c:26: /home/pbulk/build/net/xymon/work/.buildlink/include/ares.h:898:31: note: declared here 898 | ARES_OPT_SOCK_STATE_CB) int ares_fds(const ares_channel_t *channel, | ^~~~~~~~ dns.c:172:17: warning: 'ares_process' is deprecated: Use ares_process_fds instead [-Wdeprecated-declarations] 172 | ares_process(channel, &read_fds, &write_fds); | ^~~~~~~~~~~~ /home/pbulk/build/net/xymon/work/.buildlink/include/ares.h:910:58: note: declared here 910 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_process_fds) void ares_process( | ^~~~~~~~~~~~ dns.c: In function 'add_host_to_dns_queue': dns.c:208:17: warning: 'ares_gethostbyname' is deprecated: Use ares_getaddrinfo instead [-Wdeprecated-declarations] 208 | ares_gethostbyname(mychannel, hostname, AF_INET, dns_simple_callback, dnsc); | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/xymon/work/.buildlink/include/ares.h:879:58: note: declared here 879 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_getaddrinfo) void ares_gethostbyname( | ^~~~~~~~~~~~~~~~~~ dns.c: In function 'dns_test_server': dns.c:339:17: warning: 'ares_search' is deprecated: Use ares_search_dnsrec instead [-Wdeprecated-declarations] 339 | ares_search(channel, tlookup, C_IN, atype, dns_detail_callback, newtest); | ^~~~~~~~~~~ /home/pbulk/build/net/xymon/work/.buildlink/include/ares.h:859:60: note: declared here 859 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_search_dnsrec) void ares_search( | ^~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o dns2.o dns2.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o httpcookies.o httpcookies.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymonnet -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L/opt/pkg/lib -lcares ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymon.a -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymonping.o xymonping.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymonping xymonping.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I/opt/pkg/include -c -o beastat.o beastat.c beastat.c: In function 'getstring': beastat.c:112:17: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 112 | strncpy(result, p, sizeof(result)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ beastat.c:112:17: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o beastat -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib beastat.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymontime.a -L/opt/pkg/lib -lpcre cat xymonnet-again.sh.DIST | sed -e 's!@XYMONHOME@!/opt/pkg/share/xymon/xymonhome!g' | sed -e 's!@RUNTIMEDEFS@!!g' >xymonnet-again.sh chmod 755 xymonnet-again.sh gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o contest -I../include -DSTANDALONE contest.c httptest.o dns.o dns2.o httpcookies.o -L/opt/pkg/lib -lcares ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymontime.a contest.c: In function 'add_tcp_test': contest.c:199:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 199 | newtest->sendlen = (reqmsg ? strlen(reqmsg) : newtest->svcinfo->sendlen); | ^~~~~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from contest.c:20: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ contest.c: In function 'do_telnet_options': contest.c:290:47: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 290 | item->banner = strdup(inp); | ^~~ | | | unsigned char * In file included from contest.c:31: /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ contest.c:290:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 290 | item->banner = strdup(inp); | ^ contest.c:291:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 291 | item->bannerbytes = strlen(inp); | ^~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ contest.c: In function 'do_tcp_tests': contest.c:1241:114: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1241 | outlen = (item->sendlen ? item->sendlen : strlen(outbuf)); | ^~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ contest.c:1307:73: warning: pointer targets in passing argument 2 of 'socket_read' differ in signedness [-Wpointer-sign] 1307 | res = socket_read(item, msgbuf, sizeof(msgbuf)-1); | ^~~~~~ | | | char * contest.c:341:56: note: expected 'unsigned char *' but argument is of type 'char *' 341 | static int socket_read(tcptest_t *item, unsigned char *inbuf, int inbufsize) | ~~~~~~~~~~~~~~~^~~~~ contest.c:1312:87: warning: pointer targets in passing argument 1 of 'item->datacallback' differ in signedness [-Wpointer-sign] 1312 | datadone = item->datacallback(msgbuf, res, item->priv); | ^~~~~~ | | | char * contest.c:1312:87: note: expected 'unsigned char *' but argument is of type 'char *' contest.c: In function 'show_tcp_test_results': contest.c:1394:70: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1394 | if (item->banner && (item->bannerbytes == strlen(item->banner))) { | ~~~~^~~~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ contest.c:1396:48: warning: pointer targets in passing argument 1 of 'textornull' differ in signedness [-Wpointer-sign] 1396 | textornull(item->banner), | ~~~~^~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:88, from contest.c:36: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:33:43: note: expected 'const char *' but argument is of type 'unsigned char *' 33 | extern const char *textornull(const char *text); | ~~~~~~~~~~~~^~~~ contest.c: In function 'tcp_got_expected': contest.c:1442:98: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1442 | compbytes = (test->svcinfo->explen ? test->svcinfo->explen : strlen(test->svcinfo->exptext)); | ~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymonnet' CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="" XYMONHOME="/opt/pkg/share/xymon/xymonhome" /opt/pkg/bin/gmake -C xymonproxy all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymonproxy' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymonproxy.o xymonproxy.c xymonproxy.c: In function 'do_log': xymonproxy.c:199:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 199 | rq = conn->buf+6; | ^ xymonproxy.c: In function 'main': xymonproxy.c:473:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 473 | stentry->buf = (char *)malloc(stentry->bufsize); | ^ xymonproxy.c:495:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 495 | p = stentry->buf; | ^ xymonproxy.c:519:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 519 | stentry->buflen = strlen(stentry->buf); | ~~~~~~~^~~~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from xymonproxy.c:18: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymonproxy.c:564:55: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 564 | if (strncmp(cwalk->buf+6, "client", 6) == 0) { | ~~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:35, from xymonproxy.c:29: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:575:70: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 575 | int n = sprintf(cwalk->bufp, | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:82, from xymonproxy.c:30: /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ xymonproxy.c:582:61: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 582 | else if ((strncmp(cwalk->buf+6, "query", 5) == 0) || | ~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:583:61: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 583 | (strncmp(cwalk->buf+6, "config", 6) == 0) || | ~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:584:61: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 584 | (strncmp(cwalk->buf+6, "ping", 4) == 0) || | ~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:585:61: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 585 | (strncmp(cwalk->buf+6, "download", 8) == 0)) { | ~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:603:63: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 603 | if (strncmp(cwalk->buf+6, "status", 6) == 0) { | ~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:616:77: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 616 | cwalk->buflen = strlen(cwalk->buf); | ~~~~~^~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymonproxy.c:620:78: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 620 | int n = sprintf(cwalk->bufp, | ~~~~~^~~~~~ | | | unsigned char * /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ xymonproxy.c:630:68: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 630 | else if (strncmp(cwalk->buf+6, "combo\n", 6) == 0) { | ~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:639:77: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 639 | cwalk->buflen = strlen(cwalk->buf); | ~~~~~^~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymonproxy.c:649:57: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 649 | currmsg = cwalk->buf+12; /* Skip pre-def. "combo\n" and message "combo\n" */ | ^ xymonproxy.c:658:67: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 658 | ctmp->buf = (char *)malloc(ctmp->bufsize); | ^ xymonproxy.c:659:84: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 659 | ctmp->buflen = sprintf(ctmp->buf, | ~~~~^~~~~ | | | unsigned char * /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ xymonproxy.c:674:68: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 674 | else if (strncmp(cwalk->buf+6, "page", 4) == 0) { | ~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:883:80: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 883 | if (strncmp(cextra->buf+6, "status", 6) == 0) { | ~~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymonproxy.c:902:85: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 902 | strcat(cwalk->buf, "\n\n"); | ~~~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:73:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ xymonproxy.c:903:85: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 903 | strcat(cwalk->buf, cextra->buf+6); | ~~~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:73:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ xymonproxy.c:903:103: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 903 | strcat(cwalk->buf, cextra->buf+6); | ~~~~~~~~~~~^~ | | | unsigned char * /usr/include/iso/string_iso.h:73:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 73 | extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ xymonproxy.c:1101:47: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1101 | strcpy(newconn->buf, "combo\n"); | ~~~~~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'unsigned char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ xymonproxy.c:477:72: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 477 | sprintf(runtime_s, "%lu days, %02lu:%02lu:%02lu", | ^ xymonproxy.c:477:25: note: 'sprintf' output between 17 and 31 bytes into a destination of size 30 477 | sprintf(runtime_s, "%lu days, %02lu:%02lu:%02lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 478 | (runt/86400), ((runt % 86400) / 3600), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 479 | ((runt % 3600) / 60), (runt % 60)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymonproxy xymonproxy.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymontime.a ../lib/libxymon.a gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymoncgimsg.o xymoncgimsg.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymoncgimsg.cgi xymoncgimsg.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymon.a gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymonproxy' XYMONHOSTURL="" /opt/pkg/bin/gmake -C docs all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/docs' cat xymon-tips.html.DIST | sed -e 's!@XYMONHOSTURL@!!g' >xymon-tips.html gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/docs' CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="" XYMONHOME="/opt/pkg/share/xymon/xymonhome" /opt/pkg/bin/gmake -C build all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/build' gcc -o merge-lines -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include merge-lines.c gcc -o merge-sects -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include merge-sects.c gcc -o setup-newfiles -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include setup-newfiles.c ../lib/libxymonclient.a setup-newfiles.c: In function 'main': setup-newfiles.c:27:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 27 | sumbuf = (char *)malloc(st.st_size + 1); | ^ setup-newfiles.c:79:36: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 79 | if (strstr(sumbuf, md5sum) == NULL) continue; /* Not one of our known versions */ | ^~~~~~ | | | unsigned char * In file included from /usr/include/string.h:35, from setup-newfiles.c:2: /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ gcc -o renamevars -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include renamevars.c gcc -o renametasks -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include renametasks.c gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/build' CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" DORRD="" RRDDEF="" RRDINCDIR="" PCREINCDIR="-I/opt/pkg/include" SSLFLAGS="-DHAVE_OPENSSL" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" RRDLIBS="" PCRELIBS="-L/opt/pkg/lib -lpcre" SQLITELIBS="" ZLIBINCDIR="" ZLIBLIBS="" LIBRTDEF="" XYMONTOPDIR="/opt/pkg/libexec/xymon" XYMONHOME="/opt/pkg/share/xymon/xymonhome" XYMONVAR="/var/opt/pkg/xymon" XYMONLOGDIR="/var/opt/pkg/log/xymon" XYMONHOSTNAME=""`uname -n`"" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="sunos" XYMONUSER="xymon" CGIDIR="/opt/pkg/libexec/xymon/cgi-bin" SECURECGIDIR="/opt/pkg/libexec/xymon/cgi-secure" XYMONHOSTURL="" XYMONCGIURL="/cgi-bin" SECUREXYMONCGIURL="/xymon-seccgi" MAILPROGRAM=""mailx"" RUNTIMEDEFS="" INSTALLWWWDIR="/opt/pkg/share/examples/xymon/www" INSTALLETCDIR="/opt/pkg/etc/xymon" FPING="/opt/pkg/sbin/fping" /opt/pkg/bin/gmake -C xymond all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymond' cat xymon.sh.DIST | sed -e 's!@XYMONHOME@!/opt/pkg/share/xymon/xymonhome!g' | sed -e 's!@XYMONLOGDIR@!/var/opt/pkg/log/xymon!g' | sed -e 's!@XYMONUSER@!xymon!g' | sed -e 's!@RUNTIMEDEFS@!!g' >xymon.sh chmod 755 xymon.sh gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -c -o xymond.o xymond.c xymond.c: In function 'check_downtime': xymond.c:583:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 583 | cause = strdup("Planned downtime"); | ^ xymond.c:597:66: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 597 | if (strcmp(s1, "*") == 0) return cause; | ^~~~~ xymond.c:601:83: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 601 | if (strcmp(onesvc, testname) == 0) return cause; | ^~~~~ xymond.c: In function 'posttochannel': xymond.c:772:79: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 772 | nlencode(mwalk->cause)); | ~~~~~^~~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from xymond.c:59: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:820:79: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 820 | nlencode(mwalk->cause)); | ~~~~~^~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:884:87: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 884 | nlencode(mwalk->cause)); | ~~~~~^~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:924:55: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 924 | if (log->dismsg) dism = nlencode(log->dismsg); | ^ xymond.c: In function 'handle_status': xymond.c:1433:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1433 | msglen = strlen(msg); | ^~~ | | | unsigned char * In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/sys/socket.h:52, from xymond.c:34: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:1439:22: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 1439 | if (msg_data(msg, 0) == (char *)msg, 0) { | ^~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:88: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ xymond.c:1457:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1457 | if (strncmp(msg, "status+", 7) == 0) { | ^~~ | | | unsigned char * In file included from /usr/include/string.h:35, from xymond.c:45: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:1458:45: warning: pointer targets in passing argument 1 of 'durationvalue' differ in signedness [-Wpointer-sign] 1458 | validity = durationvalue(msg+7); | ~~~^~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:101: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/timefunc.h:26:32: note: expected 'char *' but argument is of type 'unsigned char *' 26 | extern int durationvalue(char *dur); | ~~~~~~^~~ xymond.c:1550:74: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 1550 | posttochannel(enadischn, channelnames[C_ENADIS], msg, sender, log->host->hostname, log, NULL); | ^~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:1565:66: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 1565 | posttochannel(enadischn, channelnames[C_ENADIS], msg, sender, log->host->hostname, log, NULL); | ^~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:1570:70: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1570 | if (downcause && (newcolor == COL_BLUE)) log->dismsg = strdup(downcause); | ^ xymond.c:1748:30: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 1748 | p = msg_data(msg, 0); | ^~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ xymond.c:1807:66: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 1807 | posttochannel(stachgchn, channelnames[C_STACHG], msg, sender, hostname, log, NULL); | ^~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:1817:82: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 1817 | posttochannel(clichgchn, channelnames[C_CLICHG], msg, sender, | ^~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:1837:70: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 1837 | posttochannel(pagechn, channelnames[C_PAGE], msg, sender, hostname, log, NULL); | ^~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:1844:70: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 1844 | posttochannel(pagechn, channelnames[C_PAGE], msg, sender, hostname, log, NULL); | ^~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:1853:70: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 1853 | posttochannel(pagechn, channelnames[C_PAGE], msg, sender, hostname, log, NULL); | ^~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:1858:58: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 1858 | posttochannel(statuschn, channelnames[C_STATUS], msg, sender, hostname, log, NULL); | ^~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c: In function 'handle_enadis': xymond.c:2050:23: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 2050 | p = strchr(msg->buf, '\n'); if (p) *p = '\0'; | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ xymond.c:2051:31: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2051 | firstline = strdup(msg->buf); | ~~~^~~~~ | | | unsigned char * /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ xymond.c:2077:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2077 | txtstart = msg->buf + (durstr + strlen(durstr) - firstline); | ^ xymond.c:2114:24: warning: the comparison will always evaluate as 'true' for the address of 'ip' will never be NULL [-Waddress] 2114 | (hwalk->ip && (strcmp(hwalk->ip, "0.0.0.0") != 0)) ? hwalk->ip : NULL, | ^~~~~ xymond.c:158:14: note: 'ip' declared here 158 | char ip[IP_ADDR_STRLEN]; | ^~ xymond.c:2115:46: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 2115 | msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:80: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:2135:85: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 2135 | posttochannel(enadischn, channelnames[C_ENADIS], msg->buf, sender, log->host->hostname, log, NULL); | ~~~^~~~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:2146:85: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 2146 | posttochannel(enadischn, channelnames[C_ENADIS], msg->buf, sender, log->host->hostname, log, NULL); | ~~~^~~~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:2159:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2159 | log->dismsg = strdup(txtstart); | ^ xymond.c:2161:85: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 2161 | posttochannel(enadischn, channelnames[C_ENADIS], msg->buf, sender, log->host->hostname, log, NULL); | ~~~^~~~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c:2173:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2173 | log->dismsg = strdup(txtstart); | ^ xymond.c:2175:85: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 2175 | posttochannel(enadischn, channelnames[C_ENADIS], msg->buf, sender, log->host->hostname, log, NULL); | ~~~^~~~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c: In function 'handle_ack': xymond.c:2210:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2210 | log->ackmsg = strdup(p); | ^ xymond.c:2213:42: warning: pointer targets in passing argument 3 of 'posttochannel' differ in signedness [-Wpointer-sign] 2213 | posttochannel(pagechn, "ack", log->ackmsg, sender, log->host->hostname, log, NULL); | ~~~^~~~~~~~ | | | unsigned char * xymond.c:641:26: note: expected 'char *' but argument is of type 'unsigned char *' 641 | char *msg, char *sender, char *hostname, xymond_log_t *log, char *readymsg) | ~~~~~~^~~ xymond.c: In function 'handle_ackinfo': xymond.c:2287:48: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 2287 | nlencode(newack->msg)); | ~~~~~~^~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c: In function 'get_config': xymond.c:2755:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2755 | msg->buf = grabstrbuffer(result); | ^ xymond.c: In function 'match_test_filter': xymond.c:3317:49: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3317 | case F_MSG: testedstr = log->message; break; | ^ xymond.c:3318:52: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3318 | case F_ACKMSG: testedstr = log->ackmsg; break; | ^ xymond.c:3319:52: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3319 | case F_DISMSG: testedstr = log->dismsg; break; | ^ xymond.c: In function 'generate_outbuf': xymond.c:3371:44: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3371 | eoln = strchr(lwalk->message, '\n'); if (eoln) *eoln = '\0'; | ~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ xymond.c:3372:56: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 3372 | addtobuffer(buf, msg_data(lwalk->message, 0)); | ~~~~~^~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ xymond.c:3376:70: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 3376 | case F_ACKMSG: if (lwalk->ackmsg) addtobuffer(buf, nlencode(lwalk->ackmsg)); break; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ xymond.c:3377:70: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 3377 | case F_DISMSG: if (lwalk->dismsg) addtobuffer(buf, nlencode(lwalk->dismsg)); break; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ xymond.c:3378:48: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 3378 | case F_MSG: addtobuffer(buf, nlencode(lwalk->message)); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ xymond.c:3385:64: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 3385 | if (acklist) addtobuffer(buf, nlencode(acklist)); | ^~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:3385:55: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 3385 | if (acklist) addtobuffer(buf, nlencode(acklist)); | ^~~~~~~~~~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ xymond.c:3412:64: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 3412 | addtobuffer(buf, nlencode(mwalk->cause)); | ~~~~~^~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:3412:50: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 3412 | addtobuffer(buf, nlencode(mwalk->cause)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ xymond.c: In function 'generate_hostinfo_outbuf': xymond.c:3442:96: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 3442 | if (boardfields[f_idx].xmhfield != XMH_RAW) infostr = nlencode(infostr); | ^~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:3442:85: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3442 | if (boardfields[f_idx].xmhfield != XMH_RAW) infostr = nlencode(infostr); | ^ xymond.c: In function 'do_message': xymond.c:3483:40: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3483 | char *eoln = strchr(msg->buf, '\n'); | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ xymond.c:3554:30: warning: pointer targets in passing argument 1 of 'update_statistics' differ in signedness [-Wpointer-sign] 3554 | update_statistics(msg->buf); | ~~~^~~~~ | | | unsigned char * xymond.c:389:30: note: expected 'char *' but argument is of type 'unsigned char *' 389 | void update_statistics(char *cmd) | ~~~~~~^~~ xymond.c:3556:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3556 | if (strncmp(msg->buf, "extcombo ", 9) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3560:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3560 | origbuf = ofsline = msg->buf; | ^ xymond.c:3587:42: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3587 | msg->buf = origbuf; | ^ xymond.c:3591:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3591 | msg->buf = origbuf + startofs; | ^ xymond.c:3601:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3601 | msg->buf = origbuf; | ^ xymond.c:3603:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3603 | else if (strncmp(msg->buf, "combo\n", 6) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3606:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3606 | currmsg = msg->buf+6; | ^ xymond.c:3649:63: warning: pointer targets in passing argument 1 of 'handle_status' differ in signedness [-Wpointer-sign] 3649 | handle_status(currmsg, sender, h->hostname, t->name, grouplist, log, color, downcause, 0); | ^~~~~~~ | | | char * xymond.c:1415:35: note: expected 'unsigned char *' but argument is of type 'char *' 1415 | void handle_status(unsigned char *msg, char *sender, char *hostname, char *testname, char *grouplist, | ~~~~~~~~~~~~~~~^~~ xymond.c:3658:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3658 | else if (strncmp(msg->buf, "meta", 4) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3661:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3661 | currmsg = msg->buf; | ^ xymond.c:3674:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3674 | else if (strncmp(msg->buf, "modify", 6) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3677:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3677 | currmsg = msg->buf; | ^ xymond.c:3690:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3690 | else if (strncmp(msg->buf, "status", 6) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3691:37: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 3691 | msgfrom = strstr(msg->buf, "\nStatus message received from "); | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:3698:36: warning: pointer targets in passing argument 1 of 'get_hts' differ in signedness [-Wpointer-sign] 3698 | get_hts(msg->buf, sender, origin, &h, &t, &grouplist, &log, &color, &downcause, NULL, 0, 0); | ~~~^~~~~ | | | unsigned char * xymond.c:1154:20: note: expected 'char *' but argument is of type 'unsigned char *' 1154 | void get_hts(char *msg, char *sender, char *origin, | ~~~~~~^~~ xymond.c:3699:97: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3699 | if (!oksender(statussenders, (h ? h->ip : NULL), msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3702:28: warning: pointer targets in passing argument 1 of 'get_hts' differ in signedness [-Wpointer-sign] 3702 | get_hts(msg->buf, sender, origin, &h, &t, &grouplist, &log, &color, &downcause, NULL, 1, 1); | ~~~^~~~~ | | | unsigned char * xymond.c:1154:20: note: expected 'char *' but argument is of type 'unsigned char *' 1154 | void get_hts(char *msg, char *sender, char *origin, | ~~~~~~^~~ xymond.c:3717:49: warning: pointer targets in passing argument 1 of 'handle_client' differ in signedness [-Wpointer-sign] 3717 | if (h) handle_client(msg->buf, sender, h->hostname, (t ? t->name : ""), "", NULL); | ~~~^~~~~ | | | unsigned char * xymond.c:2320:26: note: expected 'char *' but argument is of type 'unsigned char *' 2320 | void handle_client(char *msg, char *sender, char *hostname, char *collectorid, | ~~~~~~^~~ xymond.c:3727:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3727 | else if (strncmp(msg->buf, "data", 4) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3732:37: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 3732 | msgfrom = strstr(msg->buf, "\nStatus message received from "); | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:3738:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3738 | bhost = msg->buf + strlen("data"); bhost += strspn(bhost, " \t"); | ^ xymond.c:3767:72: warning: pointer targets in passing argument 3 of 'log_ghost' differ in signedness [-Wpointer-sign] 3767 | hname = log_ghost(hostname, sender, msg->buf); | ~~~^~~~~ | | | unsigned char * xymond.c:986:53: note: expected 'char *' but argument is of type 'unsigned char *' 986 | char *log_ghost(char *hostname, char *sender, char *msg) | ~~~~~~^~~ xymond.c:3773:90: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3773 | else if (!oksender(statussenders, hostip, msg->addr.sin_addr, msg->buf)) { | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3778:48: warning: pointer targets in passing argument 1 of 'handle_data' differ in signedness [-Wpointer-sign] 3778 | handle_data(msg->buf, sender, origin, hname, testname); | ~~~^~~~~ | | | unsigned char * xymond.c:1984:24: note: expected 'char *' but argument is of type 'unsigned char *' 1984 | void handle_data(char *msg, char *sender, char *origin, char *hostname, char *testname) | ~~~~~~^~~ xymond.c:3786:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3786 | else if (strncmp(msg->buf, "summary", 7) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3788:28: warning: pointer targets in passing argument 1 of 'get_hts' differ in signedness [-Wpointer-sign] 3788 | get_hts(msg->buf, sender, origin, &h, &t, NULL, &log, &color, NULL, NULL, 1, 1); | ~~~^~~~~ | | | unsigned char * xymond.c:1154:20: note: expected 'char *' but argument is of type 'unsigned char *' 1154 | void get_hts(char *msg, char *sender, char *origin, | ~~~~~~^~~ xymond.c:3793:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3793 | else if ((strncmp(msg->buf, "notes", 5) == 0) || (strncmp(msg->buf, "usermsg", 7) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3793:70: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3793 | else if ((strncmp(msg->buf, "notes", 5) == 0) || (strncmp(msg->buf, "usermsg", 7) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3801:53: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign] 3801 | bid = msg->buf + strcspn(msg->buf, " \t\r\n"); bid += strspn(bid, " \t"); | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:77:23: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | extern size_t strcspn(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:3801:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3801 | bid = msg->buf + strcspn(msg->buf, " \t\r\n"); bid += strspn(bid, " \t"); | ^ xymond.c:3818:90: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3818 | if (!oksender(maintsenders, NULL, msg->addr.sin_addr, msg->buf)) { | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3824:57: warning: pointer targets in passing argument 1 of 'handle_notes' differ in signedness [-Wpointer-sign] 3824 | handle_notes(msg->buf, sender, id); | ~~~^~~~~ | | | unsigned char * xymond.c:2019:25: note: expected 'char *' but argument is of type 'unsigned char *' 2019 | void handle_notes(char *msg, char *sender, char *hostname) | ~~~~~~^~~ xymond.c:3829:91: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3829 | if (!oksender(statussenders, NULL, msg->addr.sin_addr, msg->buf)) { | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3835:59: warning: pointer targets in passing argument 1 of 'handle_usermsg' differ in signedness [-Wpointer-sign] 3835 | handle_usermsg(msg->buf, sender, id); | ~~~^~~~~ | | | unsigned char * xymond.c:2026:27: note: expected 'char *' but argument is of type 'unsigned char *' 2026 | void handle_usermsg(char *msg, char *sender, char *hostname) | ~~~~~~^~~ xymond.c:3845:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3845 | else if (strncmp(msg->buf, "enable", 6) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3848:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3848 | else if (strncmp(msg->buf, "disable", 7) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3851:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3851 | else if (strncmp(msg->buf, "config", 6) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3854:75: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3854 | if (!oksender(statussenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3856:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3856 | p = msg->buf + 6; p += strspn(p, " \t"); | ^ xymond.c:3866:49: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3866 | else if (allow_downloads && (strncmp(msg->buf, "download", 8) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3869:75: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3869 | if (!oksender(statussenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3871:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3871 | p = msg->buf + 8; p += strspn(p, " \t"); | ^ xymond.c:3881:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3881 | else if (strncmp(msg->buf, "flush filecache", 15) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3884:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3884 | else if ( (strcmp(msg->buf, "reload") == 0) || (strcmp(msg->buf, "rotate") == 0) ) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'unsigned char *' 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:3884:67: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3884 | else if ( (strcmp(msg->buf, "reload") == 0) || (strcmp(msg->buf, "rotate") == 0) ) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'unsigned char *' 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:3885:30: warning: pointer targets in passing argument 1 of 'posttoall' differ in signedness [-Wpointer-sign] 3885 | posttoall(msg->buf); | ~~~^~~~~ | | | unsigned char * xymond.c:972:22: note: expected 'char *' but argument is of type 'unsigned char *' 972 | void posttoall(char *msg) | ~~~~~~^~~ xymond.c:3887:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3887 | else if (strncmp(msg->buf, "query ", 6) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3888:28: warning: pointer targets in passing argument 1 of 'get_hts' differ in signedness [-Wpointer-sign] 3888 | get_hts(msg->buf, sender, origin, &h, &t, NULL, &log, &color, NULL, NULL, 0, 0); | ~~~^~~~~ | | | unsigned char * xymond.c:1154:20: note: expected 'char *' but argument is of type 'unsigned char *' 1154 | void get_hts(char *msg, char *sender, char *origin, | ~~~~~~^~~ xymond.c:3889:89: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3889 | if (!oksender(statussenders, (h ? h->ip : NULL), msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3899:51: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 3899 | bol = msg_data(log->message, 0); | ~~~^~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ xymond.c:3899:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3899 | bol = msg_data(log->message, 0); | ^ xymond.c:3900:54: warning: pointer targets in passing argument 1 of 'parse_color' differ in signedness [-Wpointer-sign] 3900 | msgcol = parse_color(bol); | ^~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/availability.h:14, from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/cgiurls.h:15, from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:55: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/color.h:26:30: note: expected 'char *' but argument is of type 'unsigned char *' 26 | extern int parse_color(char *colortext); | ~~~~~~^~~~~~~~~ xymond.c:3904:55: warning: pointer targets in passing argument 1 of 'strspn' differ in signedness [-Wpointer-sign] 3904 | bol += strspn(bol, " \t"); | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:83:22: note: expected 'const char *' but argument is of type 'unsigned char *' 83 | extern size_t strspn(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:3906:47: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3906 | eoln = strchr(bol, '\n'); if (eoln) *eoln = '\0'; | ^~~ | | | unsigned char * /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ xymond.c:3906:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3906 | eoln = strchr(bol, '\n'); if (eoln) *eoln = '\0'; | ^ xymond.c:3911:54: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3911 | msg->buf = msg->bufp = strdup(response); | ^ xymond.c:3912:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3912 | msg->buflen = strlen(msg->buf); | ~~~^~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:3915:54: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3915 | msg->buf = msg->bufp = strdup(""); | ^ xymond.c:3920:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3920 | else if ((strncmp(msg->buf, "xymondlog ", 10) == 0) || (strncmp(msg->buf, "hobbitdlog ", 11) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3920:76: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3920 | else if ((strncmp(msg->buf, "xymondlog ", 10) == 0) || (strncmp(msg->buf, "hobbitdlog ", 11) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3932:72: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3932 | if (!oksender(wwwsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3934:45: warning: pointer targets in passing argument 1 of 'setup_filter' differ in signedness [-Wpointer-sign] 3934 | logfilter = setup_filter(msg->buf, &fields, &acklevel, NULL); | ~~~^~~~~ | | | unsigned char * xymond.c:2869:38: note: expected 'char *' but argument is of type 'unsigned char *' 2869 | hostfilter_rec_t *setup_filter(char *buf, char **fields, int *acklevel, int *havehostfilter) | ~~~~~~^~~ xymond.c:3945:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3945 | log->message = strdup("No data"); | ^ xymond.c:3946:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3946 | log->msgsz = strlen(log->message) + 1; | ~~~^~~~~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:3952:58: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 3952 | addtobuffer(logdata, msg_data(log->message, 0)); | ~~~^~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ xymond.c:3956:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3956 | msg->bufp = msg->buf = grabstrbuffer(logdata); | ^ xymond.c:3962:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3962 | else if ((strncmp(msg->buf, "xymondxlog ", 11) == 0) || (strncmp(msg->buf, "hobbitdxlog ", 12) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3962:77: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3962 | else if ((strncmp(msg->buf, "xymondxlog ", 11) == 0) || (strncmp(msg->buf, "hobbitdxlog ", 12) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:3968:72: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 3968 | if (!oksender(wwwsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:3970:28: warning: pointer targets in passing argument 1 of 'get_hts' differ in signedness [-Wpointer-sign] 3970 | get_hts(msg->buf, sender, origin, &h, &t, NULL, &log, &color, NULL, NULL, 0, 0); | ~~~^~~~~ | | | unsigned char * xymond.c:1154:20: note: expected 'char *' but argument is of type 'unsigned char *' 1154 | void get_hts(char *msg, char *sender, char *origin, | ~~~~~~^~~ xymond.c:3978:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3978 | log->message = strdup("No data"); | ^ xymond.c:3979:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3979 | log->msgsz = strlen(log->message) + 1; | ~~~^~~~~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:3997:70: warning: the comparison will always evaluate as 'true' for the address of 'sender' will never be NULL [-Waddress] 3997 | " ", (log->sender ? log->sender : "xymond"), "\n", | ^ xymond.c:128:14: note: 'sender' declared here 128 | char sender[IP_ADDR_STRLEN]; | ^~~~~~ xymond.c:4017:69: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 4017 | " message, 0), "]]>\n", | ~~~^~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ xymond.c:4023:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4023 | msg->bufp = msg->buf = grabstrbuffer(response); | ^ xymond.c:4026:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4026 | else if ((strncmp(msg->buf, "xymondboard", 11) == 0) || (strncmp(msg->buf, "hobbitdboard", 12) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4026:77: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4026 | else if ((strncmp(msg->buf, "xymondboard", 11) == 0) || (strncmp(msg->buf, "hobbitdboard", 12) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4045:72: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4045 | if (!oksender(wwwsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4047:45: warning: pointer targets in passing argument 1 of 'setup_filter' differ in signedness [-Wpointer-sign] 4047 | logfilter = setup_filter(msg->buf, &fields, &acklevel, &havehostfilter); | ~~~^~~~~ | | | unsigned char * xymond.c:2869:38: note: expected 'char *' but argument is of type 'unsigned char *' 2869 | hostfilter_rec_t *setup_filter(char *buf, char **fields, int *acklevel, int *havehostfilter) | ~~~~~~^~~ xymond.c:4073:90: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4073 | clientlogrec.message = infologrec.message = trendslogrec.message = ""; | ^ xymond.c:4124:56: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4124 | lwalk->message = strdup("No data"); | ^ xymond.c:4125:68: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4125 | lwalk->msgsz = strlen(lwalk->message) + 1; | ~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:4137:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4137 | msg->bufp = msg->buf = grabstrbuffer(response); | ^ xymond.c:4143:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4143 | else if ((strncmp(msg->buf, "xymondxboard", 12) == 0) || (strncmp(msg->buf, "hobbitdxboard", 13) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4143:78: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4143 | else if ((strncmp(msg->buf, "xymondxboard", 12) == 0) || (strncmp(msg->buf, "hobbitdxboard", 13) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4158:72: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4158 | if (!oksender(wwwsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4160:45: warning: pointer targets in passing argument 1 of 'setup_filter' differ in signedness [-Wpointer-sign] 4160 | logfilter = setup_filter(msg->buf, &fields, &acklevel, &havehostfilter); | ~~~^~~~~ | | | unsigned char * xymond.c:2869:38: note: expected 'char *' but argument is of type 'unsigned char *' 2869 | hostfilter_rec_t *setup_filter(char *buf, char **fields, int *acklevel, int *havehostfilter) | ~~~~~~^~~ xymond.c:4197:56: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4197 | lwalk->message = strdup("No data"); | ^ xymond.c:4198:68: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4198 | lwalk->msgsz = strlen(lwalk->message) + 1; | ~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:4201:52: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 4201 | eoln = strchr(lwalk->message, '\n'); | ~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ xymond.c:4215:72: warning: the comparison will always evaluate as 'true' for the address of 'sender' will never be NULL [-Waddress] 4215 | " ", (lwalk->sender ? lwalk->sender : "xymond"), "\n", | ^ xymond.c:128:14: note: 'sender' declared here 128 | char sender[IP_ADDR_STRLEN]; | ^~~~~~ xymond.c:4237:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4237 | msg->bufp = msg->buf = grabstrbuffer(response); | ^ xymond.c:4242:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4242 | else if (strncmp(msg->buf, "hostinfo", 8) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4252:72: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4252 | if (!oksender(wwwsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4256:39: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 4256 | clonehost = strstr(msg->buf, " clone="); | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:4286:54: warning: pointer targets in passing argument 1 of 'setup_filter' differ in signedness [-Wpointer-sign] 4286 | hostfilter = setup_filter(msg->buf, &fields, NULL, NULL); | ~~~^~~~~ | | | unsigned char * xymond.c:2869:38: note: expected 'char *' but argument is of type 'unsigned char *' 2869 | hostfilter_rec_t *setup_filter(char *buf, char **fields, int *acklevel, int *havehostfilter) | ~~~~~~^~~ xymond.c:4303:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4303 | msg->bufp = msg->buf = grabstrbuffer(response); | ^ xymond.c:4307:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4307 | else if ((strncmp(msg->buf, "xymondack", 9) == 0) || (strncmp(msg->buf, "hobbitdack", 10) == 0) || (strncmp(msg->buf, "ack ack_event", 13) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4307:74: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4307 | else if ((strncmp(msg->buf, "xymondack", 9) == 0) || (strncmp(msg->buf, "hobbitdack", 10) == 0) || (strncmp(msg->buf, "ack ack_event", 13) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4307:120: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4307 | else if ((strncmp(msg->buf, "xymondack", 9) == 0) || (strncmp(msg->buf, "hobbitdack", 10) == 0) || (strncmp(msg->buf, "ack ack_event", 13) == 0)) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4313:74: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4313 | if (!oksender(maintsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4322:32: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4322 | if (strncmp(msg->buf, "xymondack", 9) == 0) p = msg->buf + 9; | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4322:63: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4322 | if (strncmp(msg->buf, "xymondack", 9) == 0) p = msg->buf + 9; | ^ xymond.c:4323:37: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4323 | else if (strncmp(msg->buf, "hobbitdack", 10) == 0) p = msg->buf + 10; | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4323:70: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4323 | else if (strncmp(msg->buf, "hobbitdack", 10) == 0) p = msg->buf + 10; | ^ xymond.c:4324:37: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4324 | else if (strncmp(msg->buf, "ack ack_event", 13) == 0) p = msg->buf + 13; | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4324:73: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4324 | else if (strncmp(msg->buf, "ack ack_event", 13) == 0) p = msg->buf + 13; | ^ xymond.c:4325:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4325 | else p = msg->buf; | ^ xymond.c:4361:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4361 | else if (strncmp(msg->buf, "ackinfo ", 8) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4365:74: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4365 | if (!oksender(maintsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4367:28: warning: pointer targets in passing argument 1 of 'get_hts' differ in signedness [-Wpointer-sign] 4367 | get_hts(msg->buf, sender, origin, &h, &t, NULL, &log, &color, NULL, &ackall, 0, 0); | ~~~^~~~~ | | | unsigned char * xymond.c:1154:20: note: expected 'char *' but argument is of type 'unsigned char *' 1154 | void get_hts(char *msg, char *sender, char *origin, | ~~~~~~^~~ xymond.c:4369:43: warning: pointer targets in passing argument 1 of 'handle_ackinfo' differ in signedness [-Wpointer-sign] 4369 | handle_ackinfo(msg->buf, sender, log); | ~~~^~~~~ | | | unsigned char * xymond.c:2219:27: note: expected 'char *' but argument is of type 'unsigned char *' 2219 | void handle_ackinfo(char *msg, char *sender, xymond_log_t *log) | ~~~~~~^~~ xymond.c:4376:59: warning: pointer targets in passing argument 1 of 'handle_ackinfo' differ in signedness [-Wpointer-sign] 4376 | handle_ackinfo(msg->buf, sender, lwalk); | ~~~^~~~~ | | | unsigned char * xymond.c:2219:27: note: expected 'char *' but argument is of type 'unsigned char *' 2219 | void handle_ackinfo(char *msg, char *sender, xymond_log_t *log) | ~~~~~~^~~ xymond.c:4381:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4381 | else if (strncmp(msg->buf, "drop ", 5) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4385:74: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4385 | if (!oksender(adminsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4387:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4387 | p = msg->buf + 4; p += strspn(p, " \t"); | ^ xymond.c:4398:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4398 | else if (strncmp(msg->buf, "rename ", 7) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4402:74: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4402 | if (!oksender(adminsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4404:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4404 | p = msg->buf + 6; p += strspn(p, " \t"); | ^ xymond.c:4418:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4418 | else if (strncmp(msg->buf, "dummy", 5) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4421:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4421 | else if (strncmp(msg->buf, "ping", 4) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4428:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4428 | msg->bufp = msg->buf = strdup(id); | ^ xymond.c:4429:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4429 | msg->buflen = strlen(msg->buf); | ~~~^~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:4431:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4431 | else if (strncmp(msg->buf, "notify", 6) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4432:74: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4432 | if (!oksender(maintsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4433:28: warning: pointer targets in passing argument 1 of 'get_hts' differ in signedness [-Wpointer-sign] 4433 | get_hts(msg->buf, sender, origin, &h, &t, NULL, &log, &color, NULL, NULL, 0, 0); | ~~~^~~~~ | | | unsigned char * xymond.c:1154:20: note: expected 'char *' but argument is of type 'unsigned char *' 1154 | void get_hts(char *msg, char *sender, char *origin, | ~~~~~~^~~ xymond.c:4434:46: warning: pointer targets in passing argument 1 of 'handle_notify' differ in signedness [-Wpointer-sign] 4434 | if (h && t) handle_notify(msg->buf, sender, h->hostname, t->name); | ~~~^~~~~ | | | unsigned char * xymond.c:2297:26: note: expected 'char *' but argument is of type 'unsigned char *' 2297 | void handle_notify(char *msg, char *sender, char *hostname, char *testname) | ~~~~~~^~~ xymond.c:4436:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4436 | else if (strncmp(msg->buf, "schedule", 8) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4445:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4445 | cmd = msg->buf + 8; cmd += strspn(cmd, " "); | ^ xymond.c:4454:105: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 4454 | addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command), "\n", NULL); | ~~~~~^~~~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:4460:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4460 | msg->bufp = msg->buf = grabstrbuffer(response); | ^ xymond.c:4500:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4500 | else if ((strncmp(msg->buf, "client", 6) == 0) && ((*(msg->buf+6) == ' ') ||(*(msg->buf+6) == '/'))) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4507:37: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 4507 | msgfrom = strstr(msg->buf, "\n[proxy]\n"); | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:4515:43: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign] 4515 | p = msg->buf + strcspn(msg->buf, "\r\n"); | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:77:23: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | extern size_t strcspn(const char *, const char *); | ^~~~~~~~~~~~ xymond.c:4515:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4515 | p = msg->buf + strcspn(msg->buf, "\r\n"); | ^ xymond.c:4523:35: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 4523 | line1 = strdup(msg->buf); if (p) *p = savech; | ~~~^~~~~ | | | unsigned char * /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ xymond.c:4526:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4526 | if (p) collectorid = strchr(p, '/'); if (collectorid) collectorid++; | ^~ xymond.c:4526:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4526 | if (p) collectorid = strchr(p, '/'); if (collectorid) collectorid++; | ^~ xymond.c:4545:72: warning: pointer targets in passing argument 3 of 'log_ghost' differ in signedness [-Wpointer-sign] 4545 | hname = log_ghost(hostname, sender, msg->buf); | ~~~^~~~~ | | | unsigned char * xymond.c:986:53: note: expected 'char *' but argument is of type 'unsigned char *' 986 | char *log_ghost(char *hostname, char *sender, char *msg) | ~~~~~~^~~ xymond.c:4551:90: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4551 | else if (!oksender(statussenders, hostip, msg->addr.sin_addr, msg->buf)) { | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4582:50: warning: pointer targets in passing argument 1 of 'handle_client' differ in signedness [-Wpointer-sign] 4582 | handle_client(msg->buf, sender, hname, collectorid, clientos, clientclass); | ~~~^~~~~ | | | unsigned char * xymond.c:2320:26: note: expected 'char *' but argument is of type 'unsigned char *' 2320 | void handle_client(char *msg, char *sender, char *hostname, char *collectorid, | ~~~~~~^~~ xymond.c:4595:54: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4595 | msg->bufp = msg->buf = strdup(cfg); | ^ xymond.c:4596:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4596 | msg->buflen = strlen(msg->buf); | ~~~^~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:4602:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4602 | else if (strncmp(msg->buf, "clientlog ", 10) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4605:72: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4605 | if (!oksender(wwwsenders, NULL, msg->addr.sin_addr, msg->buf)) goto done; | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4607:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4607 | p = msg->buf + strlen("clientlog"); p += strspn(p, "\t "); | ^ xymond.c:4627:62: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4627 | msg->bufp = msg->buf = strdup(cmsg); | ^ xymond.c:4628:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4628 | msg->buflen = strlen(msg->buf); | ~~~^~~~~ | | | unsigned char * /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *' 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ xymond.c:4655:50: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4655 | msg->buf = grabstrbuffer(resp); | ^ xymond.c:4656:65: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4656 | if (!msg->buf) msg->buf = strdup(""); | ^ xymond.c:4663:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4663 | else if (strncmp(msg->buf, "ghostlist", 9) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4664:71: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4664 | if (oksender(wwwsenders, NULL, msg->addr.sin_addr, msg->buf)) { | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4682:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4682 | msg->buf = grabstrbuffer(resp); | ^ xymond.c:4683:49: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4683 | if (!msg->buf) msg->buf = strdup(""); | ^ xymond.c:4688:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4688 | else if (strncmp(msg->buf, "multisrclist", 12) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4689:71: warning: pointer targets in passing argument 4 of 'oksender' differ in signedness [-Wpointer-sign] 4689 | if (oksender(wwwsenders, NULL, msg->addr.sin_addr, msg->buf)) { | ~~~^~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/ipaccess.h:29:84: note: expected 'char *' but argument is of type 'unsigned char *' 29 | extern int oksender(sender_t *oklist, char *targetip, struct in_addr sender, char *msgbuf); | ~~~~~~^~~~~~ xymond.c:4707:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4707 | msg->buf = grabstrbuffer(resp); | ^ xymond.c:4708:49: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4708 | if (!msg->buf) msg->buf = strdup(""); | ^ xymond.c:4712:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 4712 | else if (strncmp(msg->buf, "senderstats", 11) == 0) { | ~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ xymond.c:4729:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4729 | msg->buf = grabstrbuffer(resp); | ^ xymond.c:4730:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4730 | if (!msg->buf) msg->buf = strdup(""); | ^ xymond.c: In function 'save_checkpoint': xymond.c:4804:51: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4804 | if (lwalk->dismsg) msgstr = nlencode(lwalk->dismsg); else msgstr = ""; | ^ xymond.c:4806:51: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4806 | if (lwalk->ackmsg) msgstr = nlencode(lwalk->ackmsg); else msgstr = ""; | ^ xymond.c:4822:92: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 4822 | swalk->id, (int)swalk->executiontime, swalk->sender, nlencode(swalk->command)); | ~~~~~^~~~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c: In function 'load_checkpoint': xymond.c:4890:52: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 4890 | case 5: nldecode(item); newtask->command = strdup(item); break; | ^~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:5068:26: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 5068 | nldecode(statusmsg); | ^~~~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:5069:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5069 | ltail->message = strdup(statusmsg); | ^ xymond.c:5073:34: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 5073 | nldecode(disablemsg); | ^~~~~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:5074:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5074 | ltail->dismsg = strdup(disablemsg); | ^ xymond.c:5080:34: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 5080 | nldecode(ackmsg); | ^~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond.c:5081:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5081 | ltail->ackmsg = strdup(ackmsg); | ^ xymond.c: In function 'check_purple_status': xymond.c:5177:83: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5177 | if (!lwalk->dismsg) lwalk->dismsg = strdup(cause); | ^ xymond.c: In function 'main': xymond.c:5737:47: warning: pointer targets in passing argument 1 of 'handle_status' differ in signedness [-Wpointer-sign] 5737 | handle_status(buf, "xymond", h->hostname, t->name, NULL, log, color, NULL, 0); | ^~~ | | | char * xymond.c:1415:35: note: expected 'unsigned char *' but argument is of type 'char *' 1415 | void handle_status(unsigned char *msg, char *sender, char *hostname, char *testname, char *grouplist, | ~~~~~~~~~~~~~~~^~~ xymond.c:5769:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5769 | msg.buf = bf_buf; | ^ xymond.c:5856:84: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 5856 | eoln = strchr(cwalk->buf, '\n'); | ~~~~~^~~~~ | | | unsigned char * /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ xymond.c:5916:62: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5916 | task.buf = task.bufp = runtask->command; | ^ xymond.c: In function 'do_message': xymond.c:3494:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 3494 | strncpy(sender, inet_ntoa(msg->addr.sin_addr), sizeof(sender)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymontime.a -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_channel.o xymond_channel.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_channel -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_channel.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymontime.a -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_locator.o xymond_locator.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_locator -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_locator.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_filestore.o xymond_filestore.c xymond_filestore.c: In function 'main': xymond_filestore.c:274:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 274 | msg = get_xymond_message(chnid, "filestore", &seq, NULL); | ^ xymond_filestore.c:323:54: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 323 | if (ackmsg) nldecode(ackmsg); | ^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from xymond_filestore.c:30: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond_filestore.c:327:54: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 327 | if (dismsg) nldecode(dismsg); | ^~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_worker.o xymond_worker.c xymond_worker.c: In function 'get_xymond_message': xymond_worker.c:505:48: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 505 | return idlemsg; | ^~~~~~~ xymond_worker.c:520:40: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 520 | return idlemsg; | ^~~~~~~ xymond_worker.c:644:50: warning: pointer targets in passing argument 2 of 'myMD5_Update' differ in signedness [-Wpointer-sign] 644 | myMD5_Update(ctx->mdctx, result, (hashstr - result)); | ^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:86, from xymond_worker.c:40: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/md5.h:18:52: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void myMD5_Update(void *pms, unsigned char *data, int nbytes); | ~~~~~~~~~~~~~~~^~~~ xymond_worker.c:645:58: warning: pointer targets in passing argument 2 of 'myMD5_Update' differ in signedness [-Wpointer-sign] 645 | myMD5_Update(ctx->mdctx, hashstr + 33, strlen(hashstr + 33)); | ~~~~~~~~^~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/md5.h:18:52: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void myMD5_Update(void *pms, unsigned char *data, int nbytes); | ~~~~~~~~~~~~~~~^~~~ xymond_worker.c:646:50: warning: pointer targets in passing argument 2 of 'myMD5_Update' differ in signedness [-Wpointer-sign] 646 | myMD5_Update(ctx->mdctx, "\n@@\n", 4); /* Stripped earlier */ | ^~~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/md5.h:18:52: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void myMD5_Update(void *pms, unsigned char *data, int nbytes); | ~~~~~~~~~~~~~~~^~~~ xymond_worker.c:663:16: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 663 | return result; | ^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_filestore -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_filestore.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_history.o xymond_history.c xymond_history.c: In function 'main': xymond_history.c:213:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 213 | msg = get_xymond_message(C_STACHG, "xymond_history", &seq, NULL); | ^ xymond_history.c:446:73: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 446 | if (dismsg && *dismsg) nldecode(dismsg); | ^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from xymond_history.c:31: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond_history.c:471:58: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 471 | nldecode(modifiers); | ^~~~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_history -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_history.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_alert.o xymond_alert.c xymond_alert.c: In function 'save_checkpoint': xymond_alert.c:248:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 248 | pgmsg = ackmsg = ""; | ^ xymond_alert.c: In function 'load_checkpoint': xymond_alert.c:356:46: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 356 | nldecode(item[8]); | ~~~~^~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from xymond_alert.c:55: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond_alert.c:357:55: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 357 | newalert->pagemessage = strdup(item[8]); | ^ xymond_alert.c:360:46: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 360 | nldecode(item[9]); | ~~~~^~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond_alert.c:361:54: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 361 | newalert->ackmessage = strdup(item[9]); | ^ xymond_alert.c: In function 'main': xymond_alert.c:500:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 500 | awalk->pagemessage = "Test of the alert configuration"; | ^ xymond_alert.c:621:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 621 | msg = get_xymond_message(C_PAGE, "xymond_alert", &seq, &timeout); | ^ xymond_alert.c:746:52: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 746 | awalk->pagemessage = (char *)malloc(strlen(awalk->hostname) + strlen(awalk->testname) + strlen(colorname(awalk->color)) + strlen(metadata[15]) + strlen(restofmsg) + 10); | ^ xymond_alert.c:747:46: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 747 | sprintf(awalk->pagemessage, "%s:%s %s\n%s\n%s", | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:82, from xymond_alert.c:45: /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ xymond_alert.c:751:52: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 751 | awalk->pagemessage = strdup(restofmsg); | ^ xymond_alert.c:779:50: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign] 779 | nlencode(restofmsg)); | ^~~~~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *' 17 | extern unsigned char *nlencode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ xymond_alert.c:788:51: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 788 | awalk->ackmessage = strdup(restofmsg); | ^ xymond_alert.c:806:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 806 | awalk->pagemessage = strdup(restofmsg); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I/opt/pkg/include -c -o do_alert.o do_alert.c do_alert.c: In function 'make_alertid': do_alert.c:68:33: warning: pointer targets in passing argument 2 of 'myMD5_Update' differ in signedness [-Wpointer-sign] 68 | myMD5_Update(md5handle, key, strlen(key)); | ^~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:86, from do_alert.c:32: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/md5.h:18:52: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void myMD5_Update(void *pms, unsigned char *data, int nbytes); | ~~~~~~~~~~~~~~~^~~~ do_alert.c: In function 'message_text': do_alert.c:258:39: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 258 | addtobuffer(buf, alert->pagemessage); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ do_alert.c:266:37: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 266 | bom = msg_data(alert->pagemessage, 1); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:88: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ do_alert.c:334:37: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 334 | bom = msg_data(alert->pagemessage, 1); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ do_alert.c:353:48: warning: pointer targets in passing argument 1 of 'msg_data' differ in signedness [-Wpointer-sign] 353 | addtobuffer(buf, msg_data(alert->pagemessage, 0)); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:27:29: note: expected 'char *' but argument is of type 'unsigned char *' 27 | extern char *msg_data(char *msg, int stripcr); | ~~~~~~^~~ do_alert.c:369:21: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 369 | return alert->pagemessage; | ~~~~~^~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_alert -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_alert.o xymond_worker.o do_alert.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_sample.o xymond_sample.c xymond_sample.c: In function 'main': xymond_sample.c:113:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 113 | msg = get_xymond_message(C_LAST, argv[0], &seq, timeout); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_sample -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_sample.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_client.o xymond_client.c In file included from xymond_client.c:1800: client/darwin.c: In function 'handle_darwin_client': client/darwin.c:82:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 82 | if (p) p = strchr(p, ':'); if (p) pagesfree = atol(p+1); | ^~ client/darwin.c:82:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 82 | if (p) p = strchr(p, ':'); if (p) pagesfree = atol(p+1); | ^~ client/darwin.c:84:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 84 | if (p) p = strchr(p, ':'); if (p) pagesactive = atol(p+1); | ^~ client/darwin.c:84:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 84 | if (p) p = strchr(p, ':'); if (p) pagesactive = atol(p+1); | ^~ client/darwin.c:86:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 86 | if (p) p = strchr(p, ':'); if (p) pagesinactive = atol(p+1); | ^~ client/darwin.c:86:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 86 | if (p) p = strchr(p, ':'); if (p) pagesinactive = atol(p+1); | ^~ client/darwin.c:88:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 88 | if (p) p = strchr(p, ':'); if (p) pageswireddown = atol(p+1); | ^~ client/darwin.c:88:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 88 | if (p) p = strchr(p, ':'); if (p) pageswireddown = atol(p+1); | ^~ xymond_client.c: In function 'testmode': xymond_client.c:1879:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1879 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~ xymond_client.c:1879:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1879 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~~~~~~~~~~ xymond_client.c:1907:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1907 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~ xymond_client.c:1907:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1907 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~~~~~~~~~~ xymond_client.c:1908:68: warning: pointer targets in passing argument 4 of 'get_disk_thresholds' differ in signedness [-Wpointer-sign] 1908 | get_disk_thresholds(hinfo, clientclass, s, &warnlevel, &paniclevel, | ^~~~~~~~~~ | | | long unsigned int * In file included from xymond_client.c:28: client_config.h:30:39: note: expected 'long int *' but argument is of type 'long unsigned int *' 30 | long *warnlevel, long *paniclevel, | ~~~~~~^~~~~~~~~ xymond_client.c:1908:80: warning: pointer targets in passing argument 5 of 'get_disk_thresholds' differ in signedness [-Wpointer-sign] 1908 | get_disk_thresholds(hinfo, clientclass, s, &warnlevel, &paniclevel, | ^~~~~~~~~~~ | | | long unsigned int * client_config.h:30:56: note: expected 'long int *' but argument is of type 'long unsigned int *' 30 | long *warnlevel, long *paniclevel, | ~~~~~~^~~~~~~~~~ xymond_client.c:1932:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1932 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~ xymond_client.c:1932:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1932 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~~~~~~~~~~ xymond_client.c:1958:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1958 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~ xymond_client.c:1958:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1958 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~~~~~~~~~~ xymond_client.c:1968:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1968 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~ xymond_client.c:1968:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1968 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~~~~~~~~~~ xymond_client.c:2002:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2002 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~ xymond_client.c:2002:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2002 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~~~~~~~~~~ xymond_client.c:2008:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2008 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~ xymond_client.c:2008:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2008 | if (!fgets(s, sizeof(s), stdin)) return; clean_instr(s); | ^~~~~~~~~~~ xymond_client.c: In function 'main': xymond_client.c:2171:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2171 | msg = get_xymond_message(C_CLIENT, argv[0], &seq, NULL); | ^ In file included from xymond_client.c:1806: In function 'zvse_getvis_report', inlined from 'handle_zvse_client' at client/zvse.c:706:2: client/zvse.c:534:25: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 10 [-Wstringop-truncation] 534 | strncpy(pid, jinfo, 2); /* Copy partition ID */ | ^~~~~~~~~~~~~~~~~~~~~~ In file included from xymond_client.c:1809: client/snmpcollect.c: In function 'handle_snmpcollect_client': client/snmpcollect.c:99:9: warning: 'ns1sects' may be used uninitialized [-Wmaybe-uninitialized] 99 | nextsection_r_done(ns1sects); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/snmpcollect.c:25:24: note: 'ns1sects' declared here 25 | void *ns1var, *ns1sects; | ^~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o client_config.o client_config.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_client -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_client.o xymond_worker.o client_config.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_hostdata.o xymond_hostdata.c xymond_hostdata.c: In function 'main': xymond_hostdata.c:147:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 147 | msg = get_xymond_message(C_CLICHG, "xymond_hostdata", &seq, NULL); | ^ xymond_hostdata.c:213:51: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 213 | sprintf(fn, "%s/%s", hostdir, metadata[4]); | ^ xymond_hostdata.c:213:33: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 213 | sprintf(fn, "%s/%s", hostdir, metadata[4]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_hostdata -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_hostdata.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I/opt/pkg/include -c -o xymond_capture.o xymond_capture.c xymond_capture.c: In function 'main': xymond_capture.c:136:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 136 | msg = get_xymond_message(C_LAST, argv[0], &seq, timeout); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_capture -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_capture.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymond_distribute.o xymond_distribute.c xymond_distribute.c: In function 'main': xymond_distribute.c:81:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 81 | msg = get_xymond_message(C_LAST, argv[0], &seq, NULL); | ^ xymond_distribute.c:138:58: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 138 | nldecode(metadata[6]); | ~~~~~~~~^~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from xymond_distribute.c:23: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymond_distribute -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymond_distribute.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymonfetch.o xymonfetch.c xymonfetch.c: In function 'process_clientdata': xymonfetch.c:302:84: warning: '%s' directive writing up to 99 bytes into a region of size 70 [-Wformat-overflow=] 108 | return res; | ~~~ ...... 302 | sprintf(sourcemsg, "\nStatus message received from %s\n", | ^~ xymonfetch.c:302:33: note: 'sprintf' output between 32 and 131 bytes into a destination of size 100 302 | sprintf(sourcemsg, "\nStatus message received from %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 303 | addrstring(&conn->caddr, 0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xymonfetch.c:293:89: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 48 and 58 [-Wformat-truncation=] 108 | return res; | ~~~ ...... 293 | "[msgcache]\nCachedelay: %d\n[proxy]\nClientIP:%s", | ^~ xymonfetch.c:292:33: note: 'snprintf' output between 43 and 152 bytes into a destination of size 100 292 | snprintf(msgcachesection, sizeof(msgcachesection), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 293 | "[msgcache]\nCachedelay: %d\n[proxy]\nClientIP:%s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | msgago, addrstring(&conn->caddr, 0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymonfetch -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymonfetch.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I/opt/pkg/include -c -o xymon-mailack.o xymon-mailack.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymon-mailack -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib xymon-mailack.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o trimhistory.o trimhistory.c trimhistory.c: In function 'trim_logs': trimhistory.c:336:68: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 336 | sprintf(fn2, "%s/%s", fn1, lent->d_name); | ^ trimhistory.c:336:49: note: 'sprintf' output between 2 and 1025 bytes into a destination of size 1024 336 | sprintf(fn2, "%s/%s", fn1, lent->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o trimhistory -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib trimhistory.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I/opt/pkg/include -c -o combostatus.o combostatus.c combostatus.c: In function 'update_combotests': combostatus.c:354:43: warning: '%s' directive writing up to 16383 bytes into a region of size 1016 [-Wformat-overflow=] 354 | sprintf(errtext, "compute(%s) returned error %d\n", expr, error); | ^~ ~~~~ In function 'evaluate', inlined from 'update_combotests' at combostatus.c:430:17: combostatus.c:354:34: note: using the range [-2147483648, 2147483647] for directive argument 354 | sprintf(errtext, "compute(%s) returned error %d\n", expr, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ combostatus.c:354:17: note: 'sprintf' output between 28 and 16421 bytes into a destination of size 1024 354 | sprintf(errtext, "compute(%s) returned error %d\n", expr, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o combostatus -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib combostatus.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre cat xymonreports.sh.DIST | sed -e 's!@XYMONHOME@!/opt/pkg/share/xymon/xymonhome!g' >xymonreports.sh chmod 755 xymonreports.sh cat moverrd.sh.DIST | sed -e 's!@XYMONHOME@!/opt/pkg/share/xymon/xymonhome!g' | sed -e 's!@XYMONVAR@!/var/opt/pkg/xymon!g' >moverrd.sh chmod 755 moverrd.sh gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o convertnk.o convertnk.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o convertnk -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib convertnk.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o rrdcachectl.o rrdcachectl.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o rrdcachectl -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib rrdcachectl.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl cat etcfiles/xymon-apache-secure.DIST | sed -e 's!@XYMONHOME@!/opt/pkg/share/xymon/xymonhome!g' | sed -e 's!@INSTALLETCDIR@!/opt/pkg/etc/xymon!g' | sed -e 's!@INSTALLWWWDIR@!/opt/pkg/share/examples/xymon/www!g' | sed -e 's!@CGIDIR@!/opt/pkg/libexec/xymon/cgi-bin!g' | sed -e 's!@SECURECGIDIR@!/opt/pkg/libexec/xymon/cgi-secure!g' | sed -e 's!@XYMONHOSTURL@!!g' | sed -e 's!@XYMONCGIURL@!/cgi-bin!g' | sed -e 's!@SECUREXYMONCGIURL@!/xymon-seccgi!g' >etcfiles/xymon-apache.conf cat etcfiles/xymonserver.cfg.DIST | sed -e 's!@XYMONTOPDIR@!/opt/pkg/libexec/xymon!g'| sed -e 's!@XYMONLOGDIR@!/var/opt/pkg/log/xymon!g'| sed -e 's!@XYMONHOSTNAME@!pkgsrc-upstream-trunk!g'| sed -e 's!@XYMONHOSTIP@!127.0.0.1!g'| sed -e 's!@XYMONHOSTOS@!sunos!g' | sed -e 's!@XYMONHOSTURL@!!g' | sed -e 's!@XYMONCGIURL@!/cgi-bin!g' | sed -e 's!@SECUREXYMONCGIURL@!/xymon-seccgi!g' | sed -e 's!@XYMONHOME@!/opt/pkg/share/xymon/xymonhome!g' | sed -e 's!@XYMONVAR@!/var/opt/pkg/xymon!g' | sed -e 's!@FPING@!/opt/pkg/sbin/fping!g' | sed -e 's!@MAILPROGRAM@!mailx!g' | sed -e 's!@RUNTIMEDEFS@!!g' >etcfiles/xymonserver.cfg ../build/bb-commands.sh >>etcfiles/xymonserver.cfg cat etcfiles/hosts.cfg.DIST | sed -e 's!@XYMONHOSTNAME@!pkgsrc-upstream-trunk!g' | sed -e 's!@XYMONHOSTIP@!127.0.0.1!g' >etcfiles/hosts.cfg cat etcfiles/alerts.cfg.DIST | sed -e 's!@XYMONHOSTNAME@!pkgsrc-upstream-trunk!g' | sed -e 's!@XYMONHOSTIP@!127.0.0.1!g' >etcfiles/alerts.cfg cat etcfiles/tasks.cfg.DIST | sed -e 's!@XYMONHOME@!/opt/pkg/share/xymon/xymonhome!g' | sed -e 's!@XYMONTOPDIR@!/opt/pkg/libexec/xymon!g' >etcfiles/tasks.cfg cat etcfiles/cgioptions.cfg.DIST | sed -e 's!@XYMONHOME@!/opt/pkg/share/xymon/xymonhome!g' >etcfiles/cgioptions.cfg gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymond' CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" DORRD="" RRDDEF="" RRDINCDIR="" PCREINCDIR="-I/opt/pkg/include" ZLIBINCDIR="" ZLIBLIBS="" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" RRDLIBS="" PCRELIBS="-L/opt/pkg/lib -lpcre" LIBRTDEF="" XYMONTOPDIR="/opt/pkg/libexec/xymon" XYMONHOME="/opt/pkg/share/xymon/xymonhome" XYMONVAR="/var/opt/pkg/xymon" XYMONLOGDIR="/var/opt/pkg/log/xymon" XYMONHOSTNAME=""`uname -n`"" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="sunos" XYMONUSER="xymon" CGIDIR="/opt/pkg/libexec/xymon/cgi-bin" SECURECGIDIR="/opt/pkg/libexec/xymon/cgi-secure" XYMONHOSTURL="" XYMONCGIURL="/cgi-bin" SECUREXYMONCGIURL="/xymon-seccgi" MAILPROGRAM=""mailx"" RUNTIMEDEFS="" INSTALLWWWDIR="/opt/pkg/share/examples/xymon/www" INSTALLETCDIR="/opt/pkg/etc/xymon" /opt/pkg/bin/gmake -C web all gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/web' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o history.o history.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o history.cgi history.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o eventlog.o eventlog.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o eventlog.cgi eventlog.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o report.o report.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o report.cgi report.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o reportlog.o reportlog.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o reportlog.cgi reportlog.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o snapshot.o snapshot.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o snapshot.cgi snapshot.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o findhost.o findhost.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o findhost.cgi findhost.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o csvinfo.o csvinfo.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o csvinfo.cgi csvinfo.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o acknowledge.o acknowledge.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o acknowledge.cgi acknowledge.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymonpage.o xymonpage.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymonpage xymonpage.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o datepage.o datepage.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o datepage.cgi datepage.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o svcstatus.o svcstatus.c svcstatus.c: In function 'do_request': svcstatus.c:471:46: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 471 | if (ackmsg) nldecode(ackmsg); | ^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from svcstatus.c:26: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ svcstatus.c:474:46: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 474 | if (dismsg) nldecode(dismsg); | ^~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o svcstatus-info.o svcstatus-info.c svcstatus-info.c: In function 'generate_xymon_alertinfo': svcstatus-info.c:243:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 243 | alert->pagemessage = ""; | ^ svcstatus-info.c: In function 'generate_xymon_enable': svcstatus-info.c:790:50: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 790 | msg = tnames[i].dismsg; nldecode(msg); msg += strspn(msg, "0123456789 \t\n"); | ^~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from svcstatus-info.c:33: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ svcstatus-info.c: In function 'generate_xymon_scheduled': svcstatus-info.c:868:44: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 868 | msg = swalk->cmd; nldecode(msg); | ^~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ svcstatus-info.c: In function 'generate_info': svcstatus-info.c:1248:52: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] 1248 | addtobuffer(infobuf, weburl.expdata); | ~~~~~~^~~~~~~~ | | | unsigned char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *' 16 | extern void addtobuffer(strbuffer_t *buf, char *newtext); | ~~~~~~^~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o svcstatus-trends.o svcstatus-trends.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o svcstatus.cgi svcstatus.o svcstatus-info.o svcstatus-trends.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o enadis.o enadis.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o enadis.cgi enadis.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o confreport.o confreport.c confreport.c: In function 'print_host': confreport.c:271:33: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 271 | expdata = bu.expdata; | ^ confreport.c:476:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 476 | alert->pagemessage = ""; | ^ In function 'print_disklist', inlined from 'print_host' at confreport.c:435:4, inlined from 'main' at confreport.c:884:3: confreport.c:126:25: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 126 | strncpy(fn, de->d_name + 4, sizeof(fn)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o confreport.cgi confreport.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I/opt/pkg/include -c -o criticalview.o criticalview.c criticalview.c: In function 'loadstatus': criticalview.c:131:50: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 131 | nldecode(ackstr); | ^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from criticalview.c:20: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o criticalview.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib criticalview.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o criticaleditor.o criticaleditor.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o criticaleditor.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib criticaleditor.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o ackinfo.o ackinfo.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o ackinfo.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib ackinfo.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o statusreport.o statusreport.c statusreport.c: In function 'main': statusreport.c:179:34: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 179 | nldecode(msg); | ^~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from statusreport.c:23: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o statusreport.cgi statusreport.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o boilerplate.o boilerplate.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o boilerplate.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib boilerplate.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o hostgraphs.o hostgraphs.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o hostgraphs.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib hostgraphs.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o ghostlist.o ghostlist.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o ghostlist.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib ghostlist.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o notifications.o notifications.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o notifications.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib notifications.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o acknowledgements.o acknowledgements.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o acknowledgements.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib acknowledgements.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o hostlist.o hostlist.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o hostlist.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib hostlist.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o useradm.o useradm.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o useradm.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib useradm.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o chpasswd.o chpasswd.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o chpasswd.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib chpasswd.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o appfeed.o appfeed.c appfeed.c: In function 'main': appfeed.c:202:50: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 202 | nldecode(ackmsg); | ^~~~~~ | | | char * In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74, from appfeed.c:21: /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ appfeed.c:212:50: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] 212 | nldecode(dismsg); | ^~~~~~ | | | char * /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *' 18 | extern void nldecode(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o appfeed.cgi -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib appfeed.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl ../lib/libxymon.a -L/opt/pkg/lib -lpcre gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DXYMONHOME=\"/opt/pkg/share/xymon/xymonhome\" -c -o cgiwrap.o cgiwrap.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libxml2 -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o cgiwrap cgiwrap.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl -L/opt/pkg/lib -lpcre gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/web' Build complete. ##################################################################### IMPORTANT: If upgrading from 4.2.x, see the docs/upgrade-to-430.txt file for instructions. You must run build/upgrade430.sh before installing the new version. ##################################################################### Now run '/opt/pkg/bin/gmake install' as root