nginx 0.8.53 geoip compilation issue

st1905 nginx-forum at nginx.us
Fri Nov 26 22:31:12 MSK 2010


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.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,153558,153558#msg-153558




More information about the nginx mailing list