Gentoo Archives: gentoo-user

From: Anthony Delannoy <anthony.2lannoy@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Wireshark compile issue
Date: Sat, 27 Mar 2021 09:22:16
Message-Id: YF75PIhgLuy8QWzF@nibbler
1 Hi,
2
3 Release of wireshark 3.4.4 showed me an issue with my system. Compilation,
4 linking & installation are OK with USE=-qt5, but when I try to install it with
5 qt5 flag I get a lot of undefined reference on qt5 symbols.
6
7 Extract of linking flags:
8 ```
9 run/wireshark -Wl,-rpath,"\$ORIGIN:" run/libui.a run/libcapchild.a run/libcaputils.a run/libwireshark.so.14.0.4 /usr/lib64/libQt5Multimedia.so.5.15.2 /usr/lib64/libQt5PrintSupport.so.5.15.2 /usr/lib64/libQt5Widgets.so.5.15.2 -lz /usr/lib64/libspeexdsp.so /usr/lib64/libminizip.so /usr/lib64/libnl-genl-3.so /usr/lib64/libnl-route-3.so /usr/lib64/libnl-3.so /usr/lib64/libpcap.so run/libwiretap.so.11.0.4 run/libwsutil.so.12.0.0 -ldl /usr/lib64/libgmodule-2.0.so /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /usr/lib64/libgnutls.so -lm /usr/lib64/libglib-2.0.so /usr/lib64/libQt5Network.so.5.15.2 /usr/lib64/libQt5Gui.so.5.15.2 /usr/lib64/libQt5Core.so.5.15.2
10 ```
11
12 All of those libs are present and "works" well with my others qt5 packages, but
13 with wireshark (sample of errors):
14
15 ```
16 ...
17 /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: about_dialog.cpp:(.text+0xc7e): undefined reference to `AboutDialog::staticMetaObject'
18 /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: io_graph_dialog.cpp:(.text+0x42b1): undefined reference to `IOGraphDialog::staticMetaObject'
19 /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gsm_map_summary_dialog.cpp:(.text+0x25b8): undefined reference to `GsmMapSummaryDialog::staticMetaObject'
20 ...
21 ```
22
23 I also tried wireshark-3.4.3 again and I have now the same issues.
24
25 Someone is experiencing the same ?
26
27 Have a nice day