Wireshark mailing list archives

Re: LZ4AF (LZ4 auto-framing library) not available on Ubuntu 14.04 -> packet-kafka.c dose not compile


From: Anders Broman <anders.broman () ericsson com>
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 () wireshark org] On Behalf Of Anders Broman
Sent: den 16 maj 2017 10:43
To: wireshark-dev () wireshark org
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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: