From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YY8T9-0001hR-Qm for qemu-devel@nongnu.org; Wed, 18 Mar 2015 03:32:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YY8T6-00032j-LT for qemu-devel@nongnu.org; Wed, 18 Mar 2015 03:32:47 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:35333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YY8T6-00032a-F9 for qemu-devel@nongnu.org; Wed, 18 Mar 2015 03:32:44 -0400 Received: by wgdm6 with SMTP id m6so27493977wgd.2 for ; Wed, 18 Mar 2015 00:32:43 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <55092A18.60005@redhat.com> Date: Wed, 18 Mar 2015 08:32:40 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Duplicate definition of 'qemu_time' building git master List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: B Cran , qemu-devel@nongnu.org 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