Wireshark-dev: Re: [Wireshark-dev] Errors using nmake/VC++2010 EE
From: Graham Bloice <[email protected]>
Date: Thu, 21 Aug 2014 16:11:24 +0100
On 21 August 2014 16:00, Robert Cragie <[email protected]> wrote:
Hopefully this is the right mailing list - if not, please tell me where to post.

I am getting the following errors building commit 14605754afc3dd0da0ef2da1c534cb4d77cc2d9e using MSVC_VARIANT=MSVC2010EE nmake:

Linking wireshark.exe
    link @C:\Users\Robert\AppData\Local\Temp\nm3CCA.tmp
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_wlan_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_usb_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_udpip_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_tr_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_tcpip_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_sctp_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_rsvp_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_ncp_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_jxta_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_ipx_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_ipv6_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_ip_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_fddi_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_fc_hostlist referenced in function _register_all_tap_listeners
libgtkui.lib(wireshark-tap-register.obj) : error LNK2019: unresolved external symbol _register_tap_listener_eth_hostlist referenced in function _register_all_tap_listeners

It has been like this over the last few commits. I do have some local repo commits but I don't think it will be affecting this.

Anyone help?


This comes about due to a stale ui\gtk\wireshark-tap-register.c.  I can't remember if I simply  deleted the file or had to do some sort of "clean", "distclean", "maintainer-clean" build as well.

--
Graham Bloice