Wireshark mailing list archives
Re: Compilation issue on Mac OS
From: Guy Harris <guy () alum mit edu>
Date: Fri, 21 Apr 2017 20:02:03 -0700
On Apr 21, 2017, at 7:33 PM, ajay saxena <aileronajay () gmail com> wrote:
Though the compile failed at a different file addr_resolv.c:91:11: fatal error: 'ares.h' file not found # include <ares.h>
So it's failing for files in the epan directory, not just for files in epan/dissectors.
and this file too is present in the /usr/local/include. So i think AM_CPPFLAGS is not searching my /usr/local/include.
Makefile variables don't search anything. *Compilers* search something. The question here is why the compiler isn't searching /usr/local/include. Unfortunately, what the LLVM project calls a "manual" for Clang: http://clang.llvm.org/docs/UsersManual.html isn't a very *good* manual - for example, it doesn't describe the include file search rules anywhere, so it gives no indication of whether /usr/local/include is part of the default search path and, if it's not always part of the default search path, when it's not. Now, on your system, the autotools make use something called "gcc", but that might just be Clang, rather than GCC, if you haven't explicitly installed GCC. What does "gcc --version" print? ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Compilation issue on Mac OS, (continued)
- Re: Compilation issue on Mac OS Guy Harris (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS Guy Harris (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS Guy Harris (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS Guy Harris (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS Guy Harris (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS ajay saxena (Apr 21)
- Re: Compilation issue on Mac OS Guy Harris (Apr 22)
- Re: Compilation issue on Mac OS ajay saxena (Apr 22)
- Re: Compilation issue on Mac OS ajay saxena (Apr 22)
- Re: Compilation issue on Mac OS ajay saxena (Apr 22)