Wireshark-dev: Re: [Wireshark-dev] LZ4AF (LZ4 auto-framing library) not available on Ubuntu 14.
From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Tue, 16 May 2017 09:02:44 +0000

Hi,

Fond this:

https://github.com/facebook/folly/commit/5a66fe5de00a07af9e159efa2bfdaa6fdb925d24

 

Summary:

D4715918 broke open source builds on Ubuntu 14.04, since it has lz4-r114, but the lz4 frame API was introduced in [r123](https://github.com/lz4/lz4/blob/r123/lz4frame.h).

Put the `LZ4FrameCodec` behind a lz4 version check.

Fixes facebook/fbthrift#209.

 

 

+#if LZ4_VERSION_NUMBER >= 10301

+#include <lz4frame.h>

+#endif

 

Will try it out.

Regards

Anders

 

From: Wireshark-dev [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Anders Broman
Sent: den 16 maj 2017 10:43
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] LZ4AF (LZ4 auto-framing library) not available on Ubuntu 14.04 -> packet-kafka.c dose not compile

 

Hi,

I get

  CCLD     libdirtydissectors.la

  CCLD     libfiledissectors.la

  CC       packet-kafka.lo

packet-kafka.c:37:22: fatal error: lz4frame.h: No such file or directory

#include <lz4frame.h>

 

I’m not sure what symbol should be used to protect the code

#ifdef HAVE_LZ4

#include <lz4frame.h>

#endif

 

Regards

Anders