It looks to me like perhaps older Solaris had -lposix4 and newer Solaris has -lrt for nanosleep(). On Solaris 8 posix4 is a symlink to rt. Perhaps configure can figure it out? This works on Solaris 8: dnl Workaround for nanosleep and solaris case $system in SunOS) AC_MSG_CHECKING(whether SunOS has -lrt ) LDSAVEFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -lrt" AC_TRY_LINK_FUNC(nanosleep, rt_ok=yes, rt_ok=no) if test "x$rt_ok" = "xyes"; then AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) AC_MSG_CHECKING(whether SunOS has -lposix4 ) LDFLAGS="$LDSAVEFLAGS -lposix4" AC_TRY_LINK_FUNC(nanosleep, posix_ok=yes, posix_ok=no) if test "x$posix_ok" = "xyes"; then AC_MSG_RESULT(yes) else LDFLAGS=$LDSAVEFLAGS AC_MSG_RESULT(no) AC_MSG_WARN(*** Try setting LIBS or LDFLAGS manually to point to the library with nanosleep()***) fi fi ;; esac -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup