Skip to content
New issue

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

nginx-stream-upsync-module 编译爆ngx_stream.h:没有那个文件或目录 #36

Open
kuaiwenwu opened this issue Sep 3, 2019 · 1 comment

Comments

@kuaiwenwu
Copy link

编译的命令是:./configure --prefix=/usr/local/nginx --with-pcre=../pcre-8.42 --add-module=../nginx_upstream_check_module/ --add-module=../nginx-upsync-module/ --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --add-module=../nginx-stream-upsync-module

报错如下:
les -I ../nginx-upsync-module//src -I ../nginx-stream-upsync-module/src
-o objs/addon/src/ngx_http_json.o
../nginx-upsync-module//src/ngx_http_json.c
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 ../nginx_upstream_check_module/ -I ../pcre-8.42 -I objs -I src/http -I src/http/modules -I ../nginx-upsync-module//src -I ../nginx-stream-upsync-module/src
-o objs/addon/src/ngx_http_parser.o
../nginx-upsync-module//src/ngx_http_parser.c
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 ../nginx_upstream_check_module/ -I ../pcre-8.42 -I objs -I src/http -I src/http/modules -I ../nginx-upsync-module//src -I ../nginx-stream-upsync-module/src
-o objs/addon/src/ngx_stream_upsync_module.o
../nginx-stream-upsync-module/src/ngx_stream_upsync_module.c
../nginx-stream-upsync-module/src/ngx_stream_upsync_module.c:8:24: 致命错误:ngx_stream.h:没有那个文件或目录

@xiaokai-wang
Copy link
Owner

这个报错是因为什么呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants