Nir Barkan
2006-Jun-24 21:39 UTC
[Samba] samba-3.0.22 with Heimdal Kerberos - compilation problem
Hi All, I'm trying to compile samba-3.0.22 with Heimdal Kerberos on Solaris 8 configure works fine but make fails I am running configure with the option --with-krb5=/opt/local which is where I have heimdal installed. The problem is that after running make, it still tries to use the include files from SUN that are in /usr/ and this screws up the compile. /opt/local/include/gssapi.h:623: conflicting types for `gss_inquire_context' /usr/include/gssapi/gssapi.h:551: previous declaration of `gss_inquire_context' /opt/local/include/gssapi.h:632: conflicting types for `gss_wrap_size_limit' /usr/include/gssapi/gssapi.h:560: previous declaration of `gss_wrap_size_limit' /opt/local/include/gssapi.h:646: conflicting types for `gss_add_cred' /usr/include/gssapi/gssapi.h:574: previous declaration of `gss_add_cred' /opt/local/include/gssapi.h:656: conflicting types for `gss_inquire_cred_by_mech' /usr/include/gssapi/gssapi.h:584: previous declaration of `gss_inquire_cred_by_mech' /opt/local/include/gssapi.h:662: conflicting types for `gss_export_sec_context' /usr/include/gssapi/gssapi.h:590: previous declaration of `gss_export_sec_context' /opt/local/include/gssapi.h:668: conflicting types for `gss_import_sec_context' /usr/include/gssapi/gssapi.h:596: previous declaration of `gss_import_sec_context' /opt/local/include/gssapi.h:698: conflicting types for `gss_inquire_mechs_for_name' /usr/include/gssapi/gssapi.h:626: previous declaration of `gss_inquire_mechs_for_name' /opt/local/include/gssapi.h:705: conflicting types for `gss_canonicalize_name' /usr/include/gssapi/gssapi.h:633: previous declaration of `gss_canonicalize_name' /opt/local/include/gssapi.h:711: conflicting types for `gss_duplicate_name' /usr/include/gssapi/gssapi.h:639: previous declaration of `gss_duplicate_name' /opt/local/include/gssapi.h:730: conflicting types for `gss_sign' /usr/include/gssapi/gssapi.h:677: previous declaration of `gss_sign' /opt/local/include/gssapi.h:738: conflicting types for `gss_verify' /usr/include/gssapi/gssapi.h:685: previous declaration of `gss_verify' /opt/local/include/gssapi.h:748: conflicting types for `gss_seal' /usr/include/gssapi/gssapi.h:695: previous declaration of `gss_seal' /opt/local/include/gssapi.h:757: conflicting types for `gss_unseal' /usr/include/gssapi/gssapi.h:704: previous declaration of `gss_unseal' make: *** [dynconfig.o] Error 1 Any Ideas how to solve this? Thanks In Advanced! Nir
Nir Barkan
2006-Jun-24 21:39 UTC
[Samba] samba-3.0.22 with Heimdal Kerberos - compilation problem
Hi All, I'm trying to compile samba-3.0.22 with Heimdal Kerberos on Solaris 8 configure works fine but make fails I am running configure with the option --with-krb5=/opt/local which is where I have heimdal installed. The problem is that after running make, it still tries to use the include files from SUN that are in /usr/ and this screws up the compile. /opt/local/include/gssapi.h:623: conflicting types for `gss_inquire_context' /usr/include/gssapi/gssapi.h:551: previous declaration of `gss_inquire_context' /opt/local/include/gssapi.h:632: conflicting types for `gss_wrap_size_limit' /usr/include/gssapi/gssapi.h:560: previous declaration of `gss_wrap_size_limit' /opt/local/include/gssapi.h:646: conflicting types for `gss_add_cred' /usr/include/gssapi/gssapi.h:574: previous declaration of `gss_add_cred' /opt/local/include/gssapi.h:656: conflicting types for `gss_inquire_cred_by_mech' /usr/include/gssapi/gssapi.h:584: previous declaration of `gss_inquire_cred_by_mech' /opt/local/include/gssapi.h:662: conflicting types for `gss_export_sec_context' /usr/include/gssapi/gssapi.h:590: previous declaration of `gss_export_sec_context' /opt/local/include/gssapi.h:668: conflicting types for `gss_import_sec_context' /usr/include/gssapi/gssapi.h:596: previous declaration of `gss_import_sec_context' /opt/local/include/gssapi.h:698: conflicting types for `gss_inquire_mechs_for_name' /usr/include/gssapi/gssapi.h:626: previous declaration of `gss_inquire_mechs_for_name' /opt/local/include/gssapi.h:705: conflicting types for `gss_canonicalize_name' /usr/include/gssapi/gssapi.h:633: previous declaration of `gss_canonicalize_name' /opt/local/include/gssapi.h:711: conflicting types for `gss_duplicate_name' /usr/include/gssapi/gssapi.h:639: previous declaration of `gss_duplicate_name' /opt/local/include/gssapi.h:730: conflicting types for `gss_sign' /usr/include/gssapi/gssapi.h:677: previous declaration of `gss_sign' /opt/local/include/gssapi.h:738: conflicting types for `gss_verify' /usr/include/gssapi/gssapi.h:685: previous declaration of `gss_verify' /opt/local/include/gssapi.h:748: conflicting types for `gss_seal' /usr/include/gssapi/gssapi.h:695: previous declaration of `gss_seal' /opt/local/include/gssapi.h:757: conflicting types for `gss_unseal' /usr/include/gssapi/gssapi.h:704: previous declaration of `gss_unseal' make: *** [dynconfig.o] Error 1 Any Ideas how to solve this? Thanks In Advanced! Nir