RT RT/krbdev.mit.edu: Ticket #5581 Build fails in lib/gssapi/spnego Signed in as guest.
[Logout]

[Home] [Search] [Configuration]

[Display] [History] [Basics] [Dates] [People] [Links] [Jumbo]

 
 

 The Basics  
Id
5581
Status
resolved
Worked
0 min
Priority
0/0
Queue
krb5
 

 Keyword Selections  
Component
  • krb5-libs
Version_reported
  • 1.6.1
Version_Fixed
  • 1.6.3
Target_Version
  • 1.6.3
Tags
  • pullup
 

 Relationships  
Depends on:
Depended on by:
Parents:
Children:

Refers to:
Referred to by:
  • 5695: (tlyu) function prototype mismatch, compilation fails on AIX [resolved]
 
 Dates  
Created: Tue Jun 19 21:14:18 2007
Starts: Not set
Started: Wed Aug 15 21:52:15 2007
Last Contact: Fri Aug 31 16:55:07 2007
Due: Not set
Updated: Tue May 6 07:28:42 2008 by guest
 

 People  
Owner
 epeisach
Requestors
 davilar@llnl.gov
Cc
 
AdminCc
 
 

 More about "Paul D'Avilar"  
Comments about this user:
No comment entered about this user
This user's 25 highest priority tickets:
 

History   Display mode: [Brief headers] [Full headers]
      Tue Jun 19 21:14:19 2007  davilar@llnl.gov - Ticket created    
     
Date: Tue, 19 Jun 2007 16:53:54 -0700
To: krb5-bugs@mit.edu
From: "Paul D'Avilar" <davilar@llnl.gov>
Subject: Build fails in lib/gssapi/spnego

 

     
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.

Download (untitled) 11.1k
     
 
Download (untitled) 12.6k
      Wed Aug 15 21:52:15 2007  epeisach - Given to epeisach    
      Wed Aug 15 21:52:15 2007  epeisach - Status changed from new to resolved    
      Wed Aug 15 21:52:16 2007  epeisach - Tags pullup added    
      Wed Aug 15 21:52:16 2007  epeisach - Correspondence added    
     
From: epeisach@mit.edu
Subject: SVN Commit

Change prototype for g_token_size to match function declaration later
in file. (OM_Uint32 changed to unsigned int). On a 64 bit architecture, they
are different.


Commit By: epeisach



Revision: 19828
Changed Files:
U   trunk/src/lib/gssapi/spnego/spnego_mech.c


Download (untitled) 264b
      Fri Aug 31 16:02:55 2007  tlyu - Component krb5-libs added    
      Fri Aug 31 16:02:55 2007  tlyu - Version_reported 1.6.1 added    
      Fri Aug 31 16:02:55 2007  tlyu - Target_Version 1.6.3 added    
      Fri Aug 31 16:55:04 2007  tlyu - Version_Fixed 1.6.3 added    
      Fri Aug 31 16:55:04 2007  tlyu - Correspondence added    
     
From: tlyu@mit.edu
Subject: SVN Commit

pull up r19828 from trunk

 r19828@cathode-dark-space:  epeisach | 2007-08-15 21:52:10 -0400
 ticket: 5581
 tags: pullup

 Change prototype for g_token_size to match function declaration later
 in file. (OM_Uint32 changed to unsigned int). On a 64 bit architecture, they
 are different.




Commit By: tlyu



Revision: 19901
Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/lib/gssapi/spnego/spnego_mech.c


Download (untitled) 425b