MidnightBSD Magus

net-mgmt/sysmon

Network tool designed for high performance and accurate monitoring

Flavor Version Run OSVersion Arch License Restricted Status
0.93 621 4.0 amd64 gpl2 0 fail

License Permissions:

Events

Machine Type Time Message
m4064b info 2025-12-09 10:44:26.26168 Test Started
m4064b fail 2025-12-09 10:44:39.262726 make build returned non-zero: 1
m4064b fail 2025-12-09 10:44:39.327699 Test complete.

Log

===>  Building for sysmon-0.93
--- all ---
(cd src; make )
--- heartbeat.o ---
--- syswatch.o ---
--- page.o ---
--- tcp.o ---
--- udp.o ---
--- icmp.o ---
--- pop3.o ---
--- umichX500.o ---
--- loadconfig.o ---
--- smtp.o ---
--- nntp.o ---
--- talktcp.o ---
--- imap.o ---
--- lib.o ---
--- textfile.o ---
--- http.o ---
--- srvclient.o ---
--- dnscache.o ---
--- ircd.o ---
--- sysmon.o ---
--- radius.o ---
--- md5.o ---
--- snpp.o ---
--- snmp.o ---
--- heartbeat.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c heartbeat.c -o heartbeat.o
--- syswatch.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c syswatch.c -o syswatch.o
--- page.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c page.c -o page.o
--- tcp.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c tcp.c -o tcp.o
--- udp.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c udp.c -o udp.o
--- icmp.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c icmp.c -o icmp.o
--- pop3.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c pop3.c -o pop3.o
--- umichX500.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c umichX500.c -o umichX500.o
--- loadconfig.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c loadconfig.c -o loadconfig.o
--- smtp.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c smtp.c -o smtp.o
--- nntp.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c nntp.c -o nntp.o
--- talktcp.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c talktcp.c -o talktcp.o
--- imap.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c imap.c -o imap.o
--- lib.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c lib.c -o lib.o
--- textfile.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c textfile.c -o textfile.o
--- http.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c http.c -o http.o
--- srvclient.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c srvclient.c -o srvclient.o
--- dnscache.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c dnscache.c -o dnscache.o
--- ircd.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c ircd.c -o ircd.o
--- sysmon.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c sysmon.c -o sysmon.o
--- radius.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c radius.c -o radius.o
--- md5.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c md5.c -o md5.o
--- snpp.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c snpp.c -o snpp.o
--- snmp.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c snmp.c -o snmp.o
--- md5.o ---
md5.c:104:9: warning: passing arguments to 'MD5Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  104 |         MD5Init(&context);
      |                ^
md5.c:105:11: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  105 |         MD5Update(&context, input, inlen);
      |                  ^
md5.c:106:10: warning: passing arguments to 'MD5Final' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  106 |         MD5Final(output, &context);
      |                 ^
md5.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   97 | md5_calc(output, input, inlen)
      | ^
md5.c:112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  112 | void MD5Init (context)
      |      ^
In file included from md5.c:26:
./md5.h:68:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   68 | void MD5Init PROTO_LIST ((MD5_CTX *));
      |      ^
md5.c:150:4: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  150 |    ((POINTER)&context->buffer[index], (POINTER)input, partLen);
      |    ^
md5.c:151:15: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  151 |  MD5Transform (context->state, context->buffer);
      |               ^
md5.c:154:17: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  154 |    MD5Transform (context->state, &input[i]);
      |                 ^
md5.c:163:2: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  163 |  ((POINTER)&context->buffer[index], (POINTER)&input[i],
      |  ^
md5.c:128:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  128 | void MD5Update (context, input, inputLen)
      |      ^
In file included from md5.c:26:
./md5.h:69:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   69 | void MD5Update PROTO_LIST
      |      ^
md5.c:178:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  178 |   Encode (bits, context->count, 8);
      |          ^
md5.c:190:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  190 |   Encode (digest, context->state, 16);
      |          ^
md5.c:194:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  194 |   MD5_memset ((POINTER)context, 0, sizeof (*context));
      |              ^
md5.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  170 | void MD5Final (digest, context)
      |      ^
In file included from md5.c:26:
./md5.h:71:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   71 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *));
      |      ^
