Ciao,
when compiling cURL version 7.19.6, it fails with:
libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../include -I../lib
-I../lib -I/usr/local/include -I/usr/local/include -I/usr/include/openssl
-I/usr/include -I/usr/local/include -O3 -march=i686 -mtune=i686 -g0
-Wno-system-headers -MT krb5.lo -MD -MP -MF .deps/krb5.Tpo -c krb5.c -fPIC
-DPIC -o .libs/krb5.o
In file included from /usr/local/include/gss.h:83,
from urldata.h:130,
from krb5.c:59:
/usr/local/include/gss/api.h:92: error: redefinition of 'struct
gss_OID_desc_struct'
/usr/local/include/gss/api.h:98: error: redefinition of 'struct
gss_OID_set_desc_struct'
/usr/local/include/gss/api.h:104: error: redefinition of 'struct
gss_buffer_desc_struct'
/usr/local/include/gss/api.h:110: error: redefinition of 'struct
gss_channel_bindings_struct'
and indeed the following:
#include <stdio.h>
#include <stdlib.h>
#include <gss.h>
#include <gssapi/gssapi.h>
int
main (void)
{
exit(EXIT_SUCCESS);
}
fails with:
In file included from proof.c:6:
/usr/local/include/gssapi/gssapi.h:105: error: redefinition of 'struct
gss_OID_desc_struct'
/usr/local/include/gssapi/gssapi.h:111: error: redefinition of 'struct
gss_OID_set_desc_struct'
/usr/local/include/gssapi/gssapi.h:116: error: redefinition of 'struct
gss_buffer_desc_struct'
/usr/local/include/gssapi/gssapi.h:121: error: redefinition of 'struct
gss_channel_bindings_struct'
what should be done?
--
Marco Maggi
_______________________________________________
Help-gss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gss