[Spice-devel] compiling virt-viewer 1.0 error

Christophe Fergeau cfergeau at redhat.com
Fri Sep 19 01:51:20 PDT 2014


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
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140919/46d2434d/attachment.sig>

More information about the Spice-devel mailing list