md5.c:205:10: warning: passing arguments to 'Decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  205 |   Decode (x, block, 64);
      |          ^
md5.c:286:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
--- heartbeat.o ---
heartbeat.c:14:26: warning: passing arguments to 'udp_open_sock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   14 |         msg_sock = udp_open_sock(msg_sock);
      |                                 ^
heartbeat.c:21:24: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   21 |         hp = my_gethostbyname(HEARTBEAT_HOST, AF_INET);
      |                               ^~~~~~~~~~~~~~
./config.h:443:24: note: expanded from macro 'HEARTBEAT_HOST'
  443 | #define HEARTBEAT_HOST "204.42.254.5"
      |                        ^~~~~~~~~~~~~~
./config.h:748:52: note: passing argument to parameter here
  748 | struct my_hostent *my_gethostbyname(unsigned char *, int);
      |                                                    ^
2 warnings generated.
--- syswatch.o ---
In file included from syswatch.c:2:
./config.h:719:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
  719 | void stop_it();
      |      ^
syswatch.c:390:6: note: conflicting prototype is here
  390 | void stop_it(time_t now)
      |      ^
--- page.o ---
page.c:154:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  154 |                                         strcat(out, svc->message);
      |                                                     ^~~~~~~~~~~~
/usr/include/string.h:79:56: note: passing argument to parameter here
   79 | char    *strcat(char * __restrict, const char * __restrict);
      |                                                           ^
page.c:165:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  165 |                                         strcat(out, svc->hostname);
      |                                                     ^~~~~~~~~~~~~
/usr/include/string.h:79:56: note: passing argument to parameter here
--- udp.o ---
udp.c:38:32: warning: 'memset' call operates on objects of type 'struct udpdata' while the size is based on a different type 'struct udpdata *' [-Wsizeof-pointer-memaccess]
   38 |         memset(localstruct, 0, sizeof(localstruct));
      |                ~~~~~~~~~~~            ^~~~~~~~~~~
udp.c:38:32: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
   38 |         memset(localstruct, 0, sizeof(localstruct));
      |                                       ^~~~~~~~~~~
In file included from udp.c:2:
./config.h:742:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
  742 | int udp_open_sock();
      |     ^
udp.c:277:5: note: conflicting prototype is here
  277 | int     udp_open_sock(int sock)
      |         ^
--- loadconfig.o ---
loadconfig.c:104:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  104 |         setter->name = STRDUP(var,"config variable name");
      |                               ^~~
./config.h:824:20: note: passing argument to parameter here
  824 | void *STRDUP(char *, char *);
      |                    ^
loadconfig.c:105:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  105 |         setter->value = STRDUP(value,"config variable value");
      |                                ^~~~~
./config.h:824:20: note: passing argument to parameter here
  824 | void *STRDUP(char *, char *);
      |                    ^
--- talktcp.o ---
talktcp.c:27:63: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
   27 |         vals = getsockopt(fd, SOL_SOCKET, SO_ERROR,  (void*)&optval, &size);
      |                                                                      ^~~~~
/usr/include/sys/socket.h:691:72: note: passing argument to parameter here
  691 | int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
      |                                                                            ^
talktcp.c:76:70: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
   76 |         vals = getsockopt(fd, SOL_SOCKET, SO_ERROR, (void*) &optval, &size);
      |                                                                      ^~~~~
