0.9.1 compilation failure on Nexenta 3.0.1

Edho P Arief edhoprima at gmail.com
Sun Dec 5 12:45:07 MSK 2010


When playing around with Nexenta 3.0.1 and trying to compile latest
nginx, I got this error:

make[1]: Entering directory `/export/home/edho/tmp/nginx-0.9.1'
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter
-Wunused-function -Wunused-variable -Wunused-value -Werror -g
-I/app/pcre/include -I src/core -I src/event -I src/event/modules -I
src/os/unix -I objs \
                -o objs/src/os/unix/ngx_errno.o \
                src/os/unix/ngx_errno.c
src/os/unix/ngx_errno.c: In function ‘ngx_strerror’:
src/os/unix/ngx_errno.c:36: error: ‘NGX_SYS_NERR’ undeclared (first
use in this function)
src/os/unix/ngx_errno.c:36: error: (Each undeclared identifier is
reported only once
src/os/unix/ngx_errno.c:36: error: for each function it appears in.)
src/os/unix/ngx_errno.c: In function ‘ngx_strerror_init’:
src/os/unix/ngx_errno.c:57: error: ‘NGX_SYS_NERR’ undeclared (first
use in this function)
make[1]: *** [objs/src/os/unix/ngx_errno.o] Error 1
make[1]: Leaving directory `/export/home/edho/tmp/nginx-0.9.1'
make: *** [build] Error 2


-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list