Wireshark-dev: Re: [Wireshark-dev] Linking on OSX Sierra

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Wed, 12 Oct 2016 21:08:53 +0100


On 12 October 2016 at 20:15, Evan Huus <eapache@xxxxxxxxx> wrote:
On Wed, Oct 12, 2016 at 3:04 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
> On Oct 12, 2016, at 11:41 AM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
>
>> Just for fun I did a quick search for that Usage output (minus the "Wireshark" prefix which is clearly $0) and found this program which has that exact output:
>>
>> https://github.com/the-tcpdump-group/libpcap/blob/master/tests/capturetest.c
>
> Yeah, that's one of a pile of test programs I wrote to test various libpcap features.
>
> The binary is *not* part of a libpcap installation, so there shouldn't be an executable for it unless the test programs were built.
>
> Evan, what happens if you remove the build directory entirely, re-create it, do a cmake in it, and then redo the build?

Completely blowing away the build directory and starting again seems
to have fixed it. That was really weird, especially since (to my
knowledge) I don't even have a source build of libpcap on this
machine.

Anywho, thanks everyone for the help!


CMake standard repair #1 :-)

--
Graham Bloice