- 积分
- 15
- 威望
-
- 金钱
-
- 注册时间
- 2019-11-30
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2019-11-30 12:27:32
|
显示全部楼层
贴一下完整的错误信息:
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c: 在函数‘ngx_http_proxy_connect_handler’中:
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1374:22: 错误:‘NGX_HTTP_CONNECT’未声明(在此函数内第一次使用)
if (r->method != NGX_HTTP_CONNECT || !plcf->accept_connect) {
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1374:22: 附注:每个未声明的标识符在其出现的函数内只报告一次
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1402:28: 错误:‘ngx_http_request_t’没有名为‘connect_host’的成员
url.url.len = r->connect_host.len;
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1403:29: 错误:‘ngx_http_request_t’没有名为‘connect_host’的成员
url.url.data = r->connect_host.data;
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1407:24: 错误:‘ngx_http_request_t’没有名为‘connect_host’的成员
url.url.len = r->connect_host.len;
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1408:25: 错误:‘ngx_http_request_t’没有名为‘connect_host’的成员
url.url.data = r->connect_host.data;
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1411:25: 错误:‘ngx_http_request_t’没有名为‘connect_port_n’的成员
url.default_port = r->connect_port_n;
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1456:53: 错误:‘ngx_http_request_t’没有名为‘connect_port_n’的成员
u->resolved->port = (in_port_t) (url.no_port ? r->connect_port_n : url.port);
^
In file included from src/core/ngx_core.h:59:0,
from /home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:7:
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1489:25: 错误:‘ngx_http_request_t’没有名为‘connect_host’的成员
&r->connect_host);
^
src/core/ngx_log.h:86:67: 附注:in definition of macro ‘ngx_log_error’
if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c: 在函数‘ngx_http_proxy_connect_allow_handler’中:
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1565:39: 错误:‘ngx_http_request_t’没有名为‘connect_port_n’的成员
if ((ports[i][1] == 0 && r->connect_port_n == ports[i][0])
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1566:37: 错误:‘ngx_http_request_t’没有名为‘connect_port_n’的成员
|| (ports[i][0] <= r->connect_port_n && r->connect_port_n <= ports[i][1]))
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1566:58: 错误:‘ngx_http_request_t’没有名为‘connect_port_n’的成员
|| (ports[i][0] <= r->connect_port_n && r->connect_port_n <= ports[i][1]))
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1574:14: 错误:‘ngx_http_request_t’没有名为‘connect_port_n’的成员
if (r->connect_port_n == 443 || r->connect_port_n == 563) {
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1574:42: 错误:‘ngx_http_request_t’没有名为‘connect_port_n’的成员
if (r->connect_port_n == 443 || r->connect_port_n == 563) {
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c: 在函数‘ngx_http_proxy_connect_variable_get_time’中:
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1926:22: 错误:‘NGX_HTTP_CONNECT’未声明(在此函数内第一次使用)
if (r->method != NGX_HTTP_CONNECT) {
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c: 在函数‘ngx_http_proxy_connect_variable_set_time’中:
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1963:22: 错误:‘NGX_HTTP_CONNECT’未声明(在此函数内第一次使用)
if (r->method != NGX_HTTP_CONNECT) {
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c: 在函数‘ngx_http_proxy_connect_post_read_handler’中:
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:2019:22: 错误:‘NGX_HTTP_CONNECT’未声明(在此函数内第一次使用)
if (r->method == NGX_HTTP_CONNECT) {
^
make[1]: *** [objs/addon/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.o] 错误 1
make[1]: 离开目录“/home/lnmp1.6/src/nginx-1.16.1”
make: *** [build] 错误 2
make -f objs/Makefile
make[1]: 进入目录“/home/lnmp1.6/src/nginx-1.16.1”
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I /home/lnmp1.6/src/openssl-1.1.1d/.openssl/include -I objs -I src/http -I src/http/modules -I src/http/v2 -I src/stream \
-o objs/addon/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.o \
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c: 在函数‘ngx_http_proxy_connect_handler’中:
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1374:22: 错误:‘NGX_HTTP_CONNECT’未声明(在此函数内第一次使用)
if (r->method != NGX_HTTP_CONNECT || !plcf->accept_connect) {
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1374:22: 附注:每个未声明的标识符在其出现的函数内只报告一次
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1402:28: 错误:‘ngx_http_request_t’没有名为‘connect_host’的成员
url.url.len = r->connect_host.len;
^
/home/ngx_http_proxy_connect_module/ngx_http_proxy_connect_module.c:1403:29: 错误:‘ngx_http_request_t’没有名为‘connect_host’的成员
url.url.data = r->connect_host.data;
^
|
|