[mod-security-users] problem compiling?
Brought to you by:
victorhora,
zimmerletw
|
From: Aviram C. <avi...@ot...> - 2005-12-06 21:07:29
|
Hi all, relatively new to this, so I am probably making a very obvious mistake... I am getting errors installing/compiling mod_security. can you help? thanks, -avi here is the requested info # cd apache2/ # apxs -cia mod_security.c /etc/httpd/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd -c -o mod_security.lo mod_security.c && touch mod_security.slo mod_security.c: In function `sec_audit_logger_concurrent': mod_security.c:5419: `APR_MD5_DIGESTSIZE' undeclared (first use in this function) mod_security.c:5419: (Each undeclared identifier is reported only once mod_security.c:5419: for each function it appears in.) mod_security.c: In function `register_hooks': mod_security.c:7959: incompatible type for argument 3 of `ap_register_input_filter' mod_security.c:7959: too many arguments to function `ap_register_input_filter' mod_security.c:7960: incompatible type for argument 3 of `ap_register_output_filter' mod_security.c:7960: too many arguments to function `ap_register_output_filter' apxs:Error: Command failed with rc=65536 . # uname -a Linux otn.com 2.4.20-28.7smp #1 SMP Thu Dec 18 11:18:31 EST 2003 i686 unknown # cat /etc/redhat-release Red Hat Linux release 7.3 (Valhalla) # httpd -V Server version: Apache/2.0.36 Server built: Jul 24 2002 07:53:25 Server's Module Magic Number: 20020329:1 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_ERRORLOG="logs/error_log" -D SERVER_CONFIG_FILE="conf/httpd.conf" # httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c # grep RELEASE mod_security.c #define MODULE_RELEASE "1.9.1" -- -- Aviram Carmi Owner Executive Vice President, Technology (805) 384-1144 Over TheNet PO Box 1499 http://www.otn.com/ Camarillo, CA 93011-1499 (c) Copyright 2004, Over TheNet. All rights reserved. |