[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu git master fails to build
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] qemu git master fails to build |
Date: |
Sun, 04 Nov 2012 15:21:53 -0600 |
User-agent: |
Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
"Gabriel L. Somlo" <address@hidden> 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