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

From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Tue, 1 Mar 2022 10:07:17 +0000
Thanks for the responses.  Somehow, epan/dissectors/packet-ncp2222.c did exist in the build folder, but was empty.  After deleting it and rebuilding the correct file was generated.
Martin

On Tue, Mar 1, 2022 at 12:02 AM Guy Harris <gharris@xxxxxxxxx> wrote:
> 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'

        ...

> On Feb 28, 2022, at 8:50 AM, Jim Young <jim.young.ws@xxxxxxxxx> wrote:
>
> Looking at a few of the undefined references with `git grep` it looks
> like they are defined in epan/dissectors/packet-ncp2222.inc.

...which is included by packet-ncp2222.c, which is a file *generated* during the build process (i.e., it's not in epan/dissectors in the source tree, it's in epan/dissectors in the *build* tree) by tools/ncp2222.py (which, as the name suggests, required Python).
___________________________________________________________________________
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