Solaris 2.6 rpcsec & MIT krb5-1.3.1 header conflict (fwd)

Brian Ford ford at vss.fsi.com
Wed Oct 1 13:36:06 EDT 2003


I just wondered if anyone here had any suggestions since I have had no
real response from the samba list.  Please CC me on replies here too.  Thanks.

---------- Forwarded message ----------
Date: Tue, 30 Sep 2003 11:47:57 -0500 (CDT)
From: Brian Ford <ford at vss.fsi.com>
To: samba at samba.org
Subject: Solaris 2.6 rpcsec & MIT krb5-1.3.1 header conflict

Please CC me on replies.

Hi.  I am trying to compile samba 3.0.0 on a Solaris 2.6 box.  I noticed
that samba needed MIT Kerberos, so I compiled and installed krb5-1.3.1, I
believe, successfully in /usr/local.

I now think that may have been a mistake.  Trying to compile
samba 3.0.0, I get the following:

Compiling dynconfig.c
In file included from include/includes.h:429,
                 from dynconfig.c:21:
/usr/local/include/gssapi/gssapi.h:120: warning: redefinition of
`gss_cred_id_t'
/usr/include/rpc/rpcsec_gss.h:60: warning: `gss_cred_id_t' previously
declared here
/usr/local/include/gssapi/gssapi.h:121: warning: redefinition of
`gss_ctx_id_t'
/usr/include/rpc/rpcsec_gss.h:59: warning: `gss_ctx_id_t' previously
declared here
/usr/local/include/gssapi/gssapi.h:172: conflicting types for
`gss_channel_bindings_t'
/usr/include/rpc/rpcsec_gss.h:61: previous declaration of
`gss_channel_bindings_t'
make: *** [dynconfig.o] Error 1

I noticed that on Solaris 8, rpcsec_gss.h includes <gssapi/gssapi.h>, so
this conflict is not present.

Does anyone have any suggestions?  Should I try to back out the krb5
install?  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


More information about the Kerberos mailing list