[Spice-devel] Make problem wit lz4

Victor Toso victortoso at redhat.com
Thu Jun 18 11:32:24 PDT 2015


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