I found I needed to remove an inline directive to get a build working on HP-UX using the HP-UX C compiler (HP aC++ version C.03.55 on HPUX11.00) +++ samba/source/popt/poptint.h 2006-06-16 00:08:03.000000000 +1000 @@ -14,7 +14,7 @@ * @param p memory to free * @retval NULL always */ -/*@unused@*/ static inline /*@null@*/ void * +/*@unused@*/ static /*@null@*/ void * _free(/*@only@*/ /*@null@*/ const void * p) /*@modifies p @*/ { I'm using the latest release of HP aC++ for hpux11.00 (ref http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1743,00.html#11)
Current supported versions of Samba (eg 4.8 and above) require a C99 compiler that supports inline. Marking WONTFIX Sorry!