All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: B Cran <bruce.cran@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Duplicate definition of 'qemu_time' building git master
Date: Wed, 18 Mar 2015 08:32:40 +0100	[thread overview]
Message-ID: <55092A18.60005@redhat.com> (raw)
In-Reply-To: <CANdOk1sVFz0tAo6wtq9q6OPJ+RQ9YgDq42Yw_w1r6fgcrABf6g@mail.gmail.com>



On 17/03/2015 21:36, B Cran wrote:
> When trying to build the latest git master on openSUSE 13.2, it failed with:
> 
> vl.c:711:15: error: ‘qemu_time’ redeclared as different kind of symbol
>  static time_t qemu_time(void)
>                ^
> In file included from qemu/include/block/aio.h:23:0,
>                  from qemu/include/hw/hw.h:13,
>                  from vl.c:62:
> qemu/include/qemu/timer.h:1005:16: note: previous declaration of
> ‘qemu_time’ was here
>  extern int64_t qemu_time, qemu_time_start;
>                 ^
>   CC    backends/rng-egd.o
>   CC    backends/rng-random.o
> qemu/rules.mak:57: recipe for target 'vl.o' failed
> make: *** [vl.o] Error 1
> make: *** Waiting for unfinished jobs....
> 
> 
> The ./configure commandline I used (which has previously worked) was:
> 
> ./configure --prefix=~ --enable-sdl --disable-xen --enable-kvm
> --enable-curses --enable-fdt --disable-bluez --disable-user
> --enable-uuid --disable-vde --enable-linux-aio --enable-vhost-net
> --enable-spice --enable-libusb --enable-usb-redir --enable-lzo
> --enable-libssh2 --enable-profiler --enable-system
> --target-list=i386-softmmu,x86_64-softmmu
> 

A patch has been posted to fix this.  You can disable --enable-profiler,
you probably have never used it.

Paolo

      reply	other threads:[~2015-03-18  7:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 20:36 [Qemu-devel] Duplicate definition of 'qemu_time' building git master B Cran
2015-03-18  7:32 ` Paolo Bonzini [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=55092A18.60005@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=bruce.cran@gmail.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.