[krbdev.mit.edu #2598] Cannot compile KRB5 on HP-UX 11
DEEngert@anl.gov via RT
rt-comment at krbdev.mit.edu
Sun Jun 20 16:51:33 EDT 2004
Dehner at mit.edu, "Benjamin T.\" via RT\"" wrote:
> Submitter-Id: mit
> Originator: Ben Dehner
> Organization: Valmont Industries
> Confidential: no
> Synopsis: krb5 compile fails on HP-UX 11.i
> Severity: critical
> Priority: low
> Category: krb5-build
> class: support
> Release: 1.3.4
> Environment: HP ANSI-C compiler
> System: HP-UX 11.i RISC 64-bit
> Machine: PA-RISC
> Description:
> KRB5 compile fails on foreachaddr.c, does not recognize lifconf
> structure. It is possible that
> HP-UX does not support the SIOCGLIFCONF ioctl.
> How-To-Repeat: compile on HP-UX 11.i
> Fix: Either avoid incomopatible ioctl, or get vendor to implement it.
I have used this with HP-UX and krb5-1.3.2
>
>
> --- ,foreachaddr.c Mon Sep 29 14:07:29 2003
> +++ foreachaddr.c Fri Feb 27 13:21:59 2004
> @@ -259,7 +259,7 @@
> return ret;
> }
>
> -#ifdef SIOCGLIFCONF /* Solaris */
> +#if defined(SIOCGLIFCONF) && !defined(__hpux) /* Solaris */
> static int
> get_lifconf (int af, int s, size_t *lenp, /*@out@*/ char *buf)
> /*@modifies *buf,*lenp@*/
> @@ -431,7 +431,7 @@
> return 0;
> }
>
> -#elif defined (SIOCGLIFNUM) /* Solaris 8 and later; Sol 7? */
> +#elif defined (SIOCGLIFNUM) && !defined(__hpux) /* Solaris 8 and later; Sol 7? */
>
> static int
> foreach_localaddr (/*@null@*/ void *data,
>
>
> The information contained in this E-mail message and the documents accompanying this message are
> privileged and confidential, and may be protected from disclosure. Please be aware that any use,
> printing, copying, disclosure or dissemination of this communication may be subject to legal
> restriction or sanction. If you think that you have received this E-mail message in error, please
> reply to the sender.
>
> For more information about Valmont Industries, Inc., please visit our web site at www.valmont.com
>
> _______________________________________________
> krb5-bugs mailing list
> krb5-bugs at mit.edu
> https://mailman.mit.edu/mailman/listinfo/krb5-bugs
--
Douglas E. Engert <DEEngert at anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
More information about the krb5-bugs
mailing list