From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Atwood Subject: Re: KVM compile fails on s390x Date: Sat, 2 Aug 2008 19:00:23 +0700 Message-ID: <200808021900.23830.robin@binro.org> References: <200807312107.39200.robin@binro.org> <200808011409.02379.borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Christian Borntraeger Return-path: Received: from kcout02.prserv.net ([12.154.55.32]:42845 "EHLO kcout02.prserv.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752806AbYHBMAb (ORCPT ); Sat, 2 Aug 2008 08:00:31 -0400 In-Reply-To: <200808011409.02379.borntraeger@de.ibm.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Friday 01 Aug 2008, Christian Borntraeger wrote: > Am Donnerstag, 31. Juli 2008 schrieb Robin Atwood: > > I guess I am doing something very dumb, but when I try to compile kvm-72 > > on z900 architecture (actually Hercules) I immediately get a compile > > error: > > > > zgentoo kvm-72 # ./configure --disable-gfx-check --disable-sdl > > Your userspace headers dont have all the necessary pieces... > You want to add --with-patched-kernel, that should trigger an headers_sync > to get the header files from the kernel. The correct headers are now found but later into the compile I get: In file included from /var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu/exec.c:41: /var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu/tcg/tcg.h:24:24: error: tcg-target.h: No such file or directory /var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu/tcg/tcg.h:37:2: error: #error unsupported make[2]: *** [exec.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu/i386-softmmu' make[1]: *** [subdir-i386-softmmu] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-emulation/kvm-72/work/kvm-72/qemu' make: *** [qemu] Error 2 There is no tcg-target.h for the s390 arch but why is i386-softmmu being compiled? TIA -Robin -- ---------------------------------------------------------------------- Robin Atwood. "Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst" from "Mandalay" by Rudyard Kipling ----------------------------------------------------------------------