building Samba-3.0.21 on HP-UX-11.00 with Heimdal-0.7.1 fails
.../clikrb5.c: In function `krb5_locate_kdc':
.../clikrb5.c:351: dereferencing pointer to incomplete type
.../clikrb5.c:352: dereferencing pointer to incomplete type
.../clikrb5.c: In function `get_krb5_smb_session_key':
.../clikrb5.c:606: warning: int format, size_t arg (arg 2)
The problem seems to be, that the struct addrinfo is missing in
/usr/include/netdb.h on HP-UX-11.00 (and maybe other systems).
I remember that Samba was successfully built in later 3.x Samba releases, so I think this one can be closed safely.