So i checked the AM_CPPFLAGS in both makefiles, The makefile in the epan directory has
AM_CPPFLAGS = $(INCLUDEDIRS) -I$(builddir)/wslua $(WS_CPPFLAGS) \ $(GLIB_CFLAGS) $(LUA_CFLAGS) $(LIBGNUTLS_CFLAGS) \ $(LIBGCRYPT_CFLAGS) $(LIBSMI_CFLAGS) $(LIBGEOIP_CFLAGS) \ $(LZ4_CFLAGS) $(KRB5_CFLAGS) $(SNAPPY_CFLAGS) $(LIBXML2_CFLAGS) as the AM_CPPFLAGS whereas in the epan/dissectors directory the makefile has AM_CPPFLAGS as AM_CPPFLAGS = $(INCLUDEDIRS) -I$(top_srcdir)/epan $(WS_CPPFLAGS) \ $(GLIB_CFLAGS) $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) \ $(LIBGEOIP_CFLAGS) $(KRB5_CFLAGS) $(LIBXML2_CFLAGS) the LIBGEOIP_CFLAGS is in both though. Do files in epan directory import GeoIP too? On Fri, Apr 21, 2017 at 5:06 PM, ajay saxena <[email protected]> wrote: > Please find attached, the Makefile in the epan directory. > > On Fri, Apr 21, 2017 at 5:02 PM, Guy Harris <[email protected]> wrote: > >> On Apr 21, 2017, at 1:47 PM, ajay saxena <[email protected]> wrote: >> >> > So i added the include lua directive at the top of the file and now i >> get the error for lua >> > >> > packet-ip.c:27:10: fatal error: 'lua.h' file not found >> > #include <lua.h> >> > ^ >> >> ...which works just fine for files in the epan directory, but not for >> files in the epan/dissectors directory. >> >> You can remove the extra include; that was just a test. >> >> Please send the Makefile in the epan directory, so I can compare it with >> the Makefile in the epan/dissectors directory (which you already sent). >> >> ____________________________________________________________ >> _______________ >> Sent via: Wireshark-dev mailing list <[email protected]> >> Archives: https://www.wireshark.org/lists/wireshark-dev >> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev >> mailto:[email protected]?subject=unsubscr >> ibe >> > >
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
