So a little more digging shows that if _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED=1 are defined, then the build succeeds and runs correctly.
Would it make sense to automatically add CFLAGS='-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1' and LIBS='-lxnet' on architectures matching *-hp-hpux*? The attached patch does just this. Scott, can you give it a whirl? Dustin -- Storage Software Engineer http://www.zmanda.com
hpux.patch
Description: Binary data
