Brian Ford
2003-Sep-30 16:47 UTC
[Samba] 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
Gerald (Jerry) Carter
2003-Oct-07 13:57 UTC
[Samba] Solaris 2.6 rpcsec & MIT krb5-1.3.1 header conflict
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian & Olaf, I've entered this as bug 580: ~ https://bugzilla.samba.org/show_bug.cgi?id=580 We'll try to get something straightened out. cheers, jerry Brian Ford wrote: | 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 ~ ---------------------------------------------------------------------- ~ Hewlett-Packard ------------------------- http://www.hp.com ~ SAMBA Team ---------------------- http://www.samba.org ~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ~ "You can never go home again, Oatman, but I guess you can shop there." ~ --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/gsZPIR7qMdg1EfYRAjv9AKDfCuWMYGSVIowHxHeYNUVNdDEOBQCg8nyf 4w4r9uyui6S1hMkRWYxxTiM=ew+x -----END PGP SIGNATURE-----