/usr/include/sys/socket.h:691:72: note: passing argument to parameter here
--- lib.o ---
lib.c:1331:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1331 | {   return cmp(a, b) < 0 ?
      |               ^
lib.c:1332:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1332 |        (cmp(b, c) < 0 ? b : cmp(a, c) < 0 ? c : a)
      |            ^
lib.c:1332:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1332 |        (cmp(b, c) < 0 ? b : cmp(a, c) < 0 ? c : a)
      |                                ^
lib.c:1333:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1333 |      : (cmp(b, c) > 0 ? b : cmp(a, c) > 0 ? c : a);
      |            ^
--- http.o ---
http.c:207:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  207 |                                         strlen(buffer) < strlen(here->checkent->url_text))
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
http.c:211:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  211 |                                 if (strstr(buffer,here->checkent->url_text))
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:125:40: note: passing argument to parameter here
--- md5.o ---
  286 |   MD5_memset ((POINTER)x, 0, sizeof (x));
      |              ^
md5.c:199:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  199 | static void MD5Transform (state, block)
      |             ^
md5.c:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   47 | static void MD5Transform PROTO_LIST ((UINT4 [4], unsigned char [64]));
      |             ^
md5.c:292:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  292 | static void Encode (output, input, len)
      |             ^
--- snmp.o ---
snmp.c:52:63: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
   52 |         len = recvfrom(skt, buffer, 4095, 0, (struct sockaddr*)from, &fromlen);
      |                                                                      ^~~~~~~~
/usr/include/sys/socket.h:694:96: note: passing argument to parameter here
  694 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
      |                                                                                                ^
snmp.c:56:2: warning: call to undeclared function 'print_in_hex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   56 |         print_in_hex(buffer, len);
      |         ^
--- page.o ---
   79 | char    *strcat(char * __restrict, const char * __restrict);
      |                                                           ^
page.c:215:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  215 |         runme = translate_string(svc->command, svc, myhostname);
      |                                  ^~~~~~~~~~~~
page.c:7:30: note: passing argument to parameter 'str' here
    7 | char *translate_string(char *str, struct hostinfo *svc, char *myhostname)
      |                              ^
page.c:218:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  218 |         if ((svc->contact == NULL) || (strlen(svc->contact) == 0))
      |                                               ^~~~~~~~~~~~
--- loadconfig.o ---
loadconfig.c:118:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  118 |                 if (strcmp(string,here->name) == 0)
      |                            ^~~~~~
/usr/include/string.h:85:25: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                             ^
loadconfig.c:118:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  118 |                 if (strcmp(string,here->name) == 0)
      |                                   ^~~~~~~~~~
/usr/include/string.h:85:39: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                                           ^
--- talktcp.o ---
  691 | int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
      |                                                                            ^
talktcp.c:235:27: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
  235 |         memset(buffer, 0, sizeof(buffer));
      |                ~~~~~~            ^~~~~~
talktcp.c:235:27: note: did you mean to provide an explicit length?
  235 |         memset(buffer, 0, sizeof(buffer));
      |                                  ^~~~~~
talktcp.c:328:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  328 |         hp = my_gethostbyname(host, AF_INET);
      |                               ^~~~
./config.h:748:52: note: passing argument to parameter here
--- lib.o ---
lib.c:1333:32: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1333 |      : (cmp(b, c) > 0 ? b : cmp(a, c) > 0 ? c : a);
      |                                ^
lib.c:1346:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1346 |          for (pl = pm; pl > a && cmp(pl-es, pl) > 0; pl -= es)
      |                                     ^
lib.c:1366:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1366 |       while (pb <= pc && (r = cmp(pb, pv)) <= 0) {
      |                                  ^
lib.c:1370:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
--- http.o ---
  125 | char    *strstr(const char *, const char *) __pure;
      |                                           ^
--- md5.o ---
md5.c:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   48 | static void Encode PROTO_LIST
      |             ^
md5.c:310:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  310 | static void Decode (output, input, len)
      |             ^
md5.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   50 | static void Decode PROTO_LIST
      |             ^
md5.c:325:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  325 | static void MD5_memcpy (output, input, len)
      |             ^
--- page.o ---
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
page.c:325:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  325 |                 out = translate_string(svc->pmesg, svc, myhostname);
      |                                        ^~~~~~~~~~
page.c:7:30: note: passing argument to parameter 'str' here
    7 | char *translate_string(char *str, struct hostinfo *svc, char *myhostname)
      |                              ^
page.c:342:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  342 |                                 translate_string(svc->command, svc, myhostname));
--- loadconfig.o ---
loadconfig.c:120:11: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  120 |                         return here->value;
      |                                ^~~~~~~~~~~
