qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu git master fails to build
@ 2012-11-04 19:26 Gabriel L. Somlo
  2012-11-04 21:21 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel L. Somlo @ 2012-11-04 19:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, jbaron

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] qemu git master fails to build
  2012-11-04 19:26 [Qemu-devel] qemu git master fails to build Gabriel L. Somlo
@ 2012-11-04 21:21 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2012-11-04 21:21 UTC (permalink / raw)
  To: Gabriel L. Somlo, qemu-devel; +Cc: pbonzini, jbaron

"Gabriel L. Somlo" <gsomlo@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-04 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-04 19:26 [Qemu-devel] qemu git master fails to build Gabriel L. Somlo
2012-11-04 21:21 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).