Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) Subject: function prototype mismatch, compilation fails on AIX X-RT-Original-Encoding: iso-8859-1 Content-Length: 2826 Hi Because of function prototype mismatch for these functions: gssint_der_length_size, gssint_get_der_length, g_token_size in files mechglue/mglueP.h and spnego_mech.c; the kerberos 1.6.2 compilation fails on AIX system. gcc -DHAVE_CONFIG_H -I../../../include -I./../../../include -I. -I. -I./.. -I../generic -I./../generic -I../mechglue -I./../mechglue -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -g -D_THREAD_SAFE -c spnego_mech.c spnego_mech.c:56: error: conflicting types for `gssint_der_length_size' ../mechglue/mglueP.h:483: error: previous declaration of `gssint_der_length_size' spnego_mech.c:57: error: conflicting types for `gssint_get_der_length' ../mechglue/mglueP.h:480: error: previous declaration of `gssint_get_der_length' spnego_mech.c:58: error: conflicting types for `gssint_put_der_length' ../mechglue/mglueP.h:490: error: previous declaration of `gssint_put_der_length' spnego_mech.c: In function `get_input_token': spnego_mech.c:1815: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c: In function `get_negTokenResp': spnego_mech.c:2098: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c:2108: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c:2129: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c:2143: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c:2157: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c: At top level: spnego_mech.c:2642: error: conflicting types for `g_token_size' spnego_mech.c:64: error: previous declaration of `g_token_size' spnego_mech.c: In function `g_get_tag_and_length': spnego_mech.c:2714: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c: In function `g_verify_neg_token_init': spnego_mech.c:2751: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c:2768: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type spnego_mech.c: In function `g_verify_token_header': spnego_mech.c:2809: warning: passing arg 3 of `gssint_get_der_length' from incompatible pointer type gmake[4]: *** [spnego_mech.o] Error 1 gmake[4]: Leaving directory `/home/srbpkg/srbpkg/kerberos/32/krb5-1.6.2/src/lib/gssapi/spnego' gmake[3]: *** [all-recurse] Error 1 gmake[3]: Leaving directory `/home/srbpkg/srbpkg/kerberos/32/krb5-1.6.2/src/lib/gssapi' gmake[2]: *** [all-recurse] Error 1 gmake[2]: Leaving directory `/home/srbpkg/srbpkg/kerberos/32/krb5-1.6.2/src/lib' gmake[1]: *** [all-recurse] Error 1 gmake[1]: Leaving directory `/home/srbpkg/srbpkg/kerberos/32/krb5-1.6.2/src' gmake: *** [compile32] Error 2