Nginx-0.8.41 build warnings: `sys_errlist' & `sys_nerr' are derprecated

hi,

building nginx-0.8.41 from source, i’m seeing @ make,


objs/src/os/unix/ngx_process.o: In function ngx_process_get_status': /usr/local/src/nginx-0.8.41/src/os/unix/ngx_process.c:490: warning:sys_errlist’ is deprecated; use strerror' orstrerror_r’ instead
/usr/local/src/nginx-0.8.41/src/os/unix/ngx_process.c:490: warning:
sys_nerr' is deprecated; usestrerror’ or strerror_r' instead make[1]: Leaving directory/data/src/nginx-0.8.41’

i understand these are warnings, not errors, and it seems there’s no ill
effect,

nginx -V

                                                  nginx version:

nginx/0.8.41
built by gcc 4.5.0 20100615 [gcc-4_5-branch revision 160776] (SUSE
Linux)
TLS SNI support enabled
configure arguments: --prefix=/usr/local
–sbin-path=/usr/local/sbin/nginx
–conf-path=/usr/local/etc/nginx/nginx.conf --with-debug
–error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log
–pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock
–user=nobody --group=nobody --with-http_ssl_module
–with-cc=/usr/bin/gcc-4.5 --with-cpp=/usr/bin/cpp-4.5
–with-cc-opt=’-I/usr/local/include -I/usr/local/ssl/include
-I/usr/include’ --with-ld-opt=’-L/usr/local/ssl/lib
-Wl,-rpath,/usr/local/ssl/lib -lssl -lcrypto -ldl -lz’

hence, just fyi.

hth.

bendj

Hi,

On Thu, Jun 17, 2010 at 09:55:57PM -0700, Ben DJ wrote:

i understand these are warnings, not errors, and it seems there’s no ill effect,

nginx -V
nginx/0.8.41

http://nginx.org/en/docs/sys_errlist.html


Sergey A. Osokin,
[email protected]
[email protected]