stream-echo-nginx-module icon indicating copy to clipboard operation
stream-echo-nginx-module copied to clipboard

stream-echo unable to compile as dynamic with stream-dynamic

Open Prototik opened this issue 8 years ago • 1 comments

./configure --with-stream=dynamic --add-dynamic-module=../path/to/stream-echo-nginx-module

produces:

objs/addon/src/ngx_stream_echo_module.o: In function `ngx_stream_echo_helper.isra.15':
ngx_stream_echo_module.c:(.text+0x4f8): undefined reference to `ngx_stream_core_module'
objs/addon/src/ngx_stream_echo_module.o: In function `ngx_stream_echo_lingering_close_handler':
ngx_stream_echo_module.c:(.text+0xeb7): undefined reference to `ngx_stream_close_connection'
objs/addon/src/ngx_stream_echo_module.o: In function `ngx_stream_echo_finalize':
ngx_stream_echo_module.c:(.text+0x1002): undefined reference to `ngx_stream_close_connection'
objs/addon/src/ngx_stream_echo_module.o: In function `ngx_stream_echo_discarded_request_handler':
ngx_stream_echo_module.c:(.text+0x142e): undefined reference to `ngx_stream_close_connection'
collect2: error: ld returned 1 exit status
objs/Makefile:301: recipe for target 'objs/nginx' failed

Prototik avatar Mar 04 '16 13:03 Prototik

@Prototik ngx_stream_echo_module does not support dynamic module compilation yet. Will you submit a patch? Thanks!

agentzh avatar Mar 04 '16 17:03 agentzh