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

Ben DJ bendj095124367913213465 at gmail.com
Fri Jun 18 08:55:57 MSD 2010


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



More information about the nginx mailing list