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

Compile failed with nginx 1.12.1 #6

Open
nsaeris opened this issue Sep 14, 2017 · 3 comments
Open

Compile failed with nginx 1.12.1 #6

nsaeris opened this issue Sep 14, 2017 · 3 comments

Comments

@nsaeris
Copy link

nsaeris commented Sep 14, 2017

I am building it on ubuntu. Following is the config from debian/rules

full_configure_flags :=
$(common_configure_flags)
--with-http_addition_module
--with-http_geoip_module=dynamic
--with-http_gunzip_module
--with-http_gzip_static_module
--with-http_image_filter_module=dynamic
--with-http_sub_module
--with-http_xslt_module=dynamic
--with-stream=dynamic
--with-stream_ssl_module
--with-stream_ssl_preread_module
--with-mail=dynamic
--with-mail_ssl_module
--add-dynamic-module=$(MODULESDIR)/nginx-auth-pam
--add-dynamic-module=$(MODULESDIR)/nginx-dav-ext-module
--add-dynamic-module=$(MODULESDIR)/nginx-echo
--add-dynamic-module=$(MODULESDIR)/nginx-upstream-fair
--add-dynamic-module=$(MODULESDIR)/ngx_http_substitutions_filter_module
--add-module=/opt/nginx-modules/nginx-module-vts
--add-module=/opt/nginx-modules/nginx-module-sts
--add-module=/opt/nginx-modules/nginx-module-stream-sts

objs/addon/src/ngx_stream_server_traffic_status_module.o: In function ngx_stream_server_traffic_status_init_main_conf': /opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_module.c:476: undefined reference to ngx_stream_upstream_module'
objs/addon/src/ngx_stream_server_traffic_status_module.o: In function ngx_stream_server_traffic_status_init': /opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_module.c:617: undefined reference to ngx_stream_core_module'
objs/addon/src/ngx_stream_server_traffic_status_shm.o: In function ngx_stream_server_traffic_status_shm_add_filter_node': /opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_shm.c:162: undefined reference to ngx_stream_complex_value'
/opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_shm.c:166: undefined reference to ngx_stream_complex_value' objs/addon/src/ngx_stream_server_traffic_status_shm.o: In function ngx_stream_server_traffic_status_shm_add_upstream':
/opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_shm.c:298: undefined reference to ngx_stream_upstream_module' objs/addon/src/ngx_stream_server_traffic_status_filter.o: In function ngx_stream_server_traffic_status_filter_by_set_key':
/opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_filter.c:315: undefined reference to ngx_stream_compile_complex_value' /opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_filter.c:333: undefined reference to ngx_stream_compile_complex_value'
objs/addon/src/ngx_stream_server_traffic_status_limit.o: In function ngx_stream_server_traffic_status_limit_handler_traffic': /opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_limit.c:100: undefined reference to ngx_stream_complex_value'
/opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_limit.c:110: undefined reference to ngx_stream_complex_value' objs/addon/src/ngx_stream_server_traffic_status_limit.o: In function ngx_stream_server_traffic_status_limit_traffic':
/opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_limit.c:237: undefined reference to ngx_stream_compile_complex_value' objs/addon/src/ngx_stream_server_traffic_status_limit.o: In function ngx_stream_server_traffic_status_limit_traffic_by_set_key':
/opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_limit.c:345: undefined reference to ngx_stream_compile_complex_value' /opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_limit.c:358: undefined reference to ngx_stream_compile_complex_value'
objs/addon/src/ngx_stream_server_traffic_status_variables.o: In function ngx_stream_server_traffic_status_add_variables': /opt/nginx-modules/nginx-module-stream-sts/src/ngx_stream_server_traffic_status_variables.c:140: undefined reference to ngx_stream_add_variable'

@archfish
Copy link

archfish commented Dec 3, 2017

@nsaeris change --with-stream=dynamic to --with-stream

@kloczek
Copy link

kloczek commented Jun 2, 2019

Is possible to add dynamic support?
I'm trying to build steam dynamic module as well because I want to have that module as loaded optionally.
(I'm using nginx 1.16.0)

@kloczek
Copy link

kloczek commented Jun 2, 2019

Seems it is possible to have dynamic module.
All what is necessary to do is use --add-dynamic-module= instead --add-module=

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

3 participants