Не собирается на RedHat FC3
S.J.Soft
sjsoft at newmail.ru
Mon Feb 21 17:57:25 MSK 2005
Здравствуйте, Igor!
Пытаюсь собрать nginx(nginx-0.1.20.tar.gz, nginx-0.1.19.tar.gz
пробовал) на RedHat FC3 выдает следуещее:
./configure --with-threads
make
...
Часть проходит на ура, и застревает здесь.
...
gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused -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_handler.o \
src/http/modules/ngx_http_rewrite_handler.c
src/http/modules/ngx_http_rewrite_handler.c:38: error: syntax error before "ngx_regex_t"
src/http/modules/ngx_http_rewrite_handler.c:38: warning: no semicolon at end of struct or union
src/http/modules/ngx_http_rewrite_handler.c:44: error: syntax error before ':' token
src/http/modules/ngx_http_rewrite_handler.c:47: error: syntax error before ':' token
src/http/modules/ngx_http_rewrite_handler.c:49: error: syntax error before ':' token
src/http/modules/ngx_http_rewrite_handler.c:50: error: syntax error before ':' token
src/http/modules/ngx_http_rewrite_handler.c:53: error: syntax error before '}' token
src/http/modules/ngx_http_rewrite_handler.c:53: warning: type defaults to `int' in declaration of `ngx_http_rewrite_regex_code_t'
src/http/modules/ngx_http_rewrite_handler.c:53: warning: data definition has no type or storage class
src/http/modules/ngx_http_rewrite_handler.c: In function `ngx_http_rewrite_regex_start_code':
src/http/modules/ngx_http_rewrite_handler.c:270: error: `code' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_handler.c:270: error: (Each undeclared identifier is reported only once
src/http/modules/ngx_http_rewrite_handler.c:270: error: for each function it appears in.)
src/http/modules/ngx_http_rewrite_handler.c:272: error: syntax error before ')' token
src/http/modules/ngx_http_rewrite_handler.c:285: warning: implicit declaration of function `ngx_regex_exec'
src/http/modules/ngx_http_rewrite_handler.c:287: error: `NGX_REGEX_NO_MATCHED' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_handler.c:298: error: `ngx_regex_exec_n' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_handler.c:298: error: syntax error before string constant
src/http/modules/ngx_http_rewrite_handler.c:298: warning: empty body in an if-statement
src/http/modules/ngx_http_rewrite_handler.c:298: warning: left-hand operand of comma expression has no effect
src/http/modules/ngx_http_rewrite_handler.c:298: warning: left-hand operand of comma expression has no effect
src/http/modules/ngx_http_rewrite_handler.c:298: warning: left-hand operand of comma expression has no effect
src/http/modules/ngx_http_rewrite_handler.c:298: error: syntax error before ')' token
src/http/modules/ngx_http_rewrite_handler.c: In function `ngx_http_rewrite_merge_loc_conf':
src/http/modules/ngx_http_rewrite_handler.c:691: error: `regex' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_handler.c:718: error: syntax error before ')' token
src/http/modules/ngx_http_rewrite_handler.c: In function `ngx_http_rewrite':
src/http/modules/ngx_http_rewrite_handler.c:767: error: `regex' undeclared (first use in this function)
src/http/modules/ngx_http_rewrite_handler.c:785: warning: implicit declaration of function `ngx_regex_compile'
src/http/modules/ngx_http_rewrite_handler.c:943: warning: implicit declaration of function `ngx_regex_capture_count'
make[1]: *** [objs/src/http/modules/ngx_http_rewrite_handler.o] Error 1
make[1]: Leaving directory `/distrib/nginx-0.1.19'
make: *** [build] Error 2
С наилучшими пожеланиями,S.J.Soft.
Мой адрес электронной почты mailto:sjsoft at newmail.ru.
More information about the nginx-ru
mailing list