Wireshark mailing list archives

master: link fails on Ubuntu 14.04


From: Bertin Nicolas <nicolas.bertin () al-enterprise com>
Date: Thu, 31 Jan 2019 08:45:19 +0000

Hello,


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


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