FTR, here's what got me out of the weeds. -- John
diff --git a/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c b/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c
--- a/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c
+++ b/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c
@@ -132,6 +132,18 @@
}
#endif
+#if defined(_ALLBSD_SOURCE) && !defined(__linux__)
+/* Solaris function missing on Darwin. Temporary workaround to allow building.
+ */
+static DIR* fake_fdopendir(int dfd) {
+ errno = ENOSYS;
+ return NULL;
+}
+#define fdopendir fake_fdopendir
+#endif
+
+
/**
* Call this to throw an internal UnixException when a system/library
* call fails