On 2022-04-18, Maksim Rodin <a23s4a2...@yandex.ru> wrote:
> Hello,
> I am trying to build mod_auth_kerb for apache2 on OpenBSD 6.9
> I installed heimdal-libs-7.7.0p0 and downloaded the latest src for
> mod_auth_kerb from github
> After unpacking and configuring the following way:
> ./configure --with-krb5=/usr/local/heimdal --with-krb4=no
> I try to run 'make'
> I get a bunch of warnings like these:
>
> ```
> /usr/local/heimdal/include/krb5-protos.h:18:52: note: expanded from macro 
> 'KRB5_DEPRECATED_FUNCTION'
> #define KRB5_DEPRECATED_FUNCTION(x) __attribute__((__deprecated__(x)))
>                                                    ^
> src/mod_auth_kerb.c:1547:47: warning: incompatible pointer types passing 
> 'request_rec *' (aka 'struct request_rec *') to parameter of type 'const char 
> *'
>       [-Wincompatible-pointer-types]
>                         log_rerror(APLOG_MARK, APLOG_ERR, 0, r,

This suggests that it is not compatible with the API of the version of
Apache HTTPD that you're trying to use it with.

You might have better luck with https://github.com/S2-/mod_auth_kerb
but that is still years old and might not work either


-- 
Please keep replies on the mailing list.

Reply via email to