Wireshark-dev: Re: [Wireshark-dev] Build breakage on master?

Date Prev · Date Next · Thread Prev · Thread Next
From: Jim Young <jim.young.ws@xxxxxxxxx>
Date: Mon, 28 Feb 2022 11:50:05 -0500
Looking at a few of the undefined references with `git grep` it looks
like they are defined in epan/dissectors/packet-ncp2222.inc.

> % git grep ncp_echo_server
> epan/dissectors/packet-ncp-int.h:extern gboolean ncp_echo_server;
> epan/dissectors/packet-ncp.c:                                   &ncp_echo_server);
> epan/dissectors/packet-ncp2222.inc:gboolean    ncp_echo_server = TRUE;
> epan/dissectors/packet-ncp2222.inc:    if (ncp_echo_server && !request) {

On Mon, Feb 28, 2022 at 10:58 AM Martin Mathieson via Wireshark-dev
<wireshark-dev@xxxxxxxxxxxxx> wrote:
>
> I am seeing this error on master.  Don't have time to look into it just now, but I have just made a new VM for building Wireshark.  Which object file is supposed to implement these?
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `nds_defrag'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `ncp_echo_file'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `nds_defragment'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `dissect_nds_request'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `nds_echo_eid'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `dissect_ping_req'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `dissect_ncp_reply'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `ncp_echo_err'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `ncp_newstyle'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `dissect_ncp_request'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `ncp_echo_conn'
>
> /usr/bin/ld: run/libwireshark.so.0.0.0: undefined reference to `ncp_echo_server'
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe