[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
old compilation problem in gsasl, still in 1.8.1
From: |
Thomas Klausner |
Subject: |
old compilation problem in gsasl, still in 1.8.1 |
Date: |
Mon, 16 Nov 2020 13:31:55 +0100 |
Hi!
pkgsrc has had a patch for gsasl for a long time. When I tried
removing it for the 1.8.1 update, I found it's still needed, at least
on NetBSD-current.
Without the patch, the build fails with:
In file included from /usr/include/gssapi.h:41,
from gss-extra.h:30,
from gss-extra.c:28:
gss-extra.c:43:9: error: expected identifier or '(' before '&'
token
43 | gss_OID GSS_C_NT_HOSTBASED_SERVICE = &tmp;
The matching definition is:
/usr/include/gssapi/gssapi.h:#define GSS_C_NT_HOSTBASED_SERVICE
(&__gss_c_nt_hostbased_service_oid_desc)
But configure doesn't detect it:
# grep -r HAVE_GSS_C work/gsasl-1.8.1/
work/gsasl-1.8.1/lib/config.h.in:#undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
work/gsasl-1.8.1/lib/configure:#define HAVE_GSS_C_NT_HOSTBASED_SERVICE 1
work/gsasl-1.8.1/lib/config.h:/* #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE */
I think the /usr/include/gssapi/gssapi.h file is from heimdal 7.7.0.
Let me know if you need further information.
Cheers,
Thomas
patch-ac
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- old compilation problem in gsasl, still in 1.8.1,
Thomas Klausner <=