From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuseppe Date: Tue, 11 May 2010 14:35:13 +0000 Subject: Re: kvm-qemu build break on PPC 970 environment Message-Id: <4BE96B21.9080307@czero.it> List-Id: References: <4BE92B0C.1020902@czero.it> In-Reply-To: <4BE92B0C.1020902@czero.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc@vger.kernel.org Alexander Graf ha scritto: > > Am 11.05.2010 um 14:40 schrieb Giuseppe : > >> Alexander Graf ha scritto: >>> >>> Am 11.05.2010 um 12:01 schrieb Giuseppe : >>> >>>> Hi, >>>> I have some problems compiling the last qemu-kvm git tree, the >>>> first is about this patch: >>> >>> Hi Guiseppe, >>> >>> Please use stock qemu.git for powerpc. There you can switch to kvm >>> mode using -enable-kvm. >>> >>> Alex >>> >> Hi, >> if you intend the git://git.sv.gnu.org/qemu.git I get the same problem: >> >> CC ppc64-softmmu/kvm-all.o >> cc1: warnings being treated as errors >> /usr/src/qemu/kvm-all.c: In function 'kvm_get_dirty_pages_log_range': >> /usr/src/qemu/kvm-all.c:305: error: implicit declaration of function >> 'leHOST_LONG_BITS_to_cpu' >> make[1]: *** [kvm-all.o] Error 1 >> make[1]: *** Waiting for unfinished jobs.... >> make: *** [subdir-ppc64-softmmu] Error 2 >> >> >> I'm doing something wrong??? > > No you're not. Appatently something broke recently :(. I'll look at it > asap. > > Alex > Thanks, in addictions if I run configure without --disable-vhost-net, "make" try to access the "eventfd.h" that exist only in qemu-kvm under compat/sys/eventfd.h CC ppc-softmmu/vhost_net.o /usr/src/qemu/hw/vhost_net.c:23:25: error: sys/eventfd.h: No such file or directory make[1]: *** [vhost_net.o] Error 1 make: *** [subdir-ppc-softmmu] Error 2 bye Giuseppe.