You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/dns/res.c: In function 'get_resolv_dns':
src/dns/res.c:33:8: warning: implicit declaration of function 'res_ninit'; did you mean 'res_init'? [-Wimplicit-function-declaration]
33 | ret = res_ninit(&state);
| ^~~~~~~~~
| res_init
src/dns/res.c:33:8: warning: nested extern declaration of 'res_ninit' [-Wnested-externs]
CC build-x86_64/net/netstr.o
src/dns/res.c:61:2: warning: implicit declaration of function 'res_nclose' [-Wimplicit-function-declaration]
61 | res_nclose(&state);
| ^~~~~~~~~~
src/dns/res.c:61:2: warning: nested extern declaration of 'res_nclose' [-Wnested-externs]
src/net/posix/pif.c: In function 'net_if_getaddr4':
src/net/posix/pif.c:65:16: error: storage size of 'ifrr' isn't known
65 | struct ifreq ifrr;
| ^~~~
src/net/posix/pif.c:65:16: warning: unused variable 'ifrr' [-Wunused-variable]
src/net/posix/pif.c: In function 'net_if_list':
src/net/posix/pif.c:104:15: error: array type has incomplete element type 'struct ifreq'
104 | struct ifreq ifrv[32], *ifr;
| ^~~~
src/net/posix/pif.c:105:16: error: storage size of 'ifc' isn't known
105 | struct ifconf ifc;
| ^~~
src/net/posix/pif.c:126:7: error: increment of pointer to an incomplete type 'struct ifreq'
126 | ++ifr) {
| ^~
src/net/posix/pif.c:127:16: error: storage size of 'ifrr' isn't known
127 | struct ifreq ifrr;
| ^~~~
src/net/posix/pif.c:130:10: error: invalid use of undefined type 'struct ifreq'
130 | if (ifr->ifr_addr.sa_data == (ifr+1)->ifr_addr.sa_data)
| ^~
src/net/posix/pif.c:130:36: error: invalid use of undefined type 'struct ifreq'
130 | if (ifr->ifr_addr.sa_data == (ifr+1)->ifr_addr.sa_data)
| ^
src/net/posix/pif.c:130:39: error: invalid use of undefined type 'struct ifreq'
130 | if (ifr->ifr_addr.sa_data == (ifr+1)->ifr_addr.sa_data)
| ^~
src/net/ifaddrs.c: In function 'net_getifaddrs':
src/net/ifaddrs.c:51:24: error: 'IFF_UP' undeclared (first use in this function)
51 | if (ifa->ifa_flags & IFF_UP) {
| ^~~~~~
src/net/ifaddrs.c:51:24: note: each undeclared identifier is reported only once for each function it appears in
src/net/posix/pif.c:141:12: error: invalid use of undefined type 'struct ifreq'
141 | if (!(ifr->ifr_flags & IFF_UP))
| ^~
src/net/posix/pif.c:141:26: error: 'IFF_UP' undeclared (first use in this function)
141 | if (!(ifr->ifr_flags & IFF_UP))
| ^~~~~~
src/net/posix/pif.c:141:26: note: each undeclared identifier is reported only once for each function it appears in
src/net/posix/pif.c:145:30: error: invalid use of undefined type 'struct ifreq'
145 | str_ncpy(ifrr.ifr_name, ifr->ifr_name, sizeof(ifrr.ifr_name));
| ^~
src/net/posix/pif.c:158:21: error: invalid use of undefined type 'struct ifreq'
158 | if (ifh && ifh(ifr->ifr_name, &sa, arg))
| ^~
src/net/posix/pif.c:127:16: warning: unused variable 'ifrr' [-Wunused-variable]
127 | struct ifreq ifrr;
| ^~~~
src/net/posix/pif.c:105:16: warning: unused variable 'ifc' [-Wunused-variable]
105 | struct ifconf ifc;
| ^~~
src/net/posix/pif.c:104:15: warning: unused variable 'ifrv' [-Wunused-variable]
104 | struct ifreq ifrv[32], *ifr;
| ^~~~
make: *** [Makefile:94: build-x86_64/net/ifaddrs.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:94: build-x86_64/net/posix/pif.o] Error 1
src/tcp/tcp.c: In function 'tcp_sock_bind':
src/tcp/tcp.c:664:12: error: 'NI_MAXSERV' undeclared (first use in this function)
664 | char serv[NI_MAXSERV] = "0";
| ^~~~~~~~~~
src/tcp/tcp.c:664:12: note: each undeclared identifier is reported only once for each function it appears in
src/tcp/tcp.c:664:7: warning: unused variable 'serv' [-Wunused-variable]
664 | char serv[NI_MAXSERV] = "0";
| ^~~~
src/tcp/tcp.c: In function 'tcp_conn_alloc':
src/tcp/tcp.c:825:12: error: 'NI_MAXSERV' undeclared (first use in this function)
825 | char serv[NI_MAXSERV] = "0";
| ^~~~~~~~~~
src/tcp/tcp.c:825:7: warning: unused variable 'serv' [-Wunused-variable]
825 | char serv[NI_MAXSERV] = "0";
| ^~~~
src/tcp/tcp.c: In function 'tcp_conn_bind':
src/tcp/tcp.c:902:12: error: 'NI_MAXSERV' undeclared (first use in this function)
902 | char serv[NI_MAXSERV] = "0";
| ^~~~~~~~~~
src/tcp/tcp.c:902:7: warning: unused variable 'serv' [-Wunused-variable]
902 | char serv[NI_MAXSERV] = "0";
| ^~~~
src/tcp/tcp.c: In function 'tcp_conn_connect':
src/tcp/tcp.c:975:12: error: 'NI_MAXSERV' undeclared (first use in this function)
975 | char serv[NI_MAXSERV];
| ^~~~~~~~~~
src/tcp/tcp.c:975:7: warning: unused variable 'serv' [-Wunused-variable]
975 | char serv[NI_MAXSERV];
| ^~~~
make: *** [Makefile:93: build-x86_64/tcp/tcp.o] Error 1
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: