On Fri, Nov 22, 2013 at 12:16:37PM +0100, Erik Rull wrote: > > On November 22, 2013 at 11:56 AM Stefan Hajnoczi <stefa...@gmail.com> wrote: > > > > > > On Thu, Nov 21, 2013 at 09:44:29PM +0100, Erik Rull wrote: > > > Hu Tao wrote: > > > >On Thu, Nov 21, 2013 at 09:06:43AM +0100, Erik Rull wrote: > > > >>Hi all, > > > >> > > > >>when doing a git clone on the latest master, it fails compiling: > > > >> > > > >> CC x86_64-softmmu/memory_mapping.o > > > >> CC x86_64-softmmu/dump.o > > > >> CC x86_64-softmmu/xen-stub.o > > > >> CC x86_64-softmmu/hw/i386/multiboot.o > > > >> CC x86_64-softmmu/hw/i386/smbios.o > > > >> CC x86_64-softmmu/hw/i386/pc.o > > > >> CC x86_64-softmmu/hw/i386/pc_piix.o > > > >> CC x86_64-softmmu/hw/i386/pc_q35.o > > > >> CC x86_64-softmmu/hw/i386/pc_sysfw.o > > > >> CC x86_64-softmmu/hw/i386/kvmvapic.o > > > >> CPP x86_64-softmmu/acpi-dsdt.dsl.i.orig > > > >> ACPI_PREPROCESS x86_64-softmmu/acpi-dsdt.dsl.i > > > >> IASL x86_64-softmmu/acpi-dsdt.dsl.i > > > >>make[1]: *** [hw/i386/acpi-dsdt.hex] Error 1 > > > >>make: *** [subdir-x86_64-softmmu] Error 2 > > > >>erik@debian:~/qemu-test/qemu$ > > > >> > > > >> > > > >>My configure options are: > > > >>./configure --prefix= --target-list=x86_64-softmmu --disable-vnc-png > > > > > > > >Are you sure about --prefix= and... > > > > > > > >>--disable-vnc-jpeg --disable-vnc-tls --disable-vnc-sasl > > > >>--audio-drv-list= > > > > > > > >... --audio-drv-list= ? > > > > > > > >>--enable-sdl --disable-xen --disable-brlapi --disable-bluez > > > >>--disable-curl > > > >>--disable-guest-agent --disable-spice > > > > > > > >I can't even do a configure with exactly the above options, it gives an > > > >error message: > > > > > > > > ERROR: unknown option --disable-vnc-sasl > > > > > > > >While removing --prefix= and --audio-drv-list=, the compilation goes > > > >fine. > > > > > > > > > > No, sorry, the error is still the same! I did a make distclean and > > > redid the configure without the options you pointed out. > > > > > > Any further ideas? Are there more possibilities to debug why the > > > compilation fails? > > > > Just a guess, but do you have the acpica-tools package installed? You > > need the iasl compiler. > > > > Stefan > > > > Hi Stefan, > > my distro doesn't seem to have this package: > debian:/home/erik# apt-get install acpica-tools > Reading package lists... Done > Building dependency tree... Done > E: Couldn't find package acpica-tools > debian:/home/erik# > > The IASL compiler is installed, here the version: > Intel ACPI Component Architecture > ASL Optimizing Compiler version 20060912 [Dec 20 2006] > Copyright (C) 2000 - 2006 Intel Corporation > Supports ACPI Specification Revision 3.0a > > And there is no newer version available for my distro. > > It's getting more and more complex to build qemu, is there a reason why > everyone > needs to build the acpi stuff by himself? It should be something static like > the > bios binary files, right? (Sorry for this question, I'm not familiar with > ACPI) > So you could provide the defaults directly and everyone that wants to modify > the > defaults is free to compile it by himself. > > And if these tools are required, please add an error message at configure > runtime so that the successive errors at runtime will not appear, because > compiling is then blocked by configure. And if the IASL is too old, a version > check at configure runtime would be helpful as well.
All of this is reasonable but I don't know the answers :). CCing Michael Tsirkin for ACPI help Stefan