forked from osmocom/wireshark
97f90c07ac
With BUILD_androiddump and EXTCAP_ANDROIDDUMP_LIBPCAP enabled, the linker notices a couple of cases of underlinking: extcap/androiddump.c:541: error: undefined reference to 'ws_inet_pton4' extcap/androiddump.c:685: error: undefined reference to 'ws_hexstrtou32' extcap/androiddump.c:2513: error: undefined reference to 'cmdarg_err_init' extcap/androiddump.c:2517: error: undefined reference to 'data_file_url' extcap/androiddump.c:2629: error: undefined reference to 'ws_strtou16' extcap/androiddump.c:2592: error: undefined reference to 'ws_strtou16' extcap/androiddump.c:2646: error: undefined reference to 'ws_strtou16' extcap/androiddump.c:1708: error: undefined reference to 'ws_inet_pton4' extcap/androiddump.c:1783: error: undefined reference to 'ws_inet_pton4' Fix that by explicitly linking against libwiretap and libwsutil when the linker cannot find those symbols by linking to them through libwireshark. Change-Id: I4db266fe82927c12d18fec06f9d766b9390bcec3 Reviewed-on: https://code.wireshark.org/review/35855 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com> |
||
---|---|---|
.. | ||
.editorconfig | ||
CMakeLists.txt | ||
androiddump.c | ||
ciscodump.c | ||
dpauxmon.c | ||
dpauxmon_user.h | ||
extcap-base.c | ||
extcap-base.h | ||
randpktdump.c | ||
sdjournal.c | ||
ssh-base.c | ||
ssh-base.h | ||
sshdump.c | ||
udpdump.c |