Paul Eggert<eggert@cs.ucla.edu> writes:
I looked into the problem some more and found what I think is the
underlying problem: gnulib-tool generated lib/gnulib.mk.in before it
generates m4/gnulib-comp.m4, which Makefile-generation relies upon. I
reverted my recent hack to emacs/admin/merge-gnulib and installed the
attached Gnulib patch. Please update to the latest Emacs and Gnulib
and try again.
I tried this now, but the symptoms seem to be the same -- after trying
to use nanosleep, as described before, I still get:
/usr/bin/ld: gnutls.o: in function `gnutls_try_handshake':
/home/larsi/src/emacs/gtest/src/gnutls.c:634: undefined reference to
`rpl_nanosleep'
collect2: error: ld returned 1 exit status