gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from rk_header.h:166,
from rk_multi.h:143,
from rk_modread.c:147:
/usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
rk_modread.c: In function ‘get_hmdir’:
rk_modread.c:654:67: error: implicit declaration of function ‘getuid’; did you mean ‘getpwuid’? [-Werror=implicit-function-declaration]
654 | if(NULL == (usr = (*soc? getpwnam(soc) : getpwuid(getuid()))))
| ^~~~~~
| getpwuid
cc1: some warnings being treated as errors
make[5]: *** [Makefile:1316: rk_modread.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (0 / 16) |
Uptime: | 129:33:01 |
Calls: | 6,663 |
Calls today: | 1 |
Files: | 12,212 |
Messages: | 5,335,299 |