x86_64-linux-gnu-gcc -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -DHAVE_ASM_IOCTLS_H=1 -I. setserial.c -o setserial
In file included from setserial.c:18:
pcmcia.c: In function ‘pcmcia_check_cardctl’:
pcmcia.c:93:10: error: implicit declaration of function ‘waitpid’ [-Werror=implicit-function-declaration]
93 | if (waitpid(pid, &status, 0) == -1) {
| ^~~~~~~
setserial.c: In function ‘print_multiport’:
setserial.c:238:13: error: implicit declaration of function ‘ioctl’ [-Werror=implicit-function-declaration]
238 | if (ioctl(fd, TIOCSERGETMULTI, &multi) < 0)
| ^~~~~
setserial.c: At top level:
setserial.c:766:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
766 | main(int argc, char **argv)
| ^~~~
cc1: some warnings being treated as errors
make[1]: *** [Makefile:26: setserial] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:19:43 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,264 |