Welcome! Log In Create A New Profile

Advanced

nginx 0.8.53 geoip compilation issue

November 26, 2010 02:31PM
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
Subject Author Posted

nginx 0.8.53 geoip compilation issue

st1905 November 26, 2010 02:31PM

Re: nginx 0.8.53 geoip compilation issue

st1905 November 26, 2010 03:08PM

Re: nginx 0.8.53 geoip compilation issue

Igor Sysoev November 27, 2010 04:02AM

Re: nginx 0.8.53 geoip compilation issue

st1905 November 27, 2010 06:11AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready