[5721] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Kerberos 5 B5 build on HP-UX is failing

daemon@ATHENA.MIT.EDU (Brian Tung)
Thu Aug 17 13:55:01 1995

Date: Thu, 17 Aug 1995 10:38:30 -0700
From: brian@ISI.EDU (Brian Tung)
To: gym@legume.lanl.gov, kerberos@MIT.EDU

Glenn Michel wrote:
> We're trying to build the Kerberos V Beta 5 client software for an HP-UX
> system running A.09.05.   We've tried using the ordinary CC compiler as
> well as the C89 compiler, and we've specified the type=Aa switch.  I
> understand that people have succeeded at this and I'm wondering what 
> we're doing wrong.  The message we're seeing now is:
> 
> making in lib/krb5/asn.1...
>         cc -Ae -I./../../../include -I../../../include -I./../../../include/krb5 
> -I../../../include/krb5 -c asn1_decode.c
> cc: "/usr/include/stdlib.h", line 169: error 1711: Inconsistent parameter list 
> declaration for "getopt".
> cc: "/usr/include/sys/unistd.h", line 226: error 1711: Inconsistent parameter 
> list declaration for "getopt".
> cc: "/usr/include/sys/unistd.h", line 245: error 1711: Inconsistent parameter 
> list declaration for "rename".
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Can someone give us a hand with this?

I think I've seen this.  Try #undef'ing _PROTOTYPES.  For some reason,
I had to go in and do this within the source code itself, rather than
on the command line.  It would be undefined at the start, then,
inexplicably, would become defined after including <stdio.h>.  Does
anyone have any explanation for this?

Brian Tung
brian@isi.edu
http://info.broker.isi.edu/brian/

home help back first fref pref prev next nref lref last post