The Samba-Bugzilla – Bug 3368
samba build failure on hp-ux (no struct addrinfo)
Last modified: 2017-12-06 09:09:02 UTC
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.