Welcome! Log In Create A New Profile

Advanced

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

June 18, 2010 01:00AM
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' or `strerror_r' instead
/usr/local/src/nginx-0.8.41/src/os/unix/ngx_process.c:490: warning:
`sys_nerr' is deprecated; use `strerror' 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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

BenDJ June 18, 2010 01:00AM

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

Sergey A. Osokin June 18, 2010 02:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready