Skip to content

Instantly share code, notes, and snippets.

@abedra
Created December 24, 2012 03:21
Show Gist options
  • Save abedra/4367310 to your computer and use it in GitHub Desktop.
Save abedra/4367310 to your computer and use it in GitHub Desktop.
lua -v
Lua 5.2.1 Copyright (C) 1994-2012 Lua.org, PUC-Rio
pacman -Q | grep lua
lua 5.2.1-3
make
Making all in tools
make[1]: Entering directory `/home/abedra/Downloads/modsecurity-apache_2.7.1/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/abedra/Downloads/modsecurity-apache_2.7.1/tools'
Making all in apache2
make[1]: Entering directory `/home/abedra/Downloads/modsecurity-apache_2.7.1/apache2'
make all-am
make[2]: Entering directory `/home/abedra/Downloads/modsecurity-apache_2.7.1/apache2'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I/usr/include/libxml2 -DWITH_LUA -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -DREQUEST_EARLY -g -O2 -MT mod_security2_la-msc_lua.lo -MD -MP -MF .deps/mod_security2_la-msc_lua.Tpo -c -o mod_security2_la-msc_lua.lo `test -f 'msc_lua.c' || echo './'`msc_lua.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I/usr/include/libxml2 -DWITH_LUA -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -DREQUEST_EARLY -g -O2 -MT mod_security2_la-msc_lua.lo -MD -MP -MF .deps/mod_security2_la-msc_lua.Tpo -c msc_lua.c -fPIC -DPIC -o .libs/mod_security2_la-msc_lua.o
msc_lua.c: In function ‘lua_restore’:
msc_lua.c:82:5: error: too few arguments to function ‘lua_load’
In file included from msc_lua.h:23:0,
from msc_lua.c:17:
/usr/include/lua.h:256:16: note: declared here
msc_lua.c: In function ‘lua_compile’:
msc_lua.c:93:7: warning: assignment makes pointer from integer without a cast [enabled by default]
msc_lua.c: In function ‘lua_execute’:
msc_lua.c:414:7: warning: assignment makes pointer from integer without a cast [enabled by default]
make[2]: *** [mod_security2_la-msc_lua.lo] Error 1
make[2]: Leaving directory `/home/abedra/Downloads/modsecurity-apache_2.7.1/apache2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/abedra/Downloads/modsecurity-apache_2.7.1/apache2'
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment