[Spice-devel] Make problem wit lz4

Klaus Hochlehnert Mailings at kh-dev.de
Thu Jun 18 11:57:10 PDT 2015


Both are version 114

-----Original Message-----
From: Victor Toso [mailto:victortoso at redhat.com] 
Sent: Thursday, June 18, 2015 8:32 PM
To: Klaus Hochlehnert
Cc: spice-devel at lists.freedesktop.org
Subject: Re: [Spice-devel] Make problem wit lz4

Hi,

On Thu, Jun 18, 2015 at 05:40:29PM +0000, Klaus Hochlehnert wrote:
> Hi,
>
> I tried to build spice-gtk-0.29 with lz4 support on Ubuntu 14.04 and get this error:
>
> ...
> In file included from ../spice-common/common/sw_canvas.c:29:0,
>                  from client_sw_canvas.c:20:
> ../spice-common/common/canvas_base.c: In function 'canvas_get_lz4':
> ../spice-common/common/canvas_base.c:530:5: error: unknown type name 'LZ4_streamDecode_t'
>      LZ4_streamDecode_t *stream;
>      ^
> ../spice-common/common/canvas_base.c:575:5: warning: implicit declaration of function 'LZ4_createStreamDecode' [-Wimplicit-function-declaration]
>      stream = LZ4_createStreamDecode();
>      ^
> ...
>
> Is the lz4 package too old in Ubuntu 14.04?

Maybe, which version do you have?
pkg-config --modversion liblz4

Double check if you have the devel package installed of liblz4.

Best,
Victor Toso



More information about the Spice-devel mailing list