cc -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 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DLIBBSD_OVERLAY -isystem /usr/include/bsd -isystem /usr/local/include/bsd -Wall tcpbench.c -Wl,-z,relro -Wl,-z,now -lbsd -levent -lm -o tcpbench
tcpbench.c: In function ‘main’:
tcpbench.c:1105:38: error: implicit declaration of function ‘strtonum’; did you mean ‘strtouq’? [-Werror=implicit-function-declaration]
1105 | ptb->rflag = strtonum(optarg, 0, 60 * 60 * 24 * 1000,
| ^~~~~~~~
| strtouq
tcpbench.c:1233:21: error: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration]
1233 | if (strlcpy(sock_un.sun_path, host, sizeof(sock_un.sun_path)) >=
| ^~~~~~~
| strncpy
cc1: some warnings being treated as errors
make[1]: *** [GNUmakefile:13: tcpbench] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:41:42 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,335,958 |