[krbdev.mit.edu #2941] krb5-1.4 is unbuildable on HPUX 10.20
Lenny Foner via RT
rt-comment at krbdev.mit.edu
Thu Feb 24 17:40:43 EST 2005
Date: Thu, 24 Feb 2005 17:22:50 -0500 (EST)
From: "Tom Yu via RT" <rt-comment at krbdev.mit.edu>
It may be worth noting that the recommended invocation of the HP-UX
C compiler, 'cc -Ae', defines '-D_HPUX_SOURCE', which turns on most of
the extended namespace. By default the headers on HP-UX provide a
very restricted namespace.
Er, this compilation is being done under (a very old) gcc,
since the HP-UX "good" compiler costs money and we never
sprung for it, given gcc's existence.
It certainly doesn't look like the current compilation (under gcc) has
-D_HPUX_SOURCE being used, which come to think of it -is- somewhat
weird; many other things I've compiled using configure have tended to
set that, so that could explain something. (Not -everything-, mind
you, but many things. stunnel & emacs, for example, don't, so it's
not clear that everything really needs this.)
Just for yucks, I tried adding it manually to the giant list of others
in the threads.c compilation and retrying just that one invocation of
gcc, and it blows up identically.
Btw, I built a guest account for Ken to poke around with, though I'm
not sure what his current state is; if anyone else would like one, let
me know.
More information about the krb5-bugs
mailing list