ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

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

> This is what is get on running  head /usr/local/include/GeoIP.h
> 
> 
> Ajays-MacBook-Pro:~ ajasaxen$ head /usr/local/include/GeoIP.h
> /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
> /* GeoIP.h
>  *
>  * Copyright (C) 2016 MaxMind, Inc.
>  *
>  * This library is free software; you can redistribute it and/or
>  * modify it under the terms of the GNU Lesser General Public
>  * License as published by the Free Software Foundation; either
>  * version 2.1 of the License, or (at your option) any later version.
>  *

So head can find /usr/local/include/GeoIP.h, but clang can't?

> packet-ip.c:64:10: fatal error: 'GeoIP.h' file not found
> #include <GeoIP.h>

Could you send the contents of epan/dissectors/Makefile?

And what does clang --version print?