Ошибка при попытке собрать nginx
Sergey S. Ropchan
fenix at ramb.com.ua
Thu Mar 24 20:11:16 MSK 2005
Следующая ошибка при попытке собрать 0.1.26:
....
make -f objs/Makefile
gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/modules/proxy -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:44: error: syntax error before "ngx_regex_t"
src/http/modules/ngx_http_rewrite_module.c: In function `ngx_http_rewrite_regex_start_code':
src/http/modules/ngx_http_rewrite_module.c:320: warning: implicit declaration of function `ngx_regex_exec'
src/http/modules/ngx_http_rewrite_module.c:320: error: structure has no member named `regex'
src/http/modules/ngx_http_rewrite_module.c:322: error: `NGX_REGEX_NO_MATCHED' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:322: error: (Each undeclared identifier is reported only once
src/http/modules/ngx_http_rewrite_module.c:322: error: for each function it appears in.)
src/http/modules/ngx_http_rewrite_module.c:343: error: `ngx_regex_exec_n' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:343: error: syntax error before string constant
src/http/modules/ngx_http_rewrite_module.c:343: warning: empty body in an if-statement
src/http/modules/ngx_http_rewrite_module.c:343: warning: left-hand operand of comma expression has no effect
src/http/modules/ngx_http_rewrite_module.c:343: warning: left-hand operand of comma expression has no effect
src/http/modules/ngx_http_rewrite_module.c:343: warning: left-hand operand of comma expression has no effect
src/http/modules/ngx_http_rewrite_module.c:343: error: syntax error before ')' token
src/http/modules/ngx_http_rewrite_module.c: In function `ngx_http_rewrite':
src/http/modules/ngx_http_rewrite_module.c:990: error: structure has no member named `regex'
src/http/modules/ngx_http_rewrite_module.c:990: warning: implicit declaration of function `ngx_regex_compile'
src/http/modules/ngx_http_rewrite_module.c:992: error: structure has no member named `regex'
src/http/modules/ngx_http_rewrite_module.c:1149: warning: implicit declaration of function `ngx_regex_capture_count'
src/http/modules/ngx_http_rewrite_module.c:1149: error: structure has no member named `regex'
src/http/modules/ngx_http_rewrite_module.c:1154: error: `ngx_regex_capture_count_n' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:1154: error: syntax error before string constant
src/http/modules/ngx_http_rewrite_module.c: In function `ngx_http_rewrite_if_condition':
src/http/modules/ngx_http_rewrite_module.c:1432: error: structure has no member named `regex'
src/http/modules/ngx_http_rewrite_module.c:1433: error: `NGX_REGEX_CASELESS' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_module.c:1436: error: structure has no member named `regex'
*** Error code 1
...
--
Best regards,
Sergey S. Ropchan mailto:fenix at ramb.com.ua
More information about the nginx-ru
mailing list