[krbdev.mit.edu #2598] Cannot compile KRB5 on HP-UX 11

Ken Raeburn raeburn at MIT.EDU
Thu Jul 22 18:17:52 EDT 2004


"Douglas E. Engert" <deengert at anl.gov> writes:
> I don't quite understand the foreachaddr.c

Yeah, it's one of those chunks of code that's sort of aggregated over
time as we try to handle N different mechanisms, and could probably
stand a rewrite, preferably after getting HP-UX support and better
Windows support.

> and since we do not have any
> HPs with IPV6, the simplist thing was to ifdef them out for now. 

Sure.

I've just checked in a change on the trunk of the krb5 repository
(should be in tonight's snapshot) which tests for "struct lifconf" and
should go back to the regular "struct ifconf" version of the code if
it's not found.  I'd appreciate it if one of you could try it out.

> I have copied 3 of the header files from an HP 11.11 which pertain to 
> IPv6 into AFS at /afs/anl.gov/usr/ctd/b17783/pub/hp.11.11 
> If you can not access these I can send you a copy. 

Thanks.

> If you need to test any thing, I can try and compile any changes. 

Do your HP systems not have IPv6 capability at all, or is it just that
your network isn't carrying IPv6 traffic?

>From the headers you've provided, I think I might be able to cobble
together some code that might find the IPv6 addresses on local
interfaces, if only it could be tested.  (I'd need one more bit of
info, actually: Does including <net/if.h> cause <net/if6.h> to be
included, or does it have to be included separately?)  Actually using
IPv6 for communication isn't done here, that's elsewhere, so it
wouldn't really matter if your network wasn't carrying IPv6 traffic.

If either of you have an HP-UX 11 system where you could configure a
local IPv6 address for the sake of running a test program or two, I
can try to put the code together.  Otherwise, our IPv6 support is
probably going to be incomplete on HP-UX for the 1.4 release.

Ken


More information about the krb5-bugs mailing list