Skip to content

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

@Prototik

Description

@Prototik
./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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions