4.1.1 and 4.1.2 compile problem w/ geoip
2008-07-31 by cah4i
I'm currently using 4.0 with geoip and spf and am having problems
compiling 4.1.1 and 4.1.2. I get the below:
gcc -g -O2 -Wall -Iyes/include -Iyes/include -DUSE_GEOIP -Iyes/include
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -I. -I. -c -o geoip.o geoip.c
In file included from geoip.h:32,
from geoip.c:54:
acl.h:180: error: field `spf_status' has incomplete type
make: *** [geoip.o] Error 1
I'm using GeoIP-1.4.4 and libsfp2 1.2.5. OS is Centos 4.6 and kernel
is 2.6.9-67.0.22.EL. My configure command is ./configure
--with-libmilter --with-libGeoIP --with-libspf2. I am able to compile
successfully if I do not include geoip support.
Any insights or suggestions for fixing this would be greatly
appreciated. Thanks!