Comment 16 for bug 816370

Revision history for this message
Michael Roth (mdroth) wrote : Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

On 08/08/2011 11:46 PM, rowa wrote:
> This Bug is not fixed in QEMU 0.15.0
> :-(
>

Hi Rowa,

Take a look at Gerd Hoffmann's comment: it looks like Spice server 0.8.2
pulls in some ALSA includes that contain a error.h which ends up
clobbering the error.h that that particular C file is trying to pull in.

If you're compiling Spice server 0.8.2 from scratch, you can try this patch:

http://cgit.freedesktop.org/spice/spice/commit/?h=0.8&id=54c660470a5aea19f799c5574cc0d4a707696712

Otherwise you can try Stefan's suggestion to confirm you see an ALSA
directory containing an error.h file as a -I option in make's gcc
invocation.

If either is the case, it looks like the "fix" is upstream in Spice and
I'm guessing it'll be included in the next release. You might need to
make do with a patched Spice in the meantime, unfortunately.