# luajit libs installed via > sudo apt-get install libluajit-5.1-2 libluajit-5.1-common libluajit-5.1-dev luajit In file included from ../../../src/dynamic-preprocessors/appid/luaDetectorApi.h:32:0, from ../../../src/dynamic-preprocessors/appid/luaDetectorApi.c:37: /usr/include/luajit-2.1/lauxlib.h:26:18: note: expected ‘const luaL_Reg * {aka const struct luaL_Reg *}’ but argument is of type ‘const int *’ LUALIB_API void (luaL_openlib) (lua_State *L, const char *libname, ^~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/dynamic-preprocessors/include -I../../../src/dynamic-preprocessors/libs -I../../../src/dynamic-preprocessors/appid/util -I../../../src/dynamic-preprocessors/appid/service_plugins -I../../../src/dynamic-preprocessors/appid/client_plugins -I../../../src/dynamic-preprocessors/appid/detector_plugins -I./../libs -DLZMA -DGRE -DMPLS -DPPM_MGR -DNDEBUG -DSOURCEFIRE -DPPM_MGR -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -DHAVE_LIBLUAJIT -DDYNAMIC_PREPROC_CONTEXT -DSTATIC=static -DINLINE=inline -I/usr/include/luajit-2.1 -g -O2 -DSF_VISIBILITY -fvisibility=hidden -Wall -c ../../../src/dynamic-preprocessors/appid/service_state.c -o libsf_appid_preproc_la-service_state.o >/dev/null 2>&1 Makefile:702: recipe for target 'libsf_appid_preproc_la-luaDetectorApi.lo' failed make[5]: *** [libsf_appid_preproc_la-luaDetectorApi.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/dynamic-preprocessors/include -I../../../src/dynamic-preprocessors/libs -I../../../src/dynamic-preprocessors/appid/util -I../../../src/dynamic-preprocessors/appid/service_plugins -I../../../src/dynamic-preprocessors/appid/client_plugins -I../../../src/dynamic-preprocessors/appid/detector_plugins -I./../libs -DLZMA -DGRE -DMPLS -DPPM_MGR -DNDEBUG -DSOURCEFIRE -DPPM_MGR -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -DHAVE_LIBLUAJIT -DDYNAMIC_PREPROC_CONTEXT -DSTATIC=static -DINLINE=inline -I/usr/include/luajit-2.1 -g -O2 -DSF_VISIBILITY -fvisibility=hidden -Wall -c ../../../src/dynamic-preprocessors/appid/flow.c -o libsf_appid_preproc_la-flow.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/dynamic-preprocessors/include -I../../../src/dynamic-preprocessors/libs -I../../../src/dynamic-preprocessors/appid/util -I../../../src/dynamic-preprocessors/appid/service_plugins -I../../../src/dynamic-preprocessors/appid/client_plugins -I../../../src/dynamic-preprocessors/appid/detector_plugins -I./../libs -DLZMA -DGRE -DMPLS -DPPM_MGR -DNDEBUG -DSOURCEFIRE -DPPM_MGR -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -DHAVE_LIBLUAJIT -DDYNAMIC_PREPROC_CONTEXT -DSTATIC=static -DINLINE=inline -I/usr/include/luajit-2.1 -g -O2 -DSF_VISIBILITY -fvisibility=hidden -Wall -c ../../../src/dynamic-preprocessors/appid/luaDetectorModule.c -o libsf_appid_preproc_la-luaDetectorModule.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/dynamic-preprocessors/include -I../../../src/dynamic-preprocessors/libs -I../../../src/dynamic-preprocessors/appid/util -I../../../src/dynamic-preprocessors/appid/service_plugins -I../../../src/dynamic-preprocessors/appid/client_plugins -I../../../src/dynamic-preprocessors/appid/detector_plugins -I./../libs -DLZMA -DGRE -DMPLS -DPPM_MGR -DNDEBUG -DSOURCEFIRE -DPPM_MGR -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -DHAVE_LIBLUAJIT -DDYNAMIC_PREPROC_CONTEXT -DSTATIC=static -DINLINE=inline -I/usr/include/luajit-2.1 -g -O2 -DSF_VISIBILITY -fvisibility=hidden -Wall -c ../../../src/dynamic-preprocessors/appid/commonAppMatcher.c -o libsf_appid_preproc_la-commonAppMatcher.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/dynamic-preprocessors/include -I../../../src/dynamic-preprocessors/libs -I../../../src/dynamic-preprocessors/appid/util -I../../../src/dynamic-preprocessors/appid/service_plugins -I../../../src/dynamic-preprocessors/appid/client_plugins -I../../../src/dynamic-preprocessors/appid/detector_plugins -I./../libs -DLZMA -DGRE -DMPLS -DPPM_MGR -DNDEBUG -DSOURCEFIRE -DPPM_MGR -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -DFEAT_OPEN_APPID -DHAVE_LIBLUAJIT -DDYNAMIC_PREPROC_CONTEXT -DSTATIC=static -DINLINE=inline -I/usr/include/luajit-2.1 -g -O2 -DSF_VISIBILITY -fvisibility=hidden -Wall -c ../../../src/dynamic-preprocessors/appid/fw_appid.c -o libsf_appid_preproc_la-fw_appid.o >/dev/null 2>&1 make[5]: Leaving directory '/home/dev/sources/snort-2.9.11.1/src/dynamic-preprocessors/appid' Makefile:1036: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/home/dev/sources/snort-2.9.11.1/src/dynamic-preprocessors' Makefile:807: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/home/dev/sources/snort-2.9.11.1/src/dynamic-preprocessors' Makefile:558: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/dev/sources/snort-2.9.11.1/src' Makefile:516: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/dev/sources/snort-2.9.11.1' Makefile:382: recipe for target 'all' failed make: *** [all] Error 2