{"action":"created","issue":{"url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/136","repository_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module","labels_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/136/comments","events_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/136/events","html_url":"https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/136","id":156564265,"number":136,"title":"Cannot compile with NGINX 1.11.0","user":{"login":"HansVanEijsden","id":11890145,"avatar_url":"https://avatars.githubusercontent.com/u/11890145?v=3","gravatar_id":"","url":"https://api.github.com/users/HansVanEijsden","html_url":"https://github.com/HansVanEijsden","followers_url":"https://api.github.com/users/HansVanEijsden/followers","following_url":"https://api.github.com/users/HansVanEijsden/following{/other_user}","gists_url":"https://api.github.com/users/HansVanEijsden/gists{/gist_id}","starred_url":"https://api.github.com/users/HansVanEijsden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HansVanEijsden/subscriptions","organizations_url":"https://api.github.com/users/HansVanEijsden/orgs","repos_url":"https://api.github.com/users/HansVanEijsden/repos","events_url":"https://api.github.com/users/HansVanEijsden/events{/privacy}","received_events_url":"https://api.github.com/users/HansVanEijsden/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/milestones/3","html_url":"https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/milestones/1.1.7.11","labels_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/milestones/3/labels","id":1613732,"number":3,"title":"1.1.7.11","description":null,"creator":{"login":"sergey-dryabzhinsky","id":717597,"avatar_url":"https://avatars.githubusercontent.com/u/717597?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-dryabzhinsky","html_url":"https://github.com/sergey-dryabzhinsky","followers_url":"https://api.github.com/users/sergey-dryabzhinsky/followers","following_url":"https://api.github.com/users/sergey-dryabzhinsky/following{/other_user}","gists_url":"https://api.github.com/users/sergey-dryabzhinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-dryabzhinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-dryabzhinsky/subscriptions","organizations_url":"https://api.github.com/users/sergey-dryabzhinsky/orgs","repos_url":"https://api.github.com/users/sergey-dryabzhinsky/repos","events_url":"https://api.github.com/users/sergey-dryabzhinsky/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-dryabzhinsky/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":16,"state":"open","created_at":"2016-03-01T00:11:57Z","updated_at":"2016-05-31T08:23:27Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-05-24T17:27:40Z","updated_at":"2016-05-31T08:23:55Z","closed_at":"2016-05-31T08:23:27Z","body":"With the latest NGINX 1.11.0, building fails.\r\n\r\n> cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -DTCP_FASTOPEN=23 -O3 -march=native -flto -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -I/usr/local/src/nginx-rtmp-module  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/local/src/ngx_brotli_module/brotli_encoder -I /usr/local/src/ngx_devel_kit/objs -I objs/addon/ndk -I /usr/local/src/openssl-1.0.2h/.openssl/include -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/src/ngx_devel_kit/src -I /usr/local/src/ngx_devel_kit/src -I /usr/local/src/ngx_devel_kit/objs -I objs/addon/ndk -I /usr/local/src/nginx-rtmp-module \\\r\n\t-o objs/addon/nginx-rtmp-module/ngx_rtmp_core_module.o \\\r\n\t/usr/local/src/nginx-rtmp-module/ngx_rtmp_core_module.c\r\n/usr/local/src/nginx-rtmp-module/ngx_rtmp_core_module.c: In function 'ngx_rtmp_core_listen':\r\n/usr/local/src/nginx-rtmp-module/ngx_rtmp_core_module.c:561:9: error: cannot convert to a pointer type\r\n         if (ngx_memcmp(ls[i].sockaddr + off, u.sockaddr + off, len) != 0) {\r\n         ^\r\nIn file included from src/core/ngx_core.h:51:0,\r\n                 from /usr/local/src/nginx-rtmp-module/ngx_rtmp_core_module.c:8:\r\nsrc/core/ngx_string.h:102:42: error: incompatible type for argument 2 of 'memcpy'\r\n #define ngx_memcpy(dst, src, n)   (void) memcpy(dst, src, n)\r\n                                          ^\r\n/usr/local/src/nginx-rtmp-module/ngx_rtmp_core_module.c:581:5: note: in expansion of macro 'ngx_memcpy'\r\n     ngx_memcpy(ls->sockaddr, u.sockaddr, u.socklen);\r\n     ^\r\nIn file included from src/os/unix/ngx_linux_config.h:27:0,\r\n                 from src/core/ngx_config.h:26,\r\n                 from /usr/local/src/nginx-rtmp-module/ngx_rtmp_core_module.c:7:\r\n/usr/include/string.h:46:14: note: expected 'const void * __restrict__' but argument is of type 'ngx_sockaddr_t'\r\n extern void *memcpy (void *__restrict __dest, const void *__restrict __src,\r\n              ^\r\nobjs/Makefile:1890: recept voor doel 'objs/addon/nginx-rtmp-module/ngx_rtmp_core_module.o' is mislukt\r\nmake[1]: *** [objs/addon/nginx-rtmp-module/ngx_rtmp_core_module.o] Fout 1\r\n\r\nuname -a\r\nLinux vps 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.3-2~bpo8+1 (2016-05-13) x86_64 GNU/Linux\r\n\r\ngcc -v\r\ngcc version 4.9.2 (Debian 4.9.2-10) \r\n\r\n./configure --prefix=/opt/nginx --user=www-data --group=www-data --add-module=/usr/local/src/ngx_brotli_module --with-http_v2_module --with-http_ssl_module --with-openssl=/usr/local/src/openssl-1.0.2h --with-openssl-opt=\"enable-ec_nistp_64_gcc_128 threads\" --with-md5=/usr/local/src/openssl-1.0.2h --with-md5-asm --with-sha1=/usr/local/src/openssl-1.0.2h --with-sha1-asm --with-pcre-jit --with-file-aio --with-http_flv_module --with-http_geoip_module --with-http_mp4_module --with-http_realip_module --with-http_stub_status_module --with-threads --with-ipv6 --add-module=/usr/local/src/headers-more-nginx-module --add-module=/usr/local/src/echo-nginx-module --add-module=/usr/local/src/ngx_http_substitutions_filter_module --add-module=/usr/local/src/srcache-nginx-module --add-module=/usr/local/src/redis2-nginx-module --add-module=/usr/local/src/ngx_http_redis-0.3.8 --add-module=/usr/local/src/ngx_devel_kit --add-module=/usr/local/src/set-misc-nginx-module --add-module=/usr/local/src/nginx-rtmp-module --with-cc-opt=\"-DTCP_FASTOPEN=23 -O3 -march=native -flto\" --with-ld-opt=\"-DTCP_FASTOPEN=23 -O3 -march=native -flto\"\r\n\r\nAm I doing something wrong? Thanks!"},"comment":{"url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/comments/222623170","html_url":"https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/136#issuecomment-222623170","issue_url":"https://api.github.com/repos/sergey-dryabzhinsky/nginx-rtmp-module/issues/136","id":222623170,"user":{"login":"sergey-dryabzhinsky","id":717597,"avatar_url":"https://avatars.githubusercontent.com/u/717597?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-dryabzhinsky","html_url":"https://github.com/sergey-dryabzhinsky","followers_url":"https://api.github.com/users/sergey-dryabzhinsky/followers","following_url":"https://api.github.com/users/sergey-dryabzhinsky/following{/other_user}","gists_url":"https://api.github.com/users/sergey-dryabzhinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-dryabzhinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-dryabzhinsky/subscriptions","organizations_url":"https://api.github.com/users/sergey-dryabzhinsky/orgs","repos_url":"https://api.github.com/users/sergey-dryabzhinsky/repos","events_url":"https://api.github.com/users/sergey-dryabzhinsky/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-dryabzhinsky/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T08:23:55Z","updated_at":"2016-05-31T08:23:55Z","body":"In ```dev``` branch."}}
{"actor":{"display_login":"sergey-dryabzhinsky"}}