[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] qemu git master fails to build
From: |
Gabriel L. Somlo |
Subject: |
[Qemu-devel] qemu git master fails to build |
Date: |
Sun, 4 Nov 2012 14:26:34 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Paolo,
On current git master, if I do:
./configure --prefix=/home/somlo/KVM-OSX/SCRATCH --target-list=x86_64-softmmu
make clean
make
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
- [Qemu-devel] qemu git master fails to build,
Gabriel L. Somlo <=