{"action":"created","issue":{"url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/501","labels_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/501/comments","events_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/501/events","html_url":"https://github.com/openresty/lua-nginx-module/issues/501","id":71760355,"number":501,"title":"Module fails to compile against nginx 1.9.0","user":{"login":"chrislea","id":115710,"avatar_url":"https://avatars.githubusercontent.com/u/115710?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislea","html_url":"https://github.com/chrislea","followers_url":"https://api.github.com/users/chrislea/followers","following_url":"https://api.github.com/users/chrislea/following{/other_user}","gists_url":"https://api.github.com/users/chrislea/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislea/subscriptions","organizations_url":"https://api.github.com/users/chrislea/orgs","repos_url":"https://api.github.com/users/chrislea/repos","events_url":"https://api.github.com/users/chrislea/events{/privacy}","received_events_url":"https://api.github.com/users/chrislea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-29T02:28:26Z","updated_at":"2015-04-29T04:48:58Z","closed_at":null,"body":"The module compilation fails against the recently released nginx 1.9.0. The error when it fails seems to be at the final linking step and looks like this:\r\n\r\n```\r\n-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,-E -lpthread -lcrypt -lpam -lexpat -L/usr/lib -lm -llua5.1 -lpcre -lssl -lcrypto -ldl -lz -lxml2 -lxslt -lexslt -lgd -lGeoIP \\\r\n-Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.20/CORE -lperl -ldl -lm -lpthread -lc -lcrypt\r\nobjs/addon/src/ngx_http_lua_initworkerby.o: In function `ngx_http_lua_init_worker':\r\n/home/chl/Packages/NginxClang/nginx-1.9.0/debian/modules/nginx-lua/src/ngx_http_lua_initworkerby.c:230: undefined reference to `ngx_http_set_connection_log'\r\nobjs/addon/src/ngx_http_lua_timer.o: In function `ngx_http_lua_timer_handler':\r\n/home/chl/Packages/NginxClang/nginx-1.9.0/debian/modules/nginx-lua/src/ngx_http_lua_timer.c:353: undefined reference to `ngx_http_set_connection_log'\r\n```\r\n\r\nA full log of a failed build can be seen here:\r\n\r\nhttps://launchpadlibrarian.net/205055149/buildlog_ubuntu-vivid-amd64.nginx_1.9.0-1chl1~vivid1_BUILDING.txt.gz\r\n\r\nPlease let me know if there is any additional information I can provide. Thanks!"},"comment":{"url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/comments/97303510","html_url":"https://github.com/openresty/lua-nginx-module/issues/501#issuecomment-97303510","issue_url":"https://api.github.com/repos/openresty/lua-nginx-module/issues/501","id":97303510,"user":{"login":"chrislea","id":115710,"avatar_url":"https://avatars.githubusercontent.com/u/115710?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislea","html_url":"https://github.com/chrislea","followers_url":"https://api.github.com/users/chrislea/followers","following_url":"https://api.github.com/users/chrislea/following{/other_user}","gists_url":"https://api.github.com/users/chrislea/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislea/subscriptions","organizations_url":"https://api.github.com/users/chrislea/orgs","repos_url":"https://api.github.com/users/chrislea/repos","events_url":"https://api.github.com/users/chrislea/events{/privacy}","received_events_url":"https://api.github.com/users/chrislea/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T04:48:58Z","updated_at":"2015-04-29T04:48:58Z","body":"Yup, that looks like it. I just make a quick patch to adjust for that and it links with no problems. I'll submit a pull request."}}