net-mgmt/sysmon
Network tool designed for high performance and accurate monitoring
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| 0.93 | 620 | 4.0 | amd64 | gpl2 | 0 | fail |
License Permissions:
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m4064b | info | 2025-11-03 18:36:55.159086 | Test Started |
| m4064b | fail | 2025-11-03 18:37:07.903435 | make build returned non-zero: 1 |
| m4064b | fail | 2025-11-03 18:37:07.990439 | Test complete. |
Log
[1m===> Building for sysmon-0.93[0m
--- 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]
--- 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)
| ^
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);
| ^~~~~~~~~~
/usr/include/stdlib.h:111:21: note: passing argument to parameter here
111 | int (* _Nonnull)(const void *, const void *));
| ^
--- 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)
| ^
--- 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);
| ^
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);
| ^
--- 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
--- 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
--- 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);
| ^ ~~~~~~~~~~~~~~~~
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);
| ^
--- md5.o ---
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:
--- pingv6.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 */
| ^
--- 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)
| ^
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();
| ^
--- 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
--- http.o ---
125 | char *strstr(const char *, const char *) __pure;
| ^
--- srvclient.o ---
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);
| ^
--- md5.o ---
./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]);
--- syswatch.o ---
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);
| ^
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)
| ^
--- 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);
| ^
--- md5.o ---
| ^
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);
| ^
--- 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 ---
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]
--- md5.o ---
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 *));
--- 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);
| ^~~~~~~~~~
--- md5.o ---
| ^
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]
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]));
--- loadconfig.o ---
/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);
--- md5.o ---
| ^
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)
| ^
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
--- loadconfig.o ---
| ^~~~~~~~~~
/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]
--- md5.o ---
| ^
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)
| ^
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)
| ^
--- loadconfig.o ---
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]
--- md5.o ---
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));
| ^
--- loadconfig.o ---
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 *);
| ^
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 *);
| ^
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)
| ^
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]
843 | sysmon_conf_yylex();
| ^
--- syswatch.o ---
5 warnings and 1 error generated.
--- logging.o ---
--- udp.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
--- 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
--- http.o ---
2 warnings generated.
--- 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;
| ^
--- 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);
| ^
--- 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;
| ^
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");
| ^~~~~~~~~~~~~~~~~~
--- 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]
--- radius.o ---
/usr/include/string.h:87:31: note: passing argument to parameter here
--- page.o ---
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);
| ^
--- radius.o ---
87 | char *strcpy(char * __restrict, const char * __restrict);
| ^
--- page.o ---
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
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))
| ^~~~~~~~~~~~
/usr/include/string.h:100:28: note: passing argument to parameter here
100 | size_t strlen(const char *) __pure;
| ^
--- snmp.o ---
2 warnings generated.
--- 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);
| ^
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) {
| ^
--- page.o ---
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);
| ^~~~~~~~~~
--- lib.o ---
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]
--- page.o ---
page.c:7:30: note: passing argument to parameter 'str' here
--- lib.o ---
1370 | while (pc >= pb && (r = cmp(pc, pv)) >= 0) {
| ^
--- page.o ---
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));
| ^~~~~~~~~~~~
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);
| ^ ~~~~~~~~~~~~~
--- icmp.o ---
4 warnings generated.
--- dnscache.o ---
dnscache.c:235:8: warning: address of 'hp' will always evaluate to 'true' [-Wpointer-bool-conversion]
235 | if (!&hp)
| ~ ^~
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);
| ^ ~~~~~~~~~~~~~~~~~
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
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;
| ^
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)
| ^
--- talktcp.o ---
4 warnings generated.
--- dnscache.o ---
6 warnings generated.
--- radius.o ---
7 warnings generated.
--- page.o ---
8 warnings generated.
--- 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);
| ^
pingv6.c:186:42: 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]
186 | localstruct->hp = 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);
| ^
--- loadconfig.o ---
33 warnings generated.
--- srvclient.o ---
3 warnings generated.
--- md5.o ---
29 warnings generated.
--- pingv6.o ---
3 warnings generated.
--- lib.o ---
8 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
- GitHub
- Website: None
- All net-mgmt/sysmon results
Depends On
NothingDepend Of
NothingCategories
CVEs
- Loading CVE information...
MidnightBSD Magus