We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Referencing from issue http://code.google.com/p/substitutions4nginx/issues/detail?id=18
This also happens here with the following compile parameters both on nginx 1.2.3 and 1.3.4
auto/configure --with-cc=cl --builddir=objs --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --with-http_sub_module --http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre-8.31 --with-zlib=objs/lib/zlib-1.2.7 --with-select_module --add-module=objs/modules/ngx_http_substitutions_filter_module/
cl -c -O2 -W0 -nologo -MT -Zi -DFD_SETSIZE=1024 -Yungx_config.h -Fpobjs/ngx_config.pch -I src/core -I src/event -I src/event/modules -I src/os/win32 -I objs/lib/pcre-8.31 -I ob
js/lib/zlib-1.2.7 -I objs -I src/http -I src/http/modules -I src/mail -Foobjs/src/http/modules/ngx_http_upstream_least_conn_module.obj src/http/modules/ngx_http_upstream_least_conn_mod ule.c ngx_http_upstream_least_conn_module.c cl -c -O2 -W0 -nologo -MT -Zi -DFD_SETSIZE=1024 -Yungx_config.h -Fpobjs/ngx_config.pch -I src/core -I src/event -I src/event/modules -I src/os/win32 -I objs/lib/pcre-8.31 -I ob js/lib/zlib-1.2.7 -I objs -I src/http -I src/http/modules -I src/mail -Foobjs/src/http/modules/ngx_http_upstream_keepalive_module.obj src/http/modules/ngx_http_upstream_keepalive_modul e.c ngx_http_upstream_keepalive_module.c cl -c -O2 -W0 -nologo -MT -Zi -DFD_SETSIZE=1024 -Yungx_config.h -Fpobjs/ngx_config.pch -I src/core -I src/event -I src/event/modules -I src/os/win32 -I objs/lib/pcre-8.31 -I ob js/lib/zlib-1.2.7 -I objs -I src/http -I src/http/modules -I src/mail -Foobjs/addon/ngx_http_substitutions_filter_module/ngx_http_subs_filter_module.obj objs/modules/ngx_http_substitut ions_filter_module//ngx_http_subs_filter_module.c ngx_http_subs_filter_module.c objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1103) : error C2275: 'ngx_str_t' : illegal use of this type as an expression c:\Users\Administrator\garbage\nginx\release-1.3.4\src\core\ngx_string.h(19) : see declaration of 'ngx_str_t' objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1103) : error C2146: syntax error : missing ';' before identifier 'err' objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1103) : error C2065: 'err' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1104) : error C2275: 'u_char' : illegal use of this type as an expression C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h(103) : see declaration of 'u_char' objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1104) : error C2146: syntax error : missing ';' before identifier 'errstr' objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1104) : error C2065: 'errstr' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1104) : error C2109: subscript requires array or pointer type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1106) : error C2065: 'err' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1106) : error C2224: left of '.len' must have struct/union type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1107) : error C2065: 'err' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1107) : error C2224: left of '.data' must have struct/union type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1107) : error C2065: 'errstr' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1113) : error C2275: 'ngx_regex_compile_t' : illegal use of this type as an expression c:\Users\Administrator\garbage\nginx\release-1.3.4\src\core\ngx_regex.h(40) : see declaration of 'ngx_regex_compile_t' objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1113) : error C2146: syntax error : missing ';' before identifier 'rc' objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1113) : error C2065: 'rc' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1115) : error C2065: 'rc' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1115) : error C2224: left of '.pattern' must have struct/union type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1116) : error C2065: 'rc' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1116) : error C2224: left of '.pool' must have struct/union type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1117) : error C2065: 'rc' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1117) : error C2224: left of '.err' must have struct/union type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1117) : error C2065: 'err' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1118) : error C2065: 'rc' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1118) : error C2224: left of '.options' must have struct/union type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1120) : error C2065: 'rc' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1121) : error C2065: 'rc' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1121) : error C2224: left of '.err' must have struct/union type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1125) : error C2065: 'rc' : undeclared identifier objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1125) : error C2224: left of '.regex' must have struct/union type objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1133) : error C2065: 'err' : undeclared identifier NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2' Stop. bash-3.1$
The text was updated successfully, but these errors were encountered:
Merge pull request #1 from yaoweibin/patch-1
afbe1f2
fixed the compile problem without pcre library
No branches or pull requests
Referencing from issue http://code.google.com/p/substitutions4nginx/issues/detail?id=18
This also happens here with the following compile parameters both on nginx 1.2.3 and 1.3.4
auto/configure --with-cc=cl --builddir=objs --prefix= --conf-path=conf/nginx.conf
--pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --with-http_sub_module
--http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp
--with-cc-opt=-DFD_SETSIZE=1024
--with-pcre=objs/lib/pcre-8.31 --with-zlib=objs/lib/zlib-1.2.7 --with-select_module --add-module=objs/modules/ngx_http_substitutions_filter_module/
js/lib/zlib-1.2.7 -I objs -I src/http -I src/http/modules -I src/mail -Foobjs/src/http/modules/ngx_http_upstream_least_conn_module.obj src/http/modules/ngx_http_upstream_least_conn_mod
ule.c
ngx_http_upstream_least_conn_module.c
cl -c -O2 -W0 -nologo -MT -Zi -DFD_SETSIZE=1024 -Yungx_config.h -Fpobjs/ngx_config.pch -I src/core -I src/event -I src/event/modules -I src/os/win32 -I objs/lib/pcre-8.31 -I ob
js/lib/zlib-1.2.7 -I objs -I src/http -I src/http/modules -I src/mail -Foobjs/src/http/modules/ngx_http_upstream_keepalive_module.obj src/http/modules/ngx_http_upstream_keepalive_modul
e.c
ngx_http_upstream_keepalive_module.c
cl -c -O2 -W0 -nologo -MT -Zi -DFD_SETSIZE=1024 -Yungx_config.h -Fpobjs/ngx_config.pch -I src/core -I src/event -I src/event/modules -I src/os/win32 -I objs/lib/pcre-8.31 -I ob
js/lib/zlib-1.2.7 -I objs -I src/http -I src/http/modules -I src/mail -Foobjs/addon/ngx_http_substitutions_filter_module/ngx_http_subs_filter_module.obj objs/modules/ngx_http_substitut
ions_filter_module//ngx_http_subs_filter_module.c
ngx_http_subs_filter_module.c
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1103) : error C2275: 'ngx_str_t' : illegal use of this type as an expression
c:\Users\Administrator\garbage\nginx\release-1.3.4\src\core\ngx_string.h(19) : see declaration of 'ngx_str_t'
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1103) : error C2146: syntax error : missing ';' before identifier 'err'
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1103) : error C2065: 'err' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1104) : error C2275: 'u_char' : illegal use of this type as an expression
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winsock2.h(103) : see declaration of 'u_char'
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1104) : error C2146: syntax error : missing ';' before identifier 'errstr'
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1104) : error C2065: 'errstr' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1104) : error C2109: subscript requires array or pointer type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1106) : error C2065: 'err' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1106) : error C2224: left of '.len' must have struct/union type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1107) : error C2065: 'err' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1107) : error C2224: left of '.data' must have struct/union type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1107) : error C2065: 'errstr' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1113) : error C2275: 'ngx_regex_compile_t' : illegal use of this type as an expression
c:\Users\Administrator\garbage\nginx\release-1.3.4\src\core\ngx_regex.h(40) : see declaration of 'ngx_regex_compile_t'
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1113) : error C2146: syntax error : missing ';' before identifier 'rc'
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1113) : error C2065: 'rc' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1115) : error C2065: 'rc' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1115) : error C2224: left of '.pattern' must have struct/union type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1116) : error C2065: 'rc' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1116) : error C2224: left of '.pool' must have struct/union type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1117) : error C2065: 'rc' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1117) : error C2224: left of '.err' must have struct/union type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1117) : error C2065: 'err' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1118) : error C2065: 'rc' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1118) : error C2224: left of '.options' must have struct/union type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1120) : error C2065: 'rc' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1121) : error C2065: 'rc' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1121) : error C2224: left of '.err' must have struct/union type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1125) : error C2065: 'rc' : undeclared identifier
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1125) : error C2224: left of '.regex' must have struct/union type
objs/modules/ngx_http_substitutions_filter_module//ngx_http_subs_filter_module.c(1133) : error C2065: 'err' : undeclared identifier
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
bash-3.1$
The text was updated successfully, but these errors were encountered: