Hey,

On Fri, Sep 19, 2014 at 01:28:46PM +0800, PaulCheung wrote:
> Dear all,
> I am compiling virt-viewer 1.0  on debian(arm).   I got the flowing problem!
> First I compiled & installed   spice-gtk-0.24.tar.gz
> then I install this,     1. ./configure      no error      2. make    and 
> then show the error below:
> 
> 
> make[2]: Entering directory `/root/virt-viewer-1.0/src'make  all-ammake[3]: 
> Entering directory `/root/virt-viewer-1.0/src'  CC       
> remote_viewer-virt-viewer-session-spice.ovirt-viewer-session-spice.c: In 
> function 
> 'virt_viewer_session_spice_main_channel_event':virt-viewer-session-spice.c:528:38:
>  error: missing expression between '(' and ')'make[3]: *** 
> [remote_viewer-virt-viewer-session-spice.o] Error 1make[3]: Leaving directory 
> `/root/virt-viewer-1.0/src'make[2]: *** [all] Error 2make[2]: Leaving 
> directory `/root/virt-viewer-1.0/src'make[1]: *** [all-recursive] Error 
> 1make[1]: Leaving directory `/root/virt-viewer-1.0'make: *** [all] Error 2

This is unexpected. Line 528 is
#if SPICE_GTK_CHECK_VERSION(0, 23, 21)
which should be all fine with spice-gtk 0.24. If you install spice-gtk
in the default prefix, or in one you specified, you may need to set
PKG_CONFIG_PATH/LD_LIBRARY_PATH before running virt-viewer configure.
Otherwise, could you have a look in the preprocessed output for 
virt-viewer-session-spice.c ? You can generate it with
make CFLAGS="$CFLAGS -save-temps". You should then have .i files after
the C preprocessor has run.

Christophe

Attachment: pgpuKWs6gnwh4.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to