loadconfig.c:141:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  141 |         for (x = 0;x < strlen(string) ;x++)
      |                               ^~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
loadconfig.c:145:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
--- talktcp.o ---
  748 | struct my_hostent *my_gethostbyname(unsigned char *, int);
      |                                                    ^
--- lib.o ---
 1370 |       while (pc >= pb && (r = cmp(pc, pv)) >= 0) {
      |                                  ^
--- md5.o ---
md5.c:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   52 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int));
      |             ^
md5.c:338:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  338 | static void MD5_memset (output, value, len)
      |             ^
md5.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
   53 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int));
      |             ^
--- syswatch.o ---
syswatch.c:799:63: error: incompatible function pointer types passing 'int (void **, void **)' to parameter of type 'int (* _Nonnull)(const void *, const void *)' [-Wincompatible-function-pointer-types]
  799 |                         qsort(queue_list, numele, sizeof(struct graph_elements *), q_time_cmp);
      |                                                                                    ^~~~~~~~~~
--- page.o ---
      |                                                  ^~~~~~~~~~~~
page.c:7:30: note: passing argument to parameter 'str' here
    7 | char *translate_string(char *str, struct hostinfo *svc, char *myhostname)
      |                              ^
page.c:352:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  352 |         if (svc->contact == NULL || strlen (svc->contact) == 0)
      |                                             ^~~~~~~~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
page.c:435:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  435 |                 svc->lastmsgid = strdup(msgid);
--- loadconfig.o ---
  145 |                         for (y =x; y < strlen(string);y++)
      |                                               ^~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
loadconfig.c:153:12: warning: passing 'unsigned char[32768]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  153 |                         strncpy(buff, string+x+1, (y-x)-1);
      |                                 ^~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
  106 | char    *strncpy(char * __restrict, const char * __restrict, size_t);
      |                                   ^
loadconfig.c:153:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
--- syswatch.o ---
/usr/include/stdlib.h:111:21: note: passing argument to parameter here
  111 |             int (* _Nonnull)(const void *, const void *));
      |                            ^
--- page.o ---
      |                                ^ ~~~~~~~~~~~~~
--- loadconfig.o ---
  153 |                         strncpy(buff, string+x+1, (y-x)-1);
      |                                       ^~~~~~~~~~
/usr/include/string.h:106:57: note: passing argument to parameter here
  106 | char    *strncpy(char * __restrict, const char * __restrict, size_t);
      |                                                            ^
loadconfig.c:154:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  154 |                         repl = find_value(buff);
      |                              ^ ~~~~~~~~~~~~~~~~
loadconfig.c:157:12: warning: passing 'unsigned char[32768]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  157 |                                 strcat(new_string, repl);
      |                                        ^~~~~~~~~~
/usr/include/string.h:79:31: note: passing argument to parameter here
   79 | char    *strcat(char * __restrict, const char * __restrict);
      |                                  ^
loadconfig.c:157:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  157 |                                 strcat(new_string, repl);
      |                                                    ^~~~
/usr/include/string.h:79:56: note: passing argument to parameter here
   79 | char    *strcat(char * __restrict, const char * __restrict);
      |                                                           ^
loadconfig.c:161:12: warning: passing 'unsigned char[32768]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  161 |                         strncat(new_string, string+x, 1);
      |                                 ^~~~~~~~~~
/usr/include/string.h:104:32: note: passing argument to parameter here
  104 | char    *strncat(char * __restrict, const char * __restrict, size_t);
      |                                   ^
