[Spice-devel] spice-gtk 0.6 build problem
Marc-André Lureau
marcandre.lureau at gmail.com
Sun Apr 24 10:21:18 PDT 2011
Hi,
Doh! I forgot to bump the minimal spice-protocol dependency to 0.8.
Unfortunately, this release is yet to be made.
Meanwhile, you can fix spice-protocol with the following patch:
http://cgit.freedesktop.org/spice/spice-protocol/commit/?id=2ffbca210033be262fc75e6a73742e0f0e6d5242
regards
On Sun, Apr 24, 2011 at 3:41 PM, Emre Erenoglu <erenoglu at gmail.com> wrote:
> On Sun, Apr 24, 2011 at 1:00 PM, Marc-André Lureau
> <marcandre.lureau at gmail.com> wrote:
>>
>> Hey!
>>
>> We released spice-gtk 0.6 last week, and it is now available for
>> download at its usual place:
>>
>> http://spice-space.org/download/gtk/spice-gtk-0.6.tar.bz2
>>
>
> Hi,
>
> I'm the package maintainer for Pardus distribution and we are working on
> spice support on future releases. While I was able to compile & package
> spice-gtk 0.5 on my test system without issues, I'm failing to compile 0.6,
> although all is fine at the configure stage.
>
> The configure script results as:
>
> configure:
>
> Spice-Gtk 0.6
> ==============
>
> prefix: /usr
> c compiler: x86_64-pc-linux-gnu-gcc -std=gnu99
> c++ compiler: x86_64-pc-linux-gnu-g++
>
> Coroutine: ucontext
> Audio: pulse
> Target:
> SASL support: yes
> Gtk: 2.0
>
> Now type 'make' to build spice-gtk
>
> return value for "./configure --prefix=/usr --build=x86_64-pc-linux-gnu
> --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
> --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec
> --with-python --disable-static" is 0
>
>
> The actual compilation breaks with the following error messages:
>
> Making all in controller
> make[4]: Entering directory
> `/var/pisi/spice-gtk-0.6-1/work/spice-gtk-0.6/gtk/controller'
> make all-am
> make[5]: Entering directory
> `/var/pisi/spice-gtk-0.6-1/work/spice-gtk-0.6/gtk/controller'
> CC menu.lo
> CC test.o
> CC controller.lo
> In file included from controller.c:20:0:
> /usr/include/spice-1/spice/controller_prot.h:31:5: error: expected
> specifier-qualifier-list before 'uint32_t'
> /usr/include/spice-1/spice/controller_prot.h:38:5: error: expected
> specifier-qualifier-list before 'uint64_t'
> /usr/include/spice-1/spice/controller_prot.h:47:5: error: expected
> specifier-qualifier-list before 'uint32_t'
> /usr/include/spice-1/spice/controller_prot.h:91:5: error: expected
> specifier-qualifier-list before 'uint32_t'
> /usr/include/spice-1/spice/controller_prot.h:96:5: error: expected
> specifier-qualifier-list before 'uint8_t'
> In file included from menu.c:20:0:
> /usr/include/spice-1/spice/controller_prot.h:31:5: error: expected
> specifier-qualifier-list before 'uint32_t'
> /usr/include/spice-1/spice/controller_prot.h:38:5: error: expected
> specifier-qualifier-list before 'uint64_t'
> /usr/include/spice-1/spice/controller_prot.h:47:5: error: expected
> specifier-qualifier-list before 'uint32_t'
> /usr/include/spice-1/spice/controller_prot.h:91:5: error: expected
> specifier-qualifier-list before 'uint32_t'
> /usr/include/spice-1/spice/controller_prot.h:96:5: error: expected
> specifier-qualifier-list before 'uint8_t'
>
> *** 5 errors, 0 warnings
>
> My system has the following compiler: gcc 4.5.2
>
> Many thanks for any insights to make it work again,
>
> Best regards,
> --
> Emre
>
--
Marc-André Lureau
More information about the Spice-devel
mailing list