kerberos and SASL compile problem

Ken Hornstein kenh at cmf.nrl.navy.mil
Mon Jan 20 13:30:36 EST 2003


>I am working on compiling Cyrus SASL for GSSAPI on Solaris 2.6.
>I receive the following error when running make -
>gssapi.c: In function `sasl_gss_free_context_contents':
>gssapi.c:501: `GSS_C_NO_NAME' undeclared (first use this function)
>gssapi.c:501: (Each undeclared identifier is reported only once
>gssapi.c:501: for each function it appears in.)
>
>GSS_C_NO_NAME is not used or mentioned anywhere else within the package or
>documentation.  Has anyone used SASL and GSSAPI and run into a similar problem?

I've seen this happen when compiling SASL using an old version of MIT
Kerberos (something based on the 1.0.X release).  In more modern versions
of Kerberos, the definition is:

#define GSS_C_NO_NAME ((gss_name_t) 0)

If you place that in one of the SASL header files (or just in gssapi.c)
that should solve the problem.

--Ken



More information about the Kerberos mailing list