When I tried to compile qemu git with --enable-io-thread on Mac OS X 10.6.2, it botches on qemu-thread: CC qemu-thread.o /Users/cwbetts/makestuff/qemu/qemu-thread.c: In function ‘qemu_mutex_timedlock’: /Users/cwbetts/makestuff/qemu/qemu-thread.c:66: warning: implicit declaration of function ‘clock_gettime’ /Users/cwbetts/makestuff/qemu/qemu-thread.c:66: error: ‘CLOCK_REALTIME’ undeclared (first use in this function) /Users/cwbetts/makestuff/qemu/qemu-thread.c:66: error: (Each undeclared identifier is reported only once /Users/cwbetts/makestuff/qemu/qemu-thread.c:66: error: for each function it appears in.) /Users/cwbetts/makestuff/qemu/qemu-thread.c:69: warning: implicit declaration of function ‘pthread_mutex_timedlock’ /Users/cwbetts/makestuff/qemu/qemu-thread.c: In function ‘qemu_cond_timedwait’: /Users/cwbetts/makestuff/qemu/qemu-thread.c:125: error: ‘CLOCK_REALTIME’ undeclared (first use in this function) make[1]: *** [qemu-thread.o] Error 1 make: *** [build-all] Error 2
Just a heads up.