[Spice-devel] spice-gtk 0.6 build problem

Emre Erenoglu erenoglu at gmail.com
Sun Apr 24 06:41:44 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110424/c1c8d19f/attachment.html>


More information about the Spice-devel mailing list