Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Compilation issue on Mac OS

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 21 Apr 2017 11:50:18 -0700
On Apr 21, 2017, at 11:37 AM, ajay saxena <aileronajay@xxxxxxxxx> wrote:

> I have attached with this mail, the Makefile present in epan/dissectors/Makefile
> 
> The output of clang --version is 
> 
> Ajays-MacBook-Pro:dissectors ajasaxen$ clang --version
> Apple LLVM version 8.1.0 (clang-802.0.42)
> Target: x86_64-apple-darwin16.5.0
> Thread model: posix
> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

OK, that's the same compiler I have, and I temporarily changed /usr/local to have a separate directory with GeoIP.h and a symlink in /usr/local/include back there - and a Wireshark build successfully compiled packet-ip.c

What happens if you temporarily replace the symlink in /usr/local/include/GeoIP.h with a copy of the GeoIP.h file?