loadconfig.c:161:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  161 |                         strncat(new_string, string+x, 1);
      |                                             ^~~~~~~~
/usr/include/string.h:104:57: note: passing argument to parameter here
  104 | char    *strncat(char * __restrict, const char * __restrict, size_t);
      |                                                            ^
loadconfig.c:166:17: warning: passing 'unsigned char[32768]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  166 |                 return STRDUP(new_string,"config variable replacement value");
      |                               ^~~~~~~~~~
./config.h:824:20: note: passing argument to parameter here
  824 | void *STRDUP(char *, char *);
      |                    ^
loadconfig.c:305:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  305 |                 if ((strcmp(matchme->value->data->hostname, 
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:85:25: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                             ^
loadconfig.c:306:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  306 |                         here->value->data->hostname) == 0) &&
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:85:39: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                                           ^
loadconfig.c:307:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  307 |                 (strcmp(matchme->value->unique_name, here->value->unique_name)==0) &&
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:85:25: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                             ^
loadconfig.c:307:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  307 |                 (strcmp(matchme->value->unique_name, here->value->unique_name)==0) &&
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:85:39: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                                           ^
loadconfig.c:330:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  330 |         new->unique_id = STRDUP(old->unique_id,"copy of unique ID");
      |                                 ^~~~~~~~~~~~~~
./config.h:824:20: note: passing argument to parameter here
  824 | void *STRDUP(char *, char *);
--- snmp.o ---
2 warnings generated.
--- loadconfig.o ---
      |                    ^
loadconfig.c:346:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  346 |                 new->lastmsgid = STRDUP(old->lastmsgid,"last msgid");
      |                                         ^~~~~~~~~~~~~~
./config.h:824:20: note: passing argument to parameter here
  824 | void *STRDUP(char *, char *);
      |                    ^
loadconfig.c:348:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  348 |                 new->notes = STRDUP(old->notes, "old notes");
      |                                     ^~~~~~~~~~
./config.h:824:20: note: passing argument to parameter here
  824 | void *STRDUP(char *, char *);
      |                    ^
--- pingv6.o ---
--- loadconfig.o ---
loadconfig.c:502:16: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
  502 |                         if (subject != SUBJECT)
      |                                     ^  ~~~~~~~
loadconfig.c:600:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  600 |                 if (strcmp(here->value->unique_name, text_name) == 0)
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:85:25: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                             ^
loadconfig.c:622:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  622 |                 if (strcmp(here->value->dep_txt_name[x], name) == 0)
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:85:25: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                             ^
loadconfig.c:625:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  625 |                         return find_object_by_name(here->value->dep_txt_name[x]); 
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
loadconfig.c:591:50: note: passing argument to parameter 'text_name' here
  591 | struct graph_elements *find_object_by_name(char *text_name)
      |                                                  ^
--- pingv6.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c pingv6.c -o pingv6.o
--- loadconfig.o ---
loadconfig.c:642:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  642 |                 if (strcmp(nei_tmp->nei_name, add->unique_name) == 0)
      |                            ^~~~~~~~~~~~~~~~~
/usr/include/string.h:85:25: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                             ^
loadconfig.c:642:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  642 |                 if (strcmp(nei_tmp->nei_name, add->unique_name) == 0)
      |                                               ^~~~~~~~~~~~~~~~
/usr/include/string.h:85:39: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                                           ^
loadconfig.c:647:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  647 |         new_nei->nei_name = strdup(add->unique_name);
      |                                    ^~~~~~~~~~~~~~~~
/usr/include/string.h:90:26: note: passing argument to parameter here
   90 | char    *strdup(const char *) __malloc_like;
      |                             ^
loadconfig.c:647:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  647 |         new_nei->nei_name = strdup(add->unique_name);
      |                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~
loadconfig.c:678:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  678 |                         find_result = find_object_by_name(here->value->dep_txt_name[x]);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
loadconfig.c:591:50: note: passing argument to parameter 'text_name' here
  591 | struct graph_elements *find_object_by_name(char *text_name)
      |                                                  ^
loadconfig.c:709:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  709 |                         find_result = search_dep_list(here2, here->value->unique_name);
      |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~
loadconfig.c:613:8: note: passing argument to parameter 'name' here
  613 |         char *name)
      |               ^
