krb5 headers incompatible w/solaris 2.6?

Doug O'Leary dkoleary at olearycomputers.com
Thu Apr 29 12:01:55 EDT 2004


Hey, 

I'm trying to compile Samba 3.0 with active directory support
for a client on a solaris 2.6 system.  In order to do that, 
I need openldap and kerberos libraries.  I've downloaded, compiled,
and installed both applications w/o issue.

Compiling samba 3.0 results in an immediate error similar to the
following:

Compiling dynconfig.c
"/apps/krb5-1.3.3/include/gssapi/gssapi.h", line 120: \
	warning: typedef redeclared: gss_cred_id_t
"/apps/krb5-1.3.3/include/gssapi/gssapi.h", line 121: \
	warning: typedef redeclared: gss_ctx_id_t
"/apps/krb5-1.3.3/include/gssapi/gssapi.h", line 172: \
	identifier redeclared: gss_channel_bindings_t
        current : pointer to struct gss_channel_bindings_struct 
			{unsigned int initiator_addrtype, struct gss_buffer_desc_struct 
			{..} initiator_address, unsigned int acceptor_addrtype, struct 
			gss_buffer_desc_struct {..} acceptor_address, struct 
			gss_buffer_desc_struct {..} application_data}
        previous: pointer to void : "/usr/include/rpc/rpcsec_gss.h", line 61
cc: acomp failed for dynconfig.c
*** Error code 2
make: Fatal error: Command failed for target `dynconfig.o'

After numerous attempts/google searches, what not, I found a 
bug report located at https://bugzilla.samba.org/show_bug.cgi?id=580
which states that the issue is a compatibility problem between
krb5 and solaris 2.6 headers.

Does anyone know of any kerberos configure switches that I might
try to circumvent this issue?

Thanks for your time.

Doug O'Leary

-- 
--------
Senior UNIX Admin
O'Leary Computer Enterprises
dkoleary at olearycomputers.com (w) 630-904-6098 (c) 630-248-2749
resume:  http://www.olearycomputers.com/resume.html



More information about the Kerberos mailing list