Ошибка при сборке nginx-0.5.5 на FreeBSD 6.1

MerLIN IIIEB4YK at ya.ru
Mon Dec 25 07:32:13 MSK 2006


FreeBSD 6.1

# ./configure --with-pcre= --with-cc-opt="-I /usr/local/include"  
--with-ld-opt="-L /usr/local/lib"
[...]

# make
[...]
gcc -c -O -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter  
-Wno-unused-function -Wunused-variable -Wunused-value -Werror -g -I  
/usr/local/include -I src/core  -I src/event  -I src/event/modules  -I  
src/os/unix  -I objs -I src/http  -I src/http/modules  -o  
objs/src/http/modules/ngx_http_rewrite_module.o   
src/http/modules/ngx_http_rewrite_module.c
src/http/modules/ngx_http_rewrite_module.c: In function `ngx_http_rewrite':
src/http/modules/ngx_http_rewrite_module.c:313: error:  
`ngx_http_script_regex_code_t' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:313: error: (Each undeclared  
identifier is reported only once
src/http/modules/ngx_http_rewrite_module.c:313: error: for each function  
it appears in.)
src/http/modules/ngx_http_rewrite_module.c:313: error: `regex' undeclared  
(first use in this function)
src/http/modules/ngx_http_rewrite_module.c:314: error:  
`ngx_http_script_regex_end_code_t' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:314: error: `regex_end'  
undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:332: warning: implicit  
declaration of function `ngx_regex_compile'
src/http/modules/ngx_http_rewrite_module.c:339: error:  
`ngx_http_script_regex_start_code' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:410: warning: implicit  
declaration of function `ngx_regex_capture_count'
src/http/modules/ngx_http_rewrite_module.c:415: error:  
`ngx_regex_capture_count_n' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:415: error: syntax error before  
string constant
src/http/modules/ngx_http_rewrite_module.c:446: error:  
`ngx_http_script_regex_end_code' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c: In function  
`ngx_http_rewrite_if_condition':
src/http/modules/ngx_http_rewrite_module.c:657: error:  
`ngx_http_script_regex_code_t' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:657: error: `regex' undeclared  
(first use in this function)
src/http/modules/ngx_http_rewrite_module.c:766: error:  
`NGX_REGEX_CASELESS' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:774: error:  
`ngx_http_script_regex_start_code' undeclared (first use in this function)
*** Error code 1

Stop in /tmp/nginx.
*** Error code 1

Stop in /tmp/nginx.

#





More information about the nginx-ru mailing list