Hi, "Robert A. Schmied" writes: > the sol10 manpage for readdir_r includes: > > SYNOPSIS > #include > #include > > struct dirent *readdir(DIR *dirp); > > struct dirent *readdir_r(DIR *dirp, struct dirent *entry); > > Standard conforming > cc [ flag... ] file... -D_POSIX_PTHREAD_SEMANTICS [ library... ] > > int readdir_r(DIR *restrict dirp, struct dirent *restrict > entry, struct dirent **restrict result); > > with the addition of -D_POSIX_PTHREAD_SEMANTICS on the compile line > the compile succeeds. Can you try the latest version of `branch_release-1-8' from the Git repository, or apply the attached patch (in both cases, you need Autoconf 2.61 or later, Automake 1.10 or later, Libtool 1.5.x)? The difference is that `configure.in' now uses `AC_USE_SYSTEM_EXTENSIONS', which automatically adds the definition of `_POSIX_PTHREAD_SEMANTICS' to `config.h'. This should address your problem. Thanks, Ludovic.