loadconfig.c:843:2: warning: call to undeclared function 'sysmon_conf_yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
--- logging.o ---
--- dns.o ---
--- loadconfig.o ---
  843 |         sysmon_conf_yylex();
      |         ^
--- ssh.o ---
--- logging.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c logging.c -o logging.o
--- dns.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c dns.c -o dns.o
--- ssh.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c ssh.c -o ssh.o
--- syswatch.o ---
syswatch.c:1207:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 1207 |                 client_send_statechange(handle_this->unique_name, handle_this->checkent->lastcheck, handle_this->retval);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~
./config.h:820:36: note: passing argument to parameter here
  820 | void client_send_statechange(char *, int , int);
      |                                    ^
syswatch.c:1592:20: warning: passing arguments to 'do_tree_periodic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1592 |                         do_tree_periodic(now_t); /* Do periodic checks/tests */
      |                                         ^
syswatch.c:1609:20: warning: passing arguments to 'do_tree_periodic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1609 |                         do_tree_periodic(now_t);
      |                                         ^
--- client.o ---
--- parser.o ---
--- udp.o ---
2 warnings generated.
--- client.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c client.c -o client.o
--- parser.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c parser.c -o parser.o
--- syswatch.o ---
In file included from syswatch.c:2:
./config.h:739:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
  739 | void do_tree_periodic();
      |      ^
syswatch.c:1799:6: note: conflicting prototype is here
 1799 | void do_tree_periodic(time_t now)
      |      ^
5 warnings and 1 error generated.
--- http.o ---
2 warnings generated.
--- syswatch.o ---
*** [syswatch.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/net-mgmt/sysmon/work/sysmon-0.93/src
--- page.o ---
8 warnings generated.
--- icmp.o ---
icmp.c:140:30: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  140 |                         (struct sockaddr *)&from, &fromlen)) < 0)
      |                                                   ^~~~~~~~
/usr/include/sys/socket.h:694:96: note: passing argument to parameter here
  694 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
      |                                                                                                ^
--- srvclient.o ---
srvclient.c:465:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  465 |                 found_obj->data->notes = strdup(buff+x+1);
      |                                        ^ ~~~~~~~~~~~~~~~~
--- dnscache.o ---
dnscache.c:235:8: warning: address of 'hp' will always evaluate to 'true' [-Wpointer-bool-conversion]
  235 |         if (!&hp)
      |             ~ ^~
--- icmp.o ---
icmp.c:434:42: warning: passing arguments to 'in_cksum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  434 |         localdata->icp->ICMP_CHECKSUM = in_cksum((u_short *)localdata->icp, send_octets);
      |                                                 ^
--- dnscache.o ---
dnscache.c:244:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  244 |         newent->hostname = strdup(hostname);
      |                          ^ ~~~~~~~~~~~~~~~~
dnscache.c:254:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  254 |         newent->hp->h_name = strdup(hp.h_name);
      |                            ^ ~~~~~~~~~~~~~~~~~
--- radius.o ---
radius.c:250:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  250 |         secretlen = strlen(Secret);
      |                            ^~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
--- dnscache.o ---
dnscache.c:295:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  295 |                 if (strcmp(hostname, here->hostname) == 0)
      |                            ^~~~~~~~
/usr/include/string.h:85:25: note: passing argument to parameter here
--- icmp.o ---
icmp.c:465:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  465 | unsigned short in_cksum(addr, len)
      |                ^
--- dnscache.o ---
   85 | int      strcmp(const char *, const char *) __pure;
      |                             ^
dnscache.c:295:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  295 |                 if (strcmp(hostname, here->hostname) == 0)
      |                                      ^~~~~~~~~~~~~~
