Hello,
When i try to compile geoip module with the latest development version of the nginx following warning/error occurs
[code]
src/http/modules/ngx_http_geoip_module.c:117: error: ‘GeoIPRecord’ has no member named ‘continent_code’
cc1: warnings being treated as errors
src/http/modules/ngx_http_geoip_module.c: In function ‘ngx_http_geoip_region_name_variable’:
src/http/modules/ngx_http_geoip_module.c:275: warning: implicit declaration of function ‘GeoIP_region_name_by_code’
src/http/modules/ngx_http_geoip_module.c:275: warning: assignment makes pointer from integer without a cast
make[1]: *** [objs/src/http/modules/ngx_http_geoip_module.o] Error 1
make[1]: Leaving directory `/root/nginx-0.8.53'
make: *** [build] Error 2
[/code]
Any idea how to fix this ?
Thanks.
http://www.somerorbay.com