[root@cb-ol10 xymon-rrd-abi-compat-cleanup-1.9]# make
MAKE="make" CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" `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="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="" ZLIBINCDIR="" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="" SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" LIBRTDEF="" XYMONTOPDIR="/opt/xymon/" XYMONHOME="/opt/xymon//server" XYMONCLIENTHOME=/opt/xymon//client XYMONLOGDIR="/var/log/xymon" XYMONHOSTNAME="cb-ol10" XYMONHOSTIP="172.24.19.42" XYMONHOSTOS="linux" make -C lib all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/lib'
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -o test-endianness test-endianness.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o osdefs.o osdefs.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o acklog.o acklog.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o availability.o availability.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o calc.o calc.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o cgi.o cgi.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o cgiurls.o cgiurls.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o clientlocal.o clientlocal.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o color.o color.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o crondate.o crondate.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o digest.o digest.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o encoding.o encoding.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DXYMONTOPDIR=\"/opt/xymon/\" -DXYMONLOGDIR=\"/var/log/xymon\" -DXYMONHOSTNAME=\"cb-ol10\" -DXYMONHOSTIP=\"172.24.19.42\" -DXYMONHOSTOS=\"linux\" -DXYMONHOME=\"/opt/xymon//server\" -c -o environ.o environ.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o errormsg.o errormsg.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o eventlog.o eventlog.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o files.o files.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o headfoot.o headfoot.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -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 /install/xymon-rrd-abi-compat-cleanup-1.9/include/libxymon.h:99,
from xymonrrd.c:23:
xymonrrd.c:84:31: note: length computed here
84 | SBUF_MALLOC(tcptests, strlen(services)+1);
| ^~~~~~~~~~~~~~~~
/install/xymon-rrd-abi-compat-cleanup-1.9/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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o holidays.o holidays.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o htmllog.o htmllog.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o ipaccess.o ipaccess.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../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 4096 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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o loadcriticalconf.o loadcriticalconf.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o links.o links.c
links.c: In function ���load_all_links���:
links.c:143:17: warning: ���strncpy��� specified bound 4096 equals destination size [-Wstringop-truncation]
143 | strncpy(dirname, xgetenv("XYMONNOTESDIR"), sizeof(dirname));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
links.c:148:9: warning: ���strncpy��� specified bound 4096 equals destination size [-Wstringop-truncation]
148 | strncpy(dirname, xgetenv("XYMONNOTESDIR"), sizeof(dirname));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o matching.o matching.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o md5.o md5.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o memory.o memory.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o misc.o misc.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o msort.o msort.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o netservices.o netservices.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o notifylog.o notifylog.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o readmib.o readmib.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o reportlog.o reportlog.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include `./test-endianness` -c -o rmd160c.o rmd160c.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include `./test-endianness` -c -o sha1.o sha1.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o sha2.o sha2.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o sig.o sig.c
sig.c: In function ���setup_signalhandler���:
sig.c:101:9: warning: ���strncpy��� specified bound 4096 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 4096 equals destination size [-Wstringop-truncation]
103 | strncpy(signal_tmpdir, xgetenv("XYMONTMP"), sizeof(signal_tmpdir));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o stackio.o stackio.c
stackio.c: In function ���addtofnlist���:
stackio.c:338:30: warning: ���strncpy��� specified bound 4096 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 4096 equals destination size [-Wstringop-truncation]
211 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stackio.c:207:17: warning: ���strncpy��� specified bound 4096 equals destination size [-Wstringop-truncation]
207 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o strfunc.o strfunc.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o suid.o suid.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o timefunc.o timefunc.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o tree.o tree.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o url.o url.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o loadhosts.o loadhosts.c
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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -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 /install/xymon-rrd-abi-compat-cleanup-1.9/include/libxymon.h:87,
from sendmsg.c:44:
/install/xymon-rrd-abi-compat-cleanup-1.9/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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o xymond_ipc.o xymond_ipc.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -c -o run.o run.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DCLIENTONLY -c -o color-client.o color.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DXYMONTOPDIR=\"/opt/xymon/\" -DXYMONLOGDIR=\"/var/log/xymon\" -DXYMONHOSTNAME=\"cb-ol10\" -DXYMONHOSTIP=\"172.24.19.42\" -DXYMONHOSTOS=\"linux\" -DXYMONHOME=\"/opt/xymon//client\" -c -o environ-client.o environ.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DCLIENTONLY -c -o timefunc-client.o timefunc.c
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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DSTANDALONE -o loadhosts loadhosts.c libxymoncomm.a -lssl -lcrypto -ltirpc
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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DSTANDALONE -o stackio stackio.c libxymon.a
stackio.c: In function ���addtofnlist���:
stackio.c:338:30: warning: ���strncpy��� specified bound 4096 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 4096 equals destination size [-Wstringop-truncation]
211 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stackio.c:207:17: warning: ���strncpy��� specified bound 4096 equals destination size [-Wstringop-truncation]
207 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DSTANDALONE -o availability availability.c libxymon.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DSTANDALONE `./test-endianness` -o md5 md5.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DSTANDALONE `./test-endianness` -o sha1 sha1.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DSTANDALONE `./test-endianness` -o rmd160 rmd160c.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DSTANDALONE -o locator locator.c libxymoncomm.a -lssl -lcrypto -ltirpc 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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -I../include -DSTANDALONE -o tree tree.c
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/lib'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="" SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" ZLIBLIBS="" LIBRTDEF="" XYMONHOME="/opt/xymon//server" make -C common all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/common'
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymongrep.o xymongrep.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymongrep xymongrep.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymondigest.o xymondigest.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymondigest xymondigest.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymon.o xymon.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymon xymon.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymoncmd.o xymoncmd.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymoncmd xymoncmd.o ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymonlaunch.o xymonlaunch.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymonlaunch xymonlaunch.o ../lib/libxymontime.a ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymoncfg.o xymoncfg.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymoncfg xymoncfg.o ../lib/libxymon.a
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/common'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="" SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" LIBRTDEF="" XYMONHOME="/opt/xymon//server" XYMONVAR="/opt/xymon//data" HISTGRAPHDEF="" RUNTIMEDEFS="" PCREINCDIR="" PCRELIBS="-lpcre" ZLIBINCDIR="" ZLIBLIBS="" make -C xymongen all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/xymongen'
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymongen.o xymongen.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o loadlayout.o loadlayout.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o loaddata.o loaddata.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/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 4097) into a destination of size 4096
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 4096 [-Wformat-overflow=]
947 | sprintf(tmpfilename, "%s.tmp", filename);
| ^~~~
pagegen.c:947:17: note: ���sprintf��� output between 5 and 4100 bytes into a destination of size 4096
947 | sprintf(tmpfilename, "%s.tmp", filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pagegen.c:948:44: warning: ���.tmp��� directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
948 | sprintf(tmprssfilename, "%s.tmp", rssfilename);
| ^~~~
pagegen.c:948:17: note: ���sprintf��� output between 5 and 4100 bytes into a destination of size 4096
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 4096 [-Wformat-overflow=]
1251 | sprintf(tmpfilename, "%s.tmp", filename);
| ^~~~
pagegen.c:1251:9: note: ���sprintf��� output between 5 and 4100 bytes into a destination of size 4096
1251 | sprintf(tmpfilename, "%s.tmp", filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pagegen.c:1259:44: warning: ���.tmp��� directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=]
1259 | sprintf(tmprssfilename, "%s.tmp", rssfilename);
| ^~~~
pagegen.c:1259:17: note: ���sprintf��� output between 5 and 4100 bytes into a destination of size 4096
1259 | sprintf(tmprssfilename, "%s.tmp", rssfilename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o wmlgen.o wmlgen.c
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 4096 [-Wformat-overflow=]
315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir);
| ^~~~~~~~~~~~~~~~~
wmlgen.c:315:9: note: ���sprintf��� output between 18 and 4113 bytes into a destination of size 4096
315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wmlgen.c:122:27: warning: ���.��� directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=]
122 | sprintf(fn, "%s/%s.%s.wml", wmldir, host->hostname, entry->column->name);
| ^
In function ���generate_wml_statuscard���,
inlined from ���do_wml_cards��� at wmlgen.c:297:5:
wmlgen.c:122:9: note: ���sprintf��� output 7 or more bytes (assuming 4102) into a destination of size 4096
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 4096 [-Wformat-overflow=]
315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir);
| ^~~~~~~~~~~~~~~~~
wmlgen.c:315:9: note: ���sprintf��� output between 18 and 4113 bytes into a destination of size 4096
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 4095 [-Wformat-overflow=]
339 | sprintf(hostfn, "%s/%s.wml", wmldir, h->hostentry->hostname);
| ^~~~
wmlgen.c:339:25: note: ���sprintf��� output 6 or more bytes (assuming 4101) into a destination of size 4096
339 | sprintf(hostfn, "%s/%s.wml", wmldir, h->hostentry->hostname);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o rssgen.o rssgen.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/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 4097) into a destination of size 4096
46 | sprintf(tmppath, "%s/%s", pgwalk->name, pagelink);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o debug.o debug.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o csvreport.o csvreport.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -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 -lssl -lcrypto -ltirpc -lpcre
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/xymongen'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="" SSLLIBS="-lssl -lcrypto" DOLDAP="" LDAPFLAGS="" LDAPINCDIR="" LDAPLIBS="" DOSNMP="no" NETLIBS="-ltirpc" XYMONHOME="/opt/xymon//server" ARESVER="1.15.0" FPINGVER="3.0" RUNTIMEDEFS="" PCREINCDIR="" PCRELIBS="-lpcre" SYSTEMCARES="yes" CARESINCDIR="" CARESLIBS="-lcares" SQLITELIBS="" ZLIBINCDIR="" ZLIBLIBS="" LIBRTDEF="" make -C xymonnet all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/xymonnet'
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DHAVE_OPENSSL -c -o xymonnet.o xymonnet.c
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 4096 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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DHAVE_OPENSSL -c -o contest.o contest.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DHAVE_OPENSSL -c -o httptest.o httptest.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DHAVE_OPENSSL -c -o httpresult.o httpresult.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o ldaptest.o ldaptest.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o dns.o dns.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o dns2.o dns2.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o httpcookies.o httpcookies.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymonnet -Wl,--rpath, xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -lcares ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymon.a -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymonping.o xymonping.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymonping xymonping.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o beastat -Wl,--rpath, beastat.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymontime.a -lpcre
cat xymonnet-again.sh.DIST | sed -e 's!@XYMONHOME@!/opt/xymon//server!g' | sed -e 's!@RUNTIMEDEFS@!!g' >xymonnet-again.sh
chmod 755 xymonnet-again.sh
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o contest -I../include -DSTANDALONE contest.c httptest.o dns.o dns2.o httpcookies.o -lcares ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymontime.a
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/xymonnet'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" LIBRTDEF="" XYMONHOME="/opt/xymon//server" make -C xymonproxy all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/xymonproxy'
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymonproxy.o xymonproxy.c
xymonproxy.c: In function ���main���:
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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymonproxy xymonproxy.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymontime.a ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymoncgimsg.o xymoncgimsg.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymoncgimsg.cgi xymoncgimsg.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymon.a
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/xymonproxy'
XYMONHOSTURL="/xymon" make -C docs all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/docs'
cat xymon-tips.html.DIST | sed -e 's!@XYMONHOSTURL@!/xymon!g' >xymon-tips.html
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/docs'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" LIBRTDEF="" XYMONHOME="/opt/xymon//server" make -C build all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/build'
gcc -o merge-lines -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include merge-lines.c
gcc -o merge-sects -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include merge-sects.c
gcc -o setup-newfiles -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include setup-newfiles.c ../lib/libxymonclient.a
gcc -o renamevars -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include renamevars.c
gcc -o renametasks -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include renametasks.c
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/build'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" RPATHOPT="-Wl,--rpath," DORRD="yes" RRDDEF="-DRRD_CONST_ARGS=1" RRDINCDIR="" PCREINCDIR="" SSLFLAGS="-DHAVE_OPENSSL" SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" RRDLIBS="-lrrd " PCRELIBS="-lpcre" SQLITELIBS="" ZLIBINCDIR="" ZLIBLIBS="" LIBRTDEF="" XYMONTOPDIR="/opt/xymon/" XYMONHOME="/opt/xymon//server" XYMONVAR="/opt/xymon//data" XYMONLOGDIR="/var/log/xymon" XYMONHOSTNAME="cb-ol10" XYMONHOSTIP="172.24.19.42" XYMONHOSTOS="linux" XYMONUSER="xymon" CGIDIR="/opt/xymon//cgi-bin" SECURECGIDIR="/opt/xymon//cgi-secure" XYMONHOSTURL="/xymon" XYMONCGIURL="/xymon-cgi" SECUREXYMONCGIURL="/xymon-seccgi" MAILPROGRAM=""mail"" RUNTIMEDEFS="" INSTALLWWWDIR="/opt/xymon//server/www" INSTALLETCDIR="/opt/xymon//server/etc" FPING="/usr/sbin/fping" make -C xymond all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/xymond'
cat xymon.sh.DIST | sed -e 's!@XYMONHOME@!/opt/xymon//server!g' | sed -e 's!@XYMONLOGDIR@!/var/log/xymon!g' | sed -e 's!@XYMONUSER@!xymon!g' | sed -e 's!@RUNTIMEDEFS@!!g' >xymon.sh
chmod 755 xymon.sh
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DHAVE_OPENSSL -c -o xymond.o xymond.c
xymond.c: In function ���handle_enadis���:
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: In function ���do_message���:
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: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: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:3494:9: warning: ���strncpy��� specified bound 16 equals destination size [-Wstringop-truncation]
3494 | strncpy(sender, inet_ntoa(msg->addr.sin_addr), sizeof(sender));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o xymond -Wl,--rpath, xymond.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymontime.a -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_channel.o xymond_channel.c
gcc -o xymond_channel -Wl,--rpath, xymond_channel.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymontime.a -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_locator.o xymond_locator.c
gcc -o xymond_locator -Wl,--rpath, xymond_locator.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_filestore.o xymond_filestore.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_worker.o xymond_worker.c
gcc -o xymond_filestore -Wl,--rpath, xymond_filestore.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_history.o xymond_history.c
gcc -o xymond_history -Wl,--rpath, xymond_history.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_alert.o xymond_alert.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o do_alert.o do_alert.c
gcc -o xymond_alert -Wl,--rpath, xymond_alert.o xymond_worker.o do_alert.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_sample.o xymond_sample.c
gcc -o xymond_sample -Wl,--rpath, xymond_sample.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/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: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);
| ^~~~~~~~~~~
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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o client_config.o client_config.c
gcc -o xymond_client -Wl,--rpath, xymond_client.o xymond_worker.o client_config.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_hostdata.o xymond_hostdata.c
xymond_hostdata.c: In function ���main���:
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 4097) into a destination of size 4096
213 | sprintf(fn, "%s/%s", hostdir, metadata[4]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o xymond_hostdata -Wl,--rpath, xymond_hostdata.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_capture.o xymond_capture.c
gcc -o xymond_capture -Wl,--rpath, xymond_capture.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_distribute.o xymond_distribute.c
gcc -o xymond_distribute -Wl,--rpath, xymond_distribute.o xymond_worker.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/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 -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymonfetch -Wl,--rpath, xymonfetch.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymon-mailack.o xymon-mailack.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymon-mailack -Wl,--rpath, xymon-mailack.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o trimhistory.o trimhistory.c
trimhistory.c: In function ���trim_logs���:
trimhistory.c:336:66: warning: ���%s��� directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=]
336 | sprintf(fn2, "%s/%s", fn1, lent->d_name);
| ^~
trimhistory.c:336:49: note: ���sprintf��� output between 2 and 4352 bytes into a destination of size 4096
336 | sprintf(fn2, "%s/%s", fn1, lent->d_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o trimhistory -Wl,--rpath, trimhistory.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/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 -o combostatus -Wl,--rpath, combostatus.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
cat xymonreports.sh.DIST | sed -e 's!@XYMONHOME@!/opt/xymon//server!g' >xymonreports.sh
chmod 755 xymonreports.sh
cat moverrd.sh.DIST | sed -e 's!@XYMONHOME@!/opt/xymon//server!g' | sed -e 's!@XYMONVAR@!/opt/xymon//data!g' >moverrd.sh
chmod 755 moverrd.sh
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o convertnk.o convertnk.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o convertnk -Wl,--rpath, convertnk.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o rrdcachectl.o rrdcachectl.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o rrdcachectl -Wl,--rpath, rrdcachectl.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymond_rrd.o xymond_rrd.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DRRD_CONST_ARGS=1 -c -o do_rrd.o do_rrd.c
In file included from do_rrd.c:645:
rrd/do_netstat.c: In function ���do_valbeforemarker���:
rrd/do_netstat.c:418:33: warning: this ���if��� clause does not guard... [-Wmisleading-indentation]
418 | if (*ln == '\n') ln++; ln += strspn(ln, " \t");
| ^~
rrd/do_netstat.c:418:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ���if���
418 | if (*ln == '\n') ln++; ln += strspn(ln, " \t");
| ^~
do_rrd.c: In function ���rrddatasets���:
do_rrd.c:602:53: warning: ���%s��� directive output may be truncated writing up to 4095 bytes into a region of size 4093 [-Wformat-truncation=]
602 | snprintf(filedir, sizeof(filedir)-1, "%s/%s/%s", rrddir, hostname, rrdfn);
| ^~ ~~~~~
do_rrd.c:602:9: note: ���snprintf��� output 3 or more bytes (assuming 4098) into a destination of size 4095
602 | snprintf(filedir, sizeof(filedir)-1, "%s/%s/%s", rrddir, hostname, rrdfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
do_rrd.c: In function ���create_and_update_rrd���:
do_rrd.c:301:53: warning: ���%s��� directive output may be truncated writing up to 4095 bytes into a region of size 4093 [-Wformat-truncation=]
301 | snprintf(filedir, sizeof(filedir)-1, "%s/%s/%s", rrddir, hostname, rrdfn);
| ^~ ~~~~~
do_rrd.c:301:9: note: ���snprintf��� output 3 or more bytes (assuming 4098) into a destination of size 4095
301 | snprintf(filedir, sizeof(filedir)-1, "%s/%s/%s", rrddir, hostname, rrdfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o xymond_rrd -Wl,--rpath, xymond_rrd.o xymond_worker.o do_rrd.o client_config.o ../lib/libxymontime.a ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lrrd -lpcre
cat etcfiles/xymon-apache-secure.DIST | sed -e 's!@XYMONHOME@!/opt/xymon//server!g' | sed -e 's!@INSTALLETCDIR@!/opt/xymon//server/etc!g' | sed -e 's!@INSTALLWWWDIR@!/opt/xymon//server/www!g' | sed -e 's!@CGIDIR@!/opt/xymon//cgi-bin!g' | sed -e 's!@SECURECGIDIR@!/opt/xymon//cgi-secure!g' | sed -e 's!@XYMONHOSTURL@!/xymon!g' | sed -e 's!@XYMONCGIURL@!/xymon-cgi!g' | sed -e 's!@SECUREXYMONCGIURL@!/xymon-seccgi!g' >etcfiles/xymon-apache.conf
cat etcfiles/xymonserver.cfg.DIST | sed -e 's!@XYMONTOPDIR@!/opt/xymon/!g'| sed -e 's!@XYMONLOGDIR@!/var/log/xymon!g'| sed -e 's!@XYMONHOSTNAME@!cb-ol10!g'| sed -e 's!@XYMONHOSTIP@!172.24.19.42!g'| sed -e 's!@XYMONHOSTOS@!linux!g' | sed -e 's!@XYMONHOSTURL@!/xymon!g' | sed -e 's!@XYMONCGIURL@!/xymon-cgi!g' | sed -e 's!@SECUREXYMONCGIURL@!/xymon-seccgi!g' | sed -e 's!@XYMONHOME@!/opt/xymon//server!g' | sed -e 's!@XYMONVAR@!/opt/xymon//data!g' | sed -e 's!@FPING@!/usr/sbin/fping!g' | sed -e 's!@MAILPROGRAM@!mail!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@!cb-ol10!g' | sed -e 's!@XYMONHOSTIP@!172.24.19.42!g' >etcfiles/hosts.cfg
cat etcfiles/alerts.cfg.DIST | sed -e 's!@XYMONHOSTNAME@!cb-ol10!g' | sed -e 's!@XYMONHOSTIP@!172.24.19.42!g' >etcfiles/alerts.cfg
cat etcfiles/tasks.cfg.DIST | sed -e 's!@XYMONHOME@!/opt/xymon//server!g' | sed -e 's!@XYMONTOPDIR@!/opt/xymon/!g' >etcfiles/tasks.cfg
cat etcfiles/cgioptions.cfg.DIST | sed -e 's!@XYMONHOME@!/opt/xymon//server!g' >etcfiles/cgioptions.cfg
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/xymond'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" RPATHOPT="-Wl,--rpath," DORRD="yes" RRDDEF="-DRRD_CONST_ARGS=1" RRDINCDIR="" PCREINCDIR="" ZLIBINCDIR="" ZLIBLIBS="" SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" RRDLIBS="-lrrd " PCRELIBS="-lpcre" LIBRTDEF="" XYMONTOPDIR="/opt/xymon/" XYMONHOME="/opt/xymon//server" XYMONVAR="/opt/xymon//data" XYMONLOGDIR="/var/log/xymon" XYMONHOSTNAME="cb-ol10" XYMONHOSTIP="172.24.19.42" XYMONHOSTOS="linux" XYMONUSER="xymon" CGIDIR="/opt/xymon//cgi-bin" SECURECGIDIR="/opt/xymon//cgi-secure" XYMONHOSTURL="/xymon" XYMONCGIURL="/xymon-cgi" SECUREXYMONCGIURL="/xymon-seccgi" MAILPROGRAM=""mail"" RUNTIMEDEFS="" INSTALLWWWDIR="/opt/xymon//server/www" INSTALLETCDIR="/opt/xymon//server/etc" make -C web all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/web'
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o history.o history.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o history.cgi history.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o eventlog.o eventlog.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o eventlog.cgi eventlog.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o report.o report.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o report.cgi report.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o reportlog.o reportlog.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o reportlog.cgi reportlog.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o snapshot.o snapshot.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o snapshot.cgi snapshot.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o findhost.o findhost.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o findhost.cgi findhost.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o csvinfo.o csvinfo.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o csvinfo.cgi csvinfo.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o acknowledge.o acknowledge.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o acknowledge.cgi acknowledge.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o xymonpage.o xymonpage.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o xymonpage xymonpage.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o datepage.o datepage.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o datepage.cgi datepage.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o svcstatus.o svcstatus.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o svcstatus-info.o svcstatus-info.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o svcstatus-trends.o svcstatus-trends.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o svcstatus.cgi svcstatus.o svcstatus-info.o svcstatus-trends.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o enadis.o enadis.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o enadis.cgi enadis.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o confreport.o confreport.c
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 4096 equals destination size [-Wstringop-truncation]
126 | strncpy(fn, de->d_name + 4, sizeof(fn));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o confreport.cgi confreport.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o criticalview.o criticalview.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o criticalview.cgi -Wl,--rpath, criticalview.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o criticaleditor.o criticaleditor.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o criticaleditor.cgi -Wl,--rpath, criticaleditor.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o ackinfo.o ackinfo.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o ackinfo.cgi -Wl,--rpath, ackinfo.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o statusreport.o statusreport.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o statusreport.cgi statusreport.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o boilerplate.o boilerplate.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o boilerplate.cgi -Wl,--rpath, boilerplate.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o hostgraphs.o hostgraphs.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o hostgraphs.cgi -Wl,--rpath, hostgraphs.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o ghostlist.o ghostlist.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o ghostlist.cgi -Wl,--rpath, ghostlist.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o notifications.o notifications.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o notifications.cgi -Wl,--rpath, notifications.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o acknowledgements.o acknowledgements.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o acknowledgements.cgi -Wl,--rpath, acknowledgements.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o hostlist.o hostlist.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o hostlist.cgi -Wl,--rpath, hostlist.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o useradm.o useradm.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o useradm.cgi -Wl,--rpath, useradm.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o chpasswd.o chpasswd.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o chpasswd.cgi -Wl,--rpath, chpasswd.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -c -o appfeed.o appfeed.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o appfeed.cgi -Wl,--rpath, appfeed.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc ../lib/libxymon.a -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DXYMONHOME=\"/opt/xymon//server\" -c -o cgiwrap.o cgiwrap.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o cgiwrap cgiwrap.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DRRD_CONST_ARGS=1 -c -o showgraph.o showgraph.c
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o showgraph.cgi -Wl,--rpath, showgraph.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre -lrrd
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -DRRD_CONST_ARGS=1 -c -o perfdata.o perfdata.c
perfdata.c: In function ���format_rrdtime���:
perfdata.c:313:30: warning: ���%4d��� directive output may be truncated writing between 4 and 11 bytes into a region of size 10 [-Wformat-truncation=]
313 | snprintf(*tday, 10, "%4d%02d%02d", year, month, day);
| ^~~
perfdata.c:313:29: note: directive argument in the range [-2147481648, 2147483647]
313 | snprintf(*tday, 10, "%4d%02d%02d", year, month, day);
| ^~~~~~~~~~~~~
perfdata.c:313:9: note: ���snprintf��� output between 9 and 34 bytes into a destination of size 10
313 | snprintf(*tday, 10, "%4d%02d%02d", year, month, day);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o perfdata.cgi -Wl,--rpath, perfdata.o ../lib/libxymoncomm.a -lssl -lcrypto -ltirpc -lpcre -lrrd -lm
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/web'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="" ZLIBINCDIR="" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="" SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" LIBRTDEF="" XYMONTOPDIR="/opt/xymon/" XYMONHOME="/opt/xymon//client" XYMONCLIENTHOME=/opt/xymon//client XYMONLOGDIR="/var/log/xymon" XYMONHOSTNAME="cb-ol10" XYMONHOSTIP="172.24.19.42" XYMONHOSTOS="linux" LOCALCLIENT="" make -C lib client
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/lib'
make[1]: Nothing to be done for 'client'.
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/lib'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="" SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" ZLIBLIBS="" LIBRTDEF="" XYMONHOME="/opt/xymon//client" make -C common client
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/common'
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o ../client/xymon xymon.o ../lib/libxymonclientcomm.a -lssl -lcrypto -ltirpc ../lib/libxymonclient.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o ../client/xymonlaunch xymonlaunch.o ../lib/libxymontime.a ../lib/libxymonclient.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o ../client/xymoncmd xymoncmd.o ../lib/libxymonclient.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o ../client/xymongrep xymongrep.o ../lib/libxymonclientcomm.a -lssl -lcrypto -ltirpc ../lib/libxymonclient.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o ../client/xymoncfg xymoncfg.o ../lib/libxymonclient.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o ../client/xymondigest xymondigest.o ../lib/libxymonclientcomm.a -lssl -lcrypto -ltirpc ../lib/libxymonclient.a
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/common'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include " XYMONHOME="/opt/xymon//client" XYMONHOSTIP="172.24.19.42" LOCALCLIENT="" SSLLIBS="-lssl -lcrypto" NETLIBS="-ltirpc" LIBRTDEF="" make -C client all
make[1]: Entering directory '/install/xymon-rrd-abi-compat-cleanup-1.9/client'
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o logfetch logfetch.c ../lib/libxymonclient.a
logfetch.c: In function ���logdata���:
logfetch.c:329:25: warning: ���strncpy��� output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
329 | strncpy(fillpos, curpostxt, strlen(curpostxt)); /* add in the CURRENT + \n */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:329:25: note: length computed here
329 | strncpy(fillpos, curpostxt, strlen(curpostxt)); /* add in the CURRENT + \n */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:330:25: warning: ���strncpy��� specified bound depends on the length of the source argument [-Wstringop-truncation]
330 | strncpy(fillpos+strlen(curpostxt), t, strlen(t)); /* add in whatever this line originally was */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:330:25: note: length computed here
330 | strncpy(fillpos+strlen(curpostxt), t, strlen(t)); /* add in whatever this line originally was */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:499:32: warning: ���strncpy��� output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
499 | strncpy(pos, skiptxt, strlen(skiptxt));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:499:32: note: length computed here
499 | strncpy(pos, skiptxt, strlen(skiptxt));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:503:32: warning: ���strncpy��� specified bound depends on the length of the source argument [-Wstringop-truncation]
503 | strncpy(pos, triggerptrs[i][0], size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:502:39: note: length computed here
502 | size = strlen(triggerptrs[i][0]) - strlen(triggerptrs[i][1]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:536:41: warning: ���strncpy��� output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
536 | strncpy(pos, skiptxt, strlen(skiptxt));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
logfetch.c:536:41: note: length computed here
536 | strncpy(pos, skiptxt, strlen(skiptxt));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o clientupdate clientupdate.c ../lib/libxymonclientcomm.a -lssl -lcrypto -ltirpc ../lib/libxymonclient.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o orcaxymon orcaxymon.c ../lib/libxymonclientcomm.a -lssl -lcrypto -ltirpc ../lib/libxymonclient.a
gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/install/xymon-rrd-abi-compat-cleanup-1.9/include -o msgcache msgcache.c ../lib/libxymonclientcomm.a -lssl -lcrypto -ltirpc ../lib/libxymonclient.a
cat xymonclient.cfg.DIST | sed -e 's!@XYMONHOSTIP@!172.24.19.42!g' >xymonclient.cfg
../build/bb-commands.sh >>xymonclient.cfg
cat clientlaunch.cfg.DIST | sed -e 's!@CLIENTFLAGS@!!g' >clientlaunch.cfg
make[1]: Leaving directory '/install/xymon-rrd-abi-compat-cleanup-1.9/client'
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 'make install' as root
[root@cb-ol10 xymon-rrd-abi-compat-cleanup-1.9]#