From brian@karoshi.ucsd.edu Tue Nov 4 18:30:21 1997 Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id SAA01098 for ; Tue, 4 Nov 1997 18:30:20 -0500 Received: from karoshi.ucsd.edu by MIT.EDU with SMTP id AA15905; Tue, 4 Nov 97 18:30:24 EST Received: (from brian@localhost) by karoshi.ucsd.edu (8.8.5/8.8.5) id PAA12041 for krb5-bugs@mit.edu; Tue, 4 Nov 1997 15:30:17 -0800 (PST) Message-Id: <199711042330.PAA12041@karoshi.ucsd.edu> Date: Tue, 4 Nov 1997 15:30:17 -0800 (PST) From: Brian Kantor To: krb5-bugs@MIT.EDU Subject: 1.0.2 compile problem >Number: 489 >Category: krb5-build >Synopsis: 1.0.2 compile problem >Confidential: yes >Severity: serious >Priority: medium >Responsible: tlyu >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Tue Nov 04 18:31:02 EST 1997 >Last-Modified: Fri Nov 07 14:51:01 EST 1997 >Originator: >Organization: >Release: >Environment: >Description: >How-To-Repeat: >Fix: >Audit-Trail: Responsible-Changed-From-To: gnats-admin->tlyu Responsible-Changed-By: tlyu Responsible-Changed-When: Tue Nov 4 21:25:05 1997 Responsible-Changed-Why: refiled State-Changed-From-To: open-closed State-Changed-By: tlyu State-Changed-When: Tue Nov 4 21:25:22 1997 State-Changed-Why: user error From: Tom Yu To: brian@karoshi.ucsd.edu Cc: krb5-bugs@MIT.EDU Subject: Re: krb5-build/489: 1.0.2 compile problem Date: Tue, 4 Nov 1997 21:26:39 -0500 We're sorry, but you must use an ANSI-compliant C compiler in order to build krb5-1.0.x. It should still be possible to compile applications against the headers and libraries with non-ANSI compilers, though. ---Tom From: Brian Kantor To: tlyu@MIT.EDU Cc: krb5-bugs@MIT.EDU Subject: Re: krb5-build/489: 1.0.2 compile problem Date: Tue, 4 Nov 1997 20:15:42 -0800 (PST) >To: brian@karoshi.ucsd.edu >Cc: krb5-bugs@MIT.EDU >In-Reply-To: Brian Kantor's message of Tue, 4 Nov 1997 15:30:17 -0800 (PST) > <199711042330.PAA12041@karoshi.ucsd.edu> >From: Tom Yu >Subject: Re: krb5-build/489: 1.0.2 compile problem > >We're sorry, but you must use an ANSI-compliant C compiler in order to >build krb5-1.0.x. It should still be possible to compile applications >against the headers and libraries with non-ANSI compilers, though. > >---Tom Certainly the 'configure' code should check for this ANSI requirement if indeed it is one. It is inexcusable that 'configure' should not demand something that is supposed to be required - you can't have it both ways. Actually, with just the two changes I sent in previously, a non-ANSI compiler is quite happy with the whole package. Every single bit of the krb5 code (except the two files I mentioned) *IS* K&R compatable. It would be really nice if you kept it that way. Would you like the diffs? They're quite small. - Brian From: Tom Yu To: Brian Kantor Cc: tlyu@MIT.EDU, krb5-bugs@MIT.EDU Subject: Re: krb5-build/489: 1.0.2 compile problem Date: Tue, 4 Nov 1997 23:23:29 -0500 >>>>> "BK" == Brian Kantor writes: BK> Certainly the 'configure' code should check for this ANSI requirement BK> if indeed it is one. It is inexcusable that 'configure' should BK> not demand something that is supposed to be required - you can't BK> have it both ways. We should probably fix this, yes... but it will take some work. BK> Every single bit of the krb5 code (except the two files I mentioned) BK> *IS* K&R compatable. It would be really nice if you kept it that way. BK> Would you like the diffs? They're quite small. I disbelieve. We use ANSI C features such as string concatentation in many places, and I believe some of the kadmin code uses unconditionalized ANSI prototypes in places. ---Tom From: Brian Kantor To: krb5-bugs@MIT.EDU, tlyu@MIT.EDU Cc: Subject: Re: krb5-build/489: K&R vs Ansi C Date: Tue, 4 Nov 1997 21:28:43 -0800 (PST) You're quite correct, in 1.0.2 the gssapi and other parts do require an ANSI 'C' compiler. On our old suns, I had simply bypassed those parts as they were not needed. My apologies. - Brian >Unformatted: shs.c line 216 is an ANSI prototype and won't compile under the SunOS 4.1.3_U1 'cc' compiler. Converting it to K&R prototype fixes it. - Brian