From: Baird, J. <jb...@fo...> - 2014-04-15 03:24:19
|
Hi, I'm attempting to roll some 1.3.5rc4 RPM's and I am having trouble building mod_geoip as a DSO: DEBUG: /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -I/usr/include/mysql -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -DPR_SHARED_MODULE -c mod_geoip.c DEBUG: libtool: compile: gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -I/usr/include/mysql -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -DPR_SHARED_MODULE -c mod_geoip.c -fPIC -DPIC -o .libs/mod_geoip.o DEBUG: mod_geoip.c: In function 'set_geoipfilter': DEBUG: mod_geoip.c:936: error: too few arguments to function 'pr_regexp_alloc' DEBUG: mod_geoip.c:944: warning: passing argument 1 of 'pr_regexp_free' from incompatible pointer type DEBUG: ../include/regexp.h:60: note: expected 'struct module *' but argument is of type 'struct regex_t *' DEBUG: mod_geoip.c:944: error: too few arguments to function 'pr_regexp_free' DEBUG: make[1]: *** [mod_geoip.la] Error 1 Any ideas? This is a frehsly updated RHEL6 buildhost. Thanks, Josh |