Wireshark-dev: Re: [Wireshark-dev] Build failure (kerberos)

From: Dario Lombardo <lomato@xxxxxxxxx>
Date: Sat, 21 Mar 2020 23:58:41 +0100
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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


--
Naima is online.