"Gabriel L. Somlo" <gso...@gmail.com> writes: > Paolo, > > On current git master, if I do: > > ./configure --prefix=/home/somlo/KVM-OSX/SCRATCH --target-list=x86_64-softmmu > make clean > make
I just pushed a fix for this. Regards, Anthony Liguori > > > I end up with: > > CC qemu-timer.o > qemu-timer.c: In function `init_timer_alarm': > qemu-timer.c:780:5: error: implicit declaration of function `pthread_atfork' > [-Werror=implicit-function-declaration] > qemu-timer.c:780:5: error: nested extern declaration of `pthread_atfork' > [-Werror=nested-externs] > cc1: all warnings being treated as errors > make: *** [qemu-timer.o] Error 1 > > > A 'git bisect' points at c8122c35e611385b31e2d8ccb059d0687540244a > (qemu-timer: reinitialize timers after fork) as the possible culprit. > Also, adding '#include <pthread.h>' to qemu-timer.c seems to make it happy. > > > Thanks, > --Gabriel