nginx 0.8.53 geoip compilation issue
Igor Sysoev
igor at sysoev.ru
Sat Nov 27 11:57:36 MSK 2010
On Fri, Nov 26, 2010 at 03:08:18PM -0500, st1905 wrote:
> After upgrading to the latest C api from maxmind, following is
> happening
>
> [code]
> src/os/unix/ngx_process.c:490: warning: `sys_errlist' is deprecated; use
> `strerror' or `strerror_r' instead
> src/os/unix/ngx_process.c:490: warning: `sys_nerr' is deprecated; use
> `strerror' or `strerror_r' instead
http://nginx.org/en/docs/sys_errlist.html
This issue will be fixed in upcoming 0.9.0.
> objs/src/http/modules/ngx_http_geoip_module.o: In function
> `ngx_http_geoip_region_name_variable':
> src/http/modules/ngx_http_geoip_module.c:275: undefined reference to
> `GeoIP_region_name_by_code'
> [/code]
Strange, I've just upgraded GeoIP to 1.4.6 from 1.4.4 on my FreeBSD host:
>pkg_info | grep GeoIP
GeoIP-1.4.6 Find the country that any IP address or hostname originates
And nginx have been built without issues. Besides, there is
GeoIP_region_name_by_code() function in lib GeoIP library:
>strings /usr/local/lib/libGeoIP.so | grep GeoIP_region_name_by_code
GeoIP_region_name_by_code
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list