qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Duplicate definition of 'qemu_time' building git master


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Duplicate definition of 'qemu_time' building git master
Date: Wed, 18 Mar 2015 08:32:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0


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 via email to

[Prev in Thread] Current Thread [Next in Thread]