Hi Andre,
I'm attempting to build nanomsg on a HP-UX machine (11.31) with aCC (A.06.12) and got into some trouble... I added two missing defines (which I assumed must be there), to fix some problems: NN_HAVE_HPUX NN_HAVE_SEMAPHORE
Can you provide a patch for that?
But this error I've not been able to fix (yet): CC src/aio/usock.lo "src/aio/usock_posix.inc", line 900: error #2852: expression must be a pointer to a complete object type hdr->msg_iov->iov_base += nbytes; Type type of the msg_iov member is undefined, which is struct iovec. This seems to be defined in /usr/include/sys/uio.h, guarded by a _INCLUDE_XOPEN_SOURCE_EXTENDED define, which is not defined. Defining it makes no difference, however.
Unfortunately, we don't have an HP-UX box in our build cluster, so I can't check myself, but what comes to mind is: Did you define _INCLUDE_XOPEN_SOURCE_EXTENDED *before* first inclusion of uio.h? A way to test that would be define _INCLUDE_XOPEN_SOURCE_EXTENDED in configure.in in case the compilation is going on on HP-UX platform.
Martin