gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o win_show_stat.o win_show_stat.c
tally_label.c:13:1: warning: return type defaults to ‘int’ [-Wimplicit-int]include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o statnetd.o statnetd.c
13 | tally_label ( struct Tally *Now_ts, WINDOW *win, int width, int height )
| ^~~~~~~~~~~
In file included from /usr/include/netdb.h:27,
from inetprivate.h:13,
from getservent.c:45:
getservent.c: In function ‘sn_getservent’:
getservent.c:121:38: error: implicit declaration of function ‘atoi’ [-Werror=implicit-function-declaration]
121 | serv.s_port = htons((u_short)atoi(p));
| ^~~~
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -I/usr/
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o itstime.o itstime.c
statnet.c:102:8: warning: type defaults to ‘int’ in declaration of ‘gen_all’ [-Wimplicit-int]include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tally_init.o tally_init.c
102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0;
| ^~~~~~~
statnet.c:102:17: warning: type defaults to ‘int’ in declaration of ‘gen_eth’ [-Wimplicit-int]
102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0;
| ^~~~~~~
statnet.c:102:26: warning: type defaults to ‘int’ in declaration of ‘gen_plip’ [-Wimplicit-int]
102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0;
| ^~~~~~~~
statnet.c:102:36: warning: type defaults to ‘int’ in declaration of ‘gen_slip’ [-Wimplicit-int]
102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0;
| ^~~~~~~~
statnet.c:102:46: warning: type defaults to ‘int’ in declaration of ‘gen_ppp’ [-Wimplicit-int]
102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0;
| ^~~~~~~ statnet.c:102:55: warning: type defaults to ‘int’ in declaration of ‘gen_loop’ [-Wimplicit-int]
102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0;
| ^~~~~~~~ statnet.c:102:65: warning: type defaults to ‘int’ in declaration of ‘gen_802’ [-Wimplicit-int]
102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, gen_802 = 0;
| ^~~~~~~
statnet.c:106:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
106 | main (int argc, char *argv[])
| ^~~~
itstime.c: In function ‘itstime’:
itstime.c:50:9: error: implicit declaration of function ‘alarm’ [-Werror=implicit-function-declaration]
50 | alarm (SN_STATS_SECS);
| ^~~~~
statnet.c: In function ‘update_display’:
statnet.c:555:36: warning: '0' flag ignored with '-' flag in gnu_printf format [-Wformat=]
555 | mvwprintw (genwin, 0, 0, "GENERAL Frame: /%-02d sec", SN_UPDATE_SECS);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ statnet.c:681:9: error: implicit declaration of function ‘win_show_stat’ [-Werror=implicit-function-declaration]
681 | win_show_stat( protwin, 9, 1, noframes, &Now->prot, &Prev->prot, &Delta.prot, rewrite_labels, &update_prot_labels, &show_prot_labels );
| ^~~~~~~~~~~~~
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -I/usr/
statnet.c: In function ‘show_tcp_labels’:
statnetd.c:124:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
124 | main (int argc, char *argv[])
| ^~~~
statnet.c:800:9: error: implicit declaration of function ‘tally_label’; did you mean ‘slk_label’? [-Werror=implicit-function-declaration]
800 | tally_label( Now_ts, tcpwin, TW, TH );
| ^~~~~~~~~~~
| slk_label
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
statnetd.c: In function ‘handle_other’:
statnetd.c:499:11: error: implicit declaration of function ‘tally’ [-Werror=implicit-function-declaration]
499 | tally( (short int)buf[14], &StatMem->sap_types ); /* count 802.2 SAP number */
| ^~~~~
make[1]: *** [<builtin>: itstime.o] Error 1
tags -1 patchBug #1066694 [src:netdiag] netdiag: FTBFS: getservent.c:121:38: error: implicit declaration of function ‘atoi’ [-Werror=implicit-function-declaration]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:23:10 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,264 |