Wireshark mailing list archives
Re: master: link fails on Ubuntu 14.04
From: Peter Wu <peter () lekensteyn nl>
Date: Thu, 31 Jan 2019 12:21:22 +0100
Hi Nicolas, On Thu, Jan 31, 2019 at 08:45:19AM +0000, Bertin Nicolas wrote:
After synchronizing with master yesterday, I got this link error (see below) when building on Ubuntu 14.04 ui/qt/CMakeFiles/qtui.dir/rsa_keys_frame.cpp.o: In function `RsaKeysFrame::verifyKey(char const*, char const*, int*, QString&)': /home/bertin/devs/hwc/wireshark/wireshark.devs/ui/qt/rsa_keys_frame.cpp:64: undefined reference to `secrets_verify_key' ui/qt/CMakeFiles/qtui.dir/rsa_keys_frame.cpp.o: In function `RsaKeysFrame::on_addFileButton_clicked()': /home/bertin/devs/hwc/wireshark/wireshark.devs/ui/qt/rsa_keys_frame.cpp:167: undefined reference to `secrets_verify_key' ui/qt/CMakeFiles/qtui.dir/rsa_keys_frame.cpp.o: In function `RsaKeysFrame::on_addItemButton_clicked()': /home/bertin/devs/hwc/wireshark/wireshark.devs/ui/qt/rsa_keys_frame.cpp:88: undefined reference to `secrets_get_available_keys' collect2: error: ld returned 1 exit status I guess it's because GNUTLS version is < 3.2.0 (as reported by cmake) and as such, HAVE_GNUTLS is not defined, leading to secrets_verify_key() not compiled in secrets.c
Ubuntu 14.04 has two GnuTLS versions available, 2.8.x and 3.x. Support for the former was dropped in master. If RSA decryption support is important to you, install libgnutls28-dev for the 3.x version. Of course the build should not fail if the GnUTLS 3.x version is missing, this should fix the build issue without GnuTLS: https://code.wireshark.org/review/31837 -- Kind regards, Peter Wu https://lekensteyn.nl ___________________________________________________________________________ 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:
- master: link fails on Ubuntu 14.04 Bertin Nicolas (Jan 31)
- Re: master: link fails on Ubuntu 14.04 Peter Wu (Jan 31)
- Re: master: link fails on Ubuntu 14.04 Bertin Nicolas (Jan 31)
- Re: master: link fails on Ubuntu 14.04 Peter Wu (Jan 31)
- Re: master: link fails on Ubuntu 14.04 Bertin Nicolas (Jan 31)
- Re: master: link fails on Ubuntu 14.04 Bertin Nicolas (Jan 31)
- Re: master: link fails on Ubuntu 14.04 Peter Wu (Jan 31)