Wireshark mailing list archives

Re: Build failure (kerberos)


From: Martin Mathieson via Wireshark-dev <wireshark-dev () wireshark org>
Date: Sun, 22 Mar 2020 08:48:22 +0000

Hi Dario,

KERBEROS is listed among OPTIONAL packages not found (at the end of cmake
output).  I will also attach CMakeCache.txt.

-- The following OPTIONAL packages have been found:

 * Git
 * GMODULE2
 * PCAP
 * ZLIB
 * LZ4 , LZ4 is lossless compression algorithm used in some protocol
(CQL...) , <http://www.lz4.org>
   LZ4 decompression in CQL and Kafka dissectors
 * LibXml2
 * SETCAP
 * XSLTPROC

-- The following REQUIRED packages have been found:

 * GLIB2 (required version >= 2.32.0)
 * GTHREAD2
 * GCRYPT (required version >= 1.4.2)
 * CARES (required version >= 1.5.0) , Library for asynchronous DNS
requests , <https://c-ares.haxx.se/>
   DNS name resolution for captures
 * LEX
 * YACC
 * Perl
 * PythonInterp (required version >= 3.4)
 * M
 * Qt5Core
 * Qt5LinguistTools
 * Qt5Network (required version >= 5.6.2)
 * Qt5Gui (required version >= 5.6.2)
 * Qt5Multimedia
 * Qt5PrintSupport
 * Qt5Widgets
 * POD

-- The following OPTIONAL packages have not been found:

 * Gettext
 * LIBSSH (required version >= 0.6) , Library for implementing SSH clients
, <https://www.libssh.org/>
   extcap remote SSH interfaces (sshdump, ciscodump)
 * Systemd , System and Service Manager (libraries) , <
https://freedesktop.org/wiki/Software/systemd/>
   Support for systemd journal extcap interface (sdjournal)
 * MaxMindDB , C library for the MaxMind DB file format , <
https://github.com/maxmind/libmaxminddb>
   Support for GeoIP lookup
 * SMI
 * GNUTLS (required version >= 3.2.0)
 * KERBEROS
 * Minizip , C library for supporting zip/unzip functionality , <
https://www.winimage.com/zLibDll/minizip.html>
   Support for profiles import/export
 * BROTLI
 * SNAPPY , A fast compressor/decompressor from Google , <
https://google.github.io/snappy/>
   Snappy decompression in CQL and Kafka dissectors
 * ZSTD (required version >= 1.0.0) , A compressor/decompressor from
Facebook providing better compression than Snappy at a cost of speed , <
https://facebook.github.io/zstd/>
   Zstd decompression in Kafka dissector
 * NGHTTP2 , HTTP/2 C library and tools , <https://nghttp2.org>
   Header decompression in HTTP2
 * LUA (required version >= 5.1)
 * NL , Libraries for using the Netlink protocol on Linux , <
https://www.infradead.org/~tgr/libnl/>
   Support for managing wireless 802.11 interfaces
 * SBC , Bluetooth low-complexity, subband codec (SBC) decoder , <
https://git.kernel.org/pub/scm/bluetooth/sbc.git>
   Support for playing SBC codec in RTP player
 * SPANDSP , a library of many DSP functions for telephony , <
https://www.soft-switch.org>
   Support for G.722 and G.726 codecs in RTP player
 * BCG729 , G.729 decoder , <
https://www.linphone.org/technical-corner/bcg729/overview>
   Support for G.729 codec in RTP player
 * ILBC , iLBC decoder , <https://github.com/TimothyGu/libilbc>
   Support for iLBC codec in RTP player
 * CAP , The Libcap package implements the user-space interfaces to the
POSIX 1003.1e capabilities available in Linux kernels , <
https://sites.google.com/site/fullycapable/>
   Allow packet captures without running as root
 * DOXYGEN
 * SpeexDSP , SpeexDSP is a patent-free, Open Source/Free Software DSP
library , <https://www.speex.org/>
   RTP audio resampling
 * Asciidoctor (required version >= 1.5)

-- Configuring done
-- Generating done
-- Build files have been written to: /home/martin/wireshark-build

Martin



On Sat, Mar 21, 2020 at 10:59 PM Dario Lombardo <lomato () gmail com> wrote:

Hi, Martin
There are indeed some issues with conditional compilation with kerberos.
However I cannot reproduce this exact problem. Which  is your build
environment?

On Sat, Mar 21, 2020 at 9:41 PM Martin Mathieson via Wireshark-dev <
wireshark-dev () wireshark org> wrote:

I am seeing this:

./asn1/kerberos/packet-kerberos-template.c: In function
‘dissect_krb5_PAC_CREDENTIAL_INFO’:
./asn1/kerberos/packet-kerberos-template.c:2187:2: error: implicit
declaration of function ‘decrypt_krb5_data’
[-Werror=implicit-function-declaration]
./asn1/kerberos/packet-kerberos-template.c:2187:11: error: assignment
makes pointer from integer without a cast [-Werror]
./asn1/kerberos/packet-kerberos-template.c: At top level:
./asn1/kerberos/kerberos.cnf:360:1: error:
‘dissect_kerberos_PA_ENC_TS_ENC’ defined but not used
[-Werror=unused-function]
cc1: all warnings being treated as errors
epan/dissectors/CMakeFiles/dissectors.dir/build.make:35002: recipe for
target 'epan/dissectors/CMakeFiles/dissectors.dir/packet-kerberos.c.o'
failed

The declaration/definition of decrypt_krb5_data() depends upon
HAVE_MIT_KERBEROS being defined, but there is no guard around calling it at
packet-kerberos-template.c:2187.

Best regards,
Martin

___________________________________________________________________________
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



--

Naima is online.


Attachment: CMakeCache.txt
Description:

___________________________________________________________________________
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: