Skip to content

fix ngx_stream_ipdb_lua.c:27: undefined reference to `ngx_stream_lua_get_request' #2

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

Open
wants to merge 1 commit into
base: add-lua-api
Choose a base branch
from

Conversation

selboo
Copy link

@selboo selboo commented Nov 8, 2020

-L/app/openresty-1.19.3.1/build/luajit-root/usr/local/ngdns-server/luajit/lib -L/app/openresty-1.19.3.1/build/luajit-root/usr/local/ngdns-server/luajit/lib -Wl,-rpath,/usr/local/ngdns-server/luajit/lib -Wl,--require-defined=pcre_version -Wl,-E -Wl,-E -ldl -lpthread -lcrypt -L/app/openresty-1.19.3.1/build/luajit-root/usr/local/ngdns-server/luajit/lib -lluajit-5.1 -lm -ldl -L/app/openresty-1.19.3.1/build/luajit-root/usr/local/ngdns-server/luajit/lib -lluajit-5.1 -lm -ldl -lm -ljson-c -lpcre -lssl -lcrypto -ldl -lpthread -lz \
-Wl,-E
objs/addon/ngx_stream_ipdb_module-add-lua-api/ngx_stream_ipdb_lua.o: In function `ngx_stream_ipdb_get_raw':
/app/ngx_stream_ipdb_module-add-lua-api/ngx_stream_ipdb_lua.c:27: undefined reference to `ngx_stream_lua_get_request'
collect2: error: ld returned 1 exit status
make[2]: *** [objs/nginx] Error 1
make[2]: Leaving directory `/app/openresty-1.19.3.1/build/nginx-1.19.3'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/app/openresty-1.19.3.1/build/nginx-1.19.3'
make: *** [all] Error 2

openresty-1.19.3.1 stream-lua-nginx-module 0.0.9 not found ngx_stream_lua_get_request

https://github.com/openresty/stream-lua-nginx-module/blob/v0.0.9/src/ngx_stream_lua_util.h#L391

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

Successfully merging this pull request may close these issues.

1 participant