The Samba-Bugzilla – Bug 4515
Solaris 2.6 RPC headers need early gss defines
Last modified: 2007-04-16 00:20:35 UTC
When building on Solaris 2.6 sparc, I found that the gssapi.h headers had to be included earlier than rpc/rpc.h because the sub-included <rpc/rpcsec_gss.h> contains this nastiness:
typedef void * gss_ctx_id_t;
typedef void * gss_cred_id_t;
typedef void * gss_channel_bindings_t;
I also ended up adding a #define _GSSAPI_H_ kludge because I was building against a 3rd party gssapi library that typedef'd those pointers differently (as pointers to struct, which is what the RFC says) but didn't define _GSSAPI_H_.
This is only a problem on Solaris 2.6.. and not on Solaris 2.8.
Created attachment 2386 [details]
the patch I'm using