The function should be declared in <gssapi/gssapi_krb5.h>, in this case it's /usr/include/heimdal/gssapi/gssapi_krb5.h from heimdal-multidev, but build-heimdal/config.h defines HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY but doesn't define HAVE_GSSAPI_GSSAPI_KRB5_H, so <gssapi/gssapi_krb5.h> is not included but the code is compiled.gssapi.c:1600:9: error: implicit declaration of function ‘gsskrb5_register_acceptor_identity’ [-Werror=implicit-function-declaration]
1600 | gsskrb5_register_acceptor_identity(keytab_path);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Wed, Mar 13, 2024 at 12:36:37PM +0100, Lucas Nussbaum wrote:
The function should be declared in <gssapi/gssapi_krb5.h>, in this case it's >/usr/include/heimdal/gssapi/gssapi_krb5.h from heimdal-multidev, but >build-heimdal/config.h defines HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY but >doesn't define HAVE_GSSAPI_GSSAPI_KRB5_H, so <gssapi/gssapi_krb5.h> is not >included but the code is compiled.gssapi.c:1600:9: error: implicit declaration of function ‘gsskrb5_register_acceptor_identity’ [-Werror=implicit-function-declaration]
1600 | gsskrb5_register_acceptor_identity(keytab_path);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Suggested fix:
+ AC_CHECK_HEADERS(gssapi/gssapi_krb5.h)
AC_CHECK_FUNCS(gsskrb5_register_acceptor_identity)
if test "$ac_cv_func_gsskrb5_register_acceptor_identity" = no ; then
- AC_CHECK_HEADERS(gssapi/gssapi_krb5.h)
If it’s really that, anyway.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 03:49:30 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,335,794 |