[krbdev.mit.edu #5581] Build fails in lib/gssapi/spnego

"Paul D'Avilar" via RT rt-comment at krbdev.mit.edu
Tue Jun 19 21:14:22 EDT 2007


Submitter-Id:   dev
Originator:     paul
Organization:
Confidential:   yes
Synopsis:       Build fails in lib/gssapi/spnego
Severity:       Critical
Priority:       High
Category:       krb5-src
Class:  src-bug
Release:        1.6.1
Environment: AIX 5.2 PowerPC 64-bit Mode

Description: The build fails in lib/gssapi/spnego.  Please see detail output
                         below.  I tried the AIX native compiler and GCC 
(gcc -maix64)

How-To-Repeat:
./configure \
         LDFLAGS="-L/software/lib" \
         CPPFLAGS="-I/software/include" \
         --prefix=/software/krb5.1.6.1 \
         --without-krb4 \
         --enable-dns-for-realm \
         --enable-kdc-replay-cache
Fix

------------------------------------------------------------------------------------------------------------
making all in lib/gssapi/spnego...
         gcc -maix64 -DHAVE_CONFIG_H  -I../../../include 
-I./../../../include -I. -I. -I./.. -I../generic -I./../generic 
-I../mechglue -I./../mechglue  -DKRB5_DE
PRECATED=1 -DKRB5_PRIVATE=1  -I/software/include -g -O2 -Wall 
-Wmissing-prototypes -Wcast-qual  -Wcast-align -Wconversion -Wshadow 
-pedantic -D_THRE
AD_SAFE   -c spnego_mech.c
In file included from spnego_mech.c:45:
gssapiP_spnego.h:116: warning: cast discards qualifiers from pointer target 
type
gssapiP_spnego.h:308: warning: declaration of `open' shadows global declaration
spnego_mech.c:56: conflicting types for `gssint_der_length_size'
../mechglue/mglueP.h:483: previous declaration of `gssint_der_length_size'
spnego_mech.c:57: conflicting types for `gssint_get_der_length'
../mechglue/mglueP.h:480: previous declaration of `gssint_get_der_length'
spnego_mech.c:58: conflicting types for `gssint_put_der_length'
../mechglue/mglueP.h:490: previous declaration of `gssint_put_der_length'
spnego_mech.c:204: warning: no previous prototype for 
`spnego_gss_get_mech_configs'
spnego_mech.c: In function `check_spnego_options':
spnego_mech.c:290: warning: cast discards qualifiers from pointer target type
spnego_mech.c: In function `process_mic':
spnego_mech.c:417: warning: passing arg 3 of `gss_get_mic' with different 
width due to prototype
spnego_mech.c: In function `init_ctx_cont':
spnego_mech.c:518: warning: passing arg 3 of `get_negTokenResp' with 
different width due to prototype
spnego_mech.c: In function `acc_ctx_cont':
spnego_mech.c:1001: warning: passing arg 5 of `g_verify_token_header' with 
different width due to prototype
spnego_mech.c:1012: warning: passing arg 3 of `get_negTokenResp' with 
different width due to prototype
spnego_mech.c: At top level:
spnego_mech.c:1558: warning: declaration of `open' shadows global declaration
spnego_mech.c: In function `spnego_gss_inquire_context':
spnego_mech.c:1559: warning: declaration of `open' shadows global declaration
spnego_mech.c: In function `get_available_mechs':
spnego_mech.c:1676: warning: declaration of `stat' shadows global declaration
spnego_mech.c: In function `get_input_token':
spnego_mech.c:1815: warning: passing arg 2 of `gssint_get_der_length' with 
different width due to prototype
spnego_mech.c:1815: warning: passing arg 3 of `gssint_get_der_length' from 
incompatible pointer type
spnego_mech.c: In function `get_mech_set':
spnego_mech.c:1883: warning: passing arg 2 of `gssint_get_der_length' with 
different width due to prototype
spnego_mech.c:1892: warning: passing arg 3 of `get_mech_oid' as unsigned 
due to prototype
spnego_mech.c: In function `put_mech_set':
spnego_mech.c:1928: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:1929: warning: passing arg 1 of `malloc' with different width 
due to prototype
spnego_mech.c:1938: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:1941: warning: passing arg 3 of `put_mech_oid' with different 
width due to prototype
spnego_mech.c: In function `get_req_flags':
spnego_mech.c:1964: warning: passing arg 3 of `g_get_tag_and_length' with 
different width due to prototype
spnego_mech.c: In function `put_req_flags':
spnego_mech.c:1994: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:1994: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c: In function `get_negTokenInit':
spnego_mech.c:2031: warning: passing arg 5 of `g_verify_token_header' with 
different width due to prototype
spnego_mech.c:2036: warning: passing arg 2 of `g_verify_neg_token_init' 
with different width due to prototype
spnego_mech.c:2043: warning: passing arg 3 of `get_mech_set' with different 
width due to prototype
spnego_mech.c:2059: warning: passing arg 3 of `g_get_tag_and_length' with 
different width due to prototype
spnego_mech.c:2066: warning: passing arg 3 of `g_get_tag_and_length' with 
different width due to prototype
spnego_mech.c: In function `get_negTokenResp':
spnego_mech.c:2095: warning: passing arg 3 of `g_get_tag_and_length' with 
different width due to prototype
spnego_mech.c:2098: warning: passing arg 2 of `gssint_get_der_length' as 
unsigned due to prototype
spnego_mech.c:2098: warning: passing arg 3 of `gssint_get_der_length' from 
incompatible pointer type
spnego_mech.c:2108: warning: passing arg 2 of `gssint_get_der_length' as 
unsigned due to prototype
spnego_mech.c:2108: warning: passing arg 3 of `gssint_get_der_length' from 
incompatible pointer type
spnego_mech.c:2113: warning: passing arg 3 of `g_get_tag_and_length' with 
different width due to prototype
spnego_mech.c:2129: warning: passing arg 2 of `gssint_get_der_length' as 
unsigned due to prototype
spnego_mech.c:2129: warning: passing arg 3 of `gssint_get_der_length' from 
incompatible pointer type
spnego_mech.c:2133: warning: passing arg 3 of `get_mech_oid' as unsigned 
due to prototype
spnego_mech.c:2143: warning: passing arg 2 of `gssint_get_der_length' as 
unsigned due to prototype
spnego_mech.c:2143: warning: passing arg 3 of `gssint_get_der_length' from 
incompatible pointer type
spnego_mech.c:2147: warning: passing arg 2 of `get_input_token' with 
different width due to prototype
spnego_mech.c:2157: warning: passing arg 2 of `gssint_get_der_length' as 
unsigned due to prototype
spnego_mech.c:2157: warning: passing arg 3 of `gssint_get_der_length' from 
incompatible pointer type
spnego_mech.c:2161: warning: passing arg 2 of `get_input_token' with 
different width due to prototype
spnego_mech.c: In function `make_spnego_tokenInit_msg':
spnego_mech.c:2328: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:2342: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:2353: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:2364: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:2367: warning: passing arg 2 of `g_token_size' with different 
width due to prototype
spnego_mech.c:2369: warning: passing arg 1 of `malloc' with different width 
due to prototype
spnego_mech.c:2383: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2383: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2388: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2388: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2393: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2411: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2411: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2422: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2422: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c: In function `make_spnego_tokenTarg_msg':
spnego_mech.c:2505: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:2516: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:2533: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:2541: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c:2544: warning: passing arg 1 of `malloc' with different width 
due to prototype
spnego_mech.c:2558: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2558: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2564: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2564: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2575: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2575: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2590: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2603: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2603: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2616: warning: passing arg 1 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c:2616: warning: passing arg 3 of `gssint_put_der_length' with 
different width due to prototype
spnego_mech.c: At top level:
spnego_mech.c:2642: conflicting types for `g_token_size'
spnego_mech.c:64: previous declaration of `g_token_size'
spnego_mech.c: In function `g_token_size':
spnego_mech.c:2659: warning: passing arg 1 of `gssint_der_length_size' with 
different width due to prototype
spnego_mech.c: In function `g_get_tag_and_length':
spnego_mech.c:2714: warning: passing arg 2 of `gssint_get_der_length' with 
different width due to prototype
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 2 of `gssint_get_der_length' with 
different width due to prototype
spnego_mech.c:2751: warning: passing arg 3 of `gssint_get_der_length' from 
incompatible pointer type
spnego_mech.c:2768: warning: passing arg 2 of `gssint_get_der_length' with 
different width due to prototype
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 2 of `gssint_get_der_length' with 
different width due to prototype
spnego_mech.c:2809: warning: passing arg 3 of `gssint_get_der_length' from 
incompatible pointer type
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.




More information about the krb5-bugs mailing list