Building Kerberos on HPUX
Mohit Aggrawal
mohit500 at gmail.com
Fri May 3 09:39:12 EDT 2013
Hello All,
I am getting the following error while compiling kerberos 1.9.5 on HPUX.
Please let me know if somebody has any clue for fixing this issue.
-Regards
Mohit
making all in lib/gssapi/spnego...
cc +z -DSHARED -D_GSS_STATIC_LINK=1 -I../../../include
-I../../../include -I. -I. -I./.. -I../generic -I./../generic -I../mechglue
-I./../mechglue -DKRB5_DEPRECATED=1 -g -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_C_SOURCE=199506L -c spnego_mech.c -o spnego_mech.so.o && mv -f
spnego_mech.so.o spnego_mech.so
"spnego_mech.c", line 83: error #2147: declaration is incompatible with
"unsigned int gssint_der_length_size(unsigned int)" (declared at
line 738 of "../mechglue/mglueP.h")
extern unsigned int gssint_der_length_size(OM_uint32);
"spnego_mech.c", line 84: error #2147: declaration is incompatible with "int
gssint_get_der_length(unsigned char **, unsigned int, unsigned int
*)" (declared at line 731 of "../mechglue/mglueP.h")
extern int gssint_get_der_length(unsigned char **, OM_uint32, unsigned
int*);
^
"spnego_mech.c", line 85: error #2147: declaration is incompatible with "int
gssint_put_der_length(unsigned int, unsigned char **, unsigned
int)"
(declared at line 741 of "../mechglue/mglueP.h")
extern int gssint_put_der_length(OM_uint32, unsigned char **, unsigned
int);
^
"spnego_mech.c", line 425: warning #2191-D: type qualifier is meaningless on
cast type
(const gss_OID)&spnego_oids[0]);
^
"spnego_mech.c", line 3957: warning #2186-D: pointless comparison of
unsigned
integer with zero
if ((seqsize = gssint_get_der_length(&buf, cur_size,
&bytes)) < 0)
^
"spnego_mech.c", line 3974: warning #2186-D: pointless comparison of
unsigned
integer with zero
if ((seqsize = gssint_get_der_length(&buf, cur_size,
&bytes)) < 0)
^
3 errors detected in the compilation of "spnego_mech.c".
*** Error exit code 2
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Looks like the error is in matching the correct datatype.
More information about the krbdev
mailing list