All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: "Gabriel L. Somlo" <gsomlo@gmail.com>, qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, jbaron@redhat.com
Subject: Re: [Qemu-devel] qemu git master fails to build
Date: Sun, 04 Nov 2012 15:21:53 -0600	[thread overview]
Message-ID: <874nl52he6.fsf@codemonkey.ws> (raw)
In-Reply-To: <20121104192633.GB2099@hedwig.ini.cmu.edu>

"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

      reply	other threads:[~2012-11-04 20:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-04 19:26 [Qemu-devel] qemu git master fails to build Gabriel L. Somlo
2012-11-04 21:21 ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nl52he6.fsf@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=gsomlo@gmail.com \
    --cc=jbaron@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.