Comment 11 for bug 816370

Revision history for this message
Gerd Hoffmann (kraxel-redhat) wrote : Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

On 08/04/11 10:54, Alon Levy wrote:
> On Thu, Aug 04, 2011 at 08:33:21AM -0000, Marcel Hnilka wrote:
>> Well, I tried to build it with your configuration. It ended with the
>> same result as I posted, but I found that building was successfull with
>> option --disable-spice.
>>
>> Sould you try to build it with --disable-spice option?
>>
>> I'll also try to build and install newest devel version of spice server
>> and client (0.9) (now I'm using 0.8.2), maybe this will help.
>
> This shouldn't be required. 0.9 is unstable, 0.8.2 is the latest stable.

spice server 0.8.2 triggers this somewhat obscure thing though. Fixed
by this commit:
http://cgit.freedesktop.org/spice/spice/commit/?h=0.8&id=54c660470a5aea19f799c5574cc0d4a707696712

spice-server 0.8.2 *.pc file has a (pointless) alsa dependency. That
leads to -I/usr/include/alsa/include being added to the cflags. There
is an error.h in that directory, which gets included instead of qemu's
error.h ...

>> In file included from qapi/qapi-visit-core.c:14:
>> ./qapi/qapi-visit-core.h:31: error: expected declaration specifiers or ‘...’ before ‘Error’

... and thats why Error isn't defined.

cheers,
   Gerd

Guess we should have a 0.8.3 spice release soonish, there are also other
bugfixes which look important in the 0.8 branch ...