On multiple machines/os's (from bsd, cygwin, fedora, opensuse, all of them) when compiling the latest sdk I get a timeofday error, and I tracked it down to libcglue.c in the src/libc directory. Commented out the gettimeofday function and it all worked fine.
Has anyone else (recently) tried to compile the sdk from svn?