/usr/include/string.h:85:39: note: passing argument to parameter here
   85 | int      strcmp(const char *, const char *) __pure;
      |                                           ^
--- icmp.o ---
In file included from icmp.c:2:
./config.h:653:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
  653 | unsigned short in_cksum();
      |                ^
--- dnscache.o ---
dnscache.c:302:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  302 |         return do_my_gethostbyname(hostname, get_af);
      |                                    ^~~~~~~~
dnscache.c:200:46: note: passing argument to parameter 'hostname' here
  200 | struct my_hostent *do_my_gethostbyname(char *hostname, int query_af)
      |                                              ^
--- radius.o ---
radius.c:300:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  300 |         ptr = (char *) passwd_resp;
      |             ^ ~~~~~~~~~~~~~~~~~~~~
radius.c:342:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  342 |         gen_ra(packet+4, 16);
      |                ^~~~~~~~
radius.c:317:19: note: passing argument to parameter 'data' here
  317 | void gen_ra(char *data, int len)
      |                   ^
radius.c:348:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  348 |         packet[21] = (strlen(here->checkent->username)+2);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
--- talktcp.o ---
4 warnings generated.
--- radius.o ---
radius.c:354:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  354 |         gen_passwd(packet+packetindex+2, &pwlen, here->checkent->password,
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~
radius.c:263:66: note: passing argument to parameter 'cleartext_pw' here
  263 | void gen_passwd(unsigned char *passwd_resp, int *resp_len, char *cleartext_pw,
      |                                                                  ^
radius.c:355:3: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  355 |                 here->checkent->secret, packet+4);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
radius.c:264:8: note: passing argument to parameter 'secret' here
  264 |         char *secret, unsigned char *request_authenticator)
      |               ^
radius.c:375:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  375 |         strcpy(packet+packetindex, "sysmon");
      |                ^~~~~~~~~~~~~~~~~~
/usr/include/string.h:87:31: note: passing argument to parameter here
   87 | char    *strcpy(char * __restrict, const char * __restrict);
      |                                  ^
--- srvclient.o ---
srvclient.c:775:73: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  775 |         msgsock = accept(clienthead->filedes,(struct sockaddr *)&remote,&size);
      |                                                                         ^~~~~
/usr/include/sys/socket.h:681:69: note: passing argument to parameter here
  681 | int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
      |                                                                         ^
srvclient.c:827:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  827 |         strcpy(thisclient->ip, inet_ntoa(remote.sin_addr)); /* save source ip */
      |                ^~~~~~~~~~~~~~
/usr/include/string.h:87:31: note: passing argument to parameter here
   87 | char    *strcpy(char * __restrict, const char * __restrict);
      |                                  ^
--- pingv6.o ---
pingv6.c:69:31: warning: passing arguments to 'in_cksum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
   69 |         icmph->icmp6_cksum = in_cksum(localdata->outpack, send_octets);
      |                                      ^
--- dns.o ---
dns.c:53:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   53 |         alloc_len = strlen(domainname) + 2;
      |                            ^~~~~~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
dns.c:57:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   57 |         while (x < strlen(domainname))
      |                           ^~~~~~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
  100 | size_t   strlen(const char *) __pure;
      |                             ^
dns.c:59:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   59 |                 for (;xhp = gethostbyname2(checkme->checkent->hostname, AF_INET6);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/netdb.h:266:44: note: passing argument to parameter here
  266 | struct hostent  *gethostbyname2(const char *, int);
      |                                             ^
pingv6.c:386:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  386 |                         (struct sockaddr *)&from, &fromlen)) < 0)
      |                                                   ^~~~~~~~
/usr/include/sys/socket.h:694:96: note: passing argument to parameter here
  694 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
      |                                                                                                ^
--- client.o ---
In file included from client.c:3:
./config.h:753:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
  753 | void client_poll();
      |      ^
