I've had similar issues when enabling certain test/debug flags while configuring mod_security (I don't have access to my system right now, so I can't list which ones in particular). What is your ./configure command line?


On Wed, Nov 21, 2012 at 11:56 AM, Peter Vrabec <> wrote:
Hi Breno,

I'd like to run make check but it doesn't work for me. I don't know what
I do wrong. Could you help me please.

libtool: link: gcc -I/usr/include/httpd -I/usr/include/apr-1
-I/usr/include/apr-1 -I/usr/include/libxml2 -DWITH_PCRE_STUDY
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z
-Wl,relro -o msc_test msc_test-msc_test.o msc_test-re.o
msc_test-re_operators.o msc_test-re_actions.o msc_test-re_tfns.o
msc_test-re_variables.o msc_test-msc_logging.o msc_test-msc_xml.o
msc_test-msc_multipart.o msc_test-modsecurity.o msc_test-msc_parsers.o
msc_test-msc_util.o msc_test-msc_pcre.o msc_test-msc_unicode.o
msc_test-persist_dbm.o msc_test-msc_reqbody.o msc_test-msc_crypt.o
msc_test-msc_tree.o msc_test-msc_geo.o msc_test-msc_gsb.o
msc_test-acmp.o msc_test-msc_lua.o msc_test-msc_release.o  -lpthread
-lldap -llber -lexpat -ldb-4.8 /usr/lib64/
/usr/lib64/ -lpcre -lxml2 -lz -llua -lm -ldl -pthread
msc_test-re.o: In function `update_rule_target_ex':
undefined reference to `ap_log_error'

ap_log_error() is build in /usr/sbin/httpd.

$ nm -D /usr/sbin/httpd | grep ap_log_error
00000000002569a8 D ap_hack_ap_log_error
0000000000030760 T ap_log_error


Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
mod-security-developers mailing list
ModSecurity Services from Trustwave's SpiderLabs:

“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” - Edsger Dijkstra