Note that COMPAT_OHPUX has been renamed to COMPAT_HPUX_6X and this is a kernel option now, that should be specified together with COMPAT_HPUX.