client.c:48:6: note: conflicting prototype is here
   48 | void    client_poll(unsigned int local_timeout)
      |         ^
--- md5.o ---
29 warnings generated.
--- client.o ---
client.c:182:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  182 |         hp = my_gethostbyname(server, AF_INET);
      |                               ^~~~~~
./config.h:748:52: note: passing argument to parameter here
  748 | struct my_hostent *my_gethostbyname(unsigned char *, int);
      |                                                    ^
--- dnscache.o ---
6 warnings generated.
--- parser.o ---
parser.l:182:10: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  182 |   do_set(parser_value, parser_eq);
      |          ^~~~~~~~~~~~
./config.h:779:28: note: passing argument to parameter here
  779 | void do_set(unsigned char *, unsigned char *);
      |                            ^
parser.l:182:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  182 |   do_set(parser_value, parser_eq);
      |                        ^~~~~~~~~
./config.h:779:45: note: passing argument to parameter here
  779 | void do_set(unsigned char *, unsigned char *);
      |                                             ^
parser.l:516:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  516 |   temp_char = do_set_replace(parser_root);
      |                              ^~~~~~~~~~~
./config.h:780:46: note: passing argument to parameter here
  780 | unsigned char *do_set_replace(unsigned char *);
      |                                              ^
parser.l:516:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  516 |   temp_char = do_set_replace(parser_root);
      |             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- radius.o ---
7 warnings generated.
--- parser.o ---
parser.l:1416:2: warning: Need to add and store group [-W#warnings]
 1416 | #warning Need to add and store group
      |  ^
parser.l:2003:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 2003 |   temp_char = do_set_replace(parser_contact);
      |                              ^~~~~~~~~~~~~~
./config.h:780:46: note: passing argument to parameter here
  780 | unsigned char *do_set_replace(unsigned char *);
      |                                              ^
parser.l:2003:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 2003 |   temp_char = do_set_replace(parser_contact);
      |             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.l:2045:2: warning: child does not do anything [-W#warnings]
 2045 | #warning child does not do anything
      |  ^
parser.l:2074:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 2074 |   strncpy( parser_dep_tmp->nei_name, parser_pos1, parser_pos2 - parser_pos1 );
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:106:32: note: passing argument to parameter here
  106 | char    *strncpy(char * __restrict, const char * __restrict, size_t);
      |                                   ^
--- dns.o ---
4 warnings generated.
--- pingv6.o ---
3 warnings generated.
--- loadconfig.o ---
33 warnings generated.
--- parser.o ---
parser.l:2264:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 2264 |         hp = my_gethostbyname(parser_ip, -1);
      |                               ^~~~~~~~~
./config.h:748:52: note: passing argument to parameter here
  748 | struct my_hostent *my_gethostbyname(unsigned char *, int);
      |                                                    ^
parser.l:2386:31: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 2386 |                 new_ele->value->unique_name = parser_name;
      |                                             ^ ~~~~~~~~~~~
--- client.o ---
2 warnings generated.
--- parser.o ---
parser.l:2617:74: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 2617 |                                 new_ele->value->dep_txt_name[temp_int] = STRDUP(parser_dep_tmp->nei_name,"NEI name");
      |                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
./config.h:824:20: note: passing argument to parameter here
  824 | void *STRDUP(char *, char *);
      |                    ^
--- icmp.o ---
4 warnings generated.
--- lib.o ---
8 warnings generated.
--- srvclient.o ---
3 warnings generated.
--- parser.o ---
12 warnings generated.
1 error

make[1]: stopped in /magus/work/usr/mports/net-mgmt/sysmon/work/sysmon-0.93/src
*** [all] Error code 2

make: stopped in /magus/work/usr/mports/net-mgmt/sysmon/work/sysmon-0.93
1 error

make: stopped in /magus/work/usr/mports/net-mgmt/sysmon/work/sysmon-0.93
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/net-mgmt/sysmon

Links

Depends On

Nothing

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis