Wireshark-dev: Re: [Wireshark-dev] mergecap: undefined reference to `register_tap_listener_eth_
Hi,
Le 24 août 2014 15:51, "Toralf Förster" <toralf.foerster@xxxxxx> a écrit :
>
> I get this since a while :
>
> CCLD mergecap
> ui/gtk/libgtkui.a(libgtkui_a-wireshark-tap-register.o): In function `register_all_tap_listeners':
> wireshark-tap-register.c:(.text+0x4): undefined reference to `register_tap_listener_eth_hostlist'
> wireshark-tap-register.c:(.text+0xe): undefined reference to `register_tap_listener_fc_hostlist'
> wireshark-tap-register.c:(.text+0x13): undefined reference to `register_tap_listener_fddi_hostlist'
> wireshark-tap-register.c:(.text+0xd1): undefined reference to `register_tap_listener_ip_hostlist'
> wireshark-tap-register.c:(.text+0xd6): undefined reference to `register_tap_listener_ipv6_hostlist'
> wireshark-tap-register.c:(.text+0xdb): undefined reference to `register_tap_listener_ipx_hostlist'
> wireshark-tap-register.c:(.text+0xe1): undefined reference to `register_tap_listener_jxta_hostlist'
> wireshark-tap-register.c:(.text+0xf1): undefined reference to `register_tap_listener_ncp_hostlist'
> wireshark-tap-register.c:(.text+0xfb): undefined reference to `register_tap_listener_rsvp_hostlist'
> wireshark-tap-register.c:(.text+0x10b): undefined reference to `register_tap_listener_sctp_hostlist'
> wireshark-tap-register.c:(.text+0x11b): undefined reference to `register_tap_listener_tcpip_hostlist'
> wireshark-tap-register.c:(.text+0x121): undefined reference to `register_tap_listener_tr_hostlist'
> wireshark-tap-register.c:(.text+0x126): undefined reference to `register_tap_listener_udpip_hostlist'
> wireshark-tap-register.c:(.text+0x12b): undefined reference to `register_tap_listener_usb_hostlist'
> wireshark-tap-register.c:(.text+0x136): undefined reference to `register_tap_listener_wlan_hostlist'
> collect2: error: ld returned 1 exit status
> make[2]: *** [wireshark] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/home/tfoerste/devel/wireshark'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/tfoerste/devel/wireshark'
> make: *** [all] Error 2
>
>
> even after a
>
> $ ./autogen.sh && export CFLAGS="-O2 -march=native -pipe" && export CXXFLAGS="$CFLAGS" && ./configure && make -j4
Do a 'make maintainer-clean' or manually remove the wireshark-tap-register.c file.
Regards,
Pascal.