qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Duplicate definition of 'qemu_time' building git master
@ 2015-03-17 20:36 B Cran
  2015-03-18  7:32 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: B Cran @ 2015-03-17 20:36 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]

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

-- 
Bruce

[-- Attachment #2: Type: text/html, Size: 1284 bytes --]

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

* Re: [Qemu-devel] Duplicate definition of 'qemu_time' building git master
  2015-03-17 20:36 [Qemu-devel] Duplicate definition of 'qemu_time' building git master B Cran
@ 2015-03-18  7:32 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2015-03-18  7:32 UTC (permalink / raw)
  To: B Cran, qemu-devel



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

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

end of thread, other threads:[~2015-03-18  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).