{"action":"created","issue":{"url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/199","labels_url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/199/comments","events_url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/199/events","html_url":"https://github.com/wandenberg/nginx-push-stream-module/issues/199","id":102570429,"number":199,"title":"Supported releases - latest release and main broken","user":{"login":"eaoliver","id":1380756,"avatar_url":"https://avatars.githubusercontent.com/u/1380756?v=3","gravatar_id":"","url":"https://api.github.com/users/eaoliver","html_url":"https://github.com/eaoliver","followers_url":"https://api.github.com/users/eaoliver/followers","following_url":"https://api.github.com/users/eaoliver/following{/other_user}","gists_url":"https://api.github.com/users/eaoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/eaoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaoliver/subscriptions","organizations_url":"https://api.github.com/users/eaoliver/orgs","repos_url":"https://api.github.com/users/eaoliver/repos","events_url":"https://api.github.com/users/eaoliver/events{/privacy}","received_events_url":"https://api.github.com/users/eaoliver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-22T22:09:04Z","updated_at":"2015-08-22T22:39:52Z","closed_at":null,"body":"Which releases of nginx-push-stream-module are supported against which releases of nginx?  \r\n\r\nI've tried to compile the latest release and main against the latest stable version of nginx (1.8.0) and keep getting: \r\n\r\ncc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I /nginx-push-stream-module/src -I /nginx-push-stream-module/include -I objs -I src/http -I src/http/modules -I src/http/modules/perl -I src/mail \\\r\n\t-o objs/addon/src/ngx_http_push_stream_module.o \\\r\n\t/nginx-push-stream-module/src/ngx_http_push_stream_module.c\r\nIn file included from /nginx-push-stream-module/src/ngx_http_push_stream_module.c:26:0:\r\n/nginx-push-stream-module/include/ngx_http_push_stream_module.h:36:5: error: unknown type name 'ngx_regex_t'\r\n     ngx_regex_t                    *agent;\r\n     ^\r\n/nginx-push-stream-module/include/ngx_http_push_stream_module.h:100:5: error: unknown type name 'ngx_regex_t'\r\n     ngx_regex_t                    *backtrack_parser_regex;\r\n     ^\r\nIn file included from /nginx-push-stream-module/src/ngx_http_push_stream_module.c:27:0:\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c: In function 'ngx_http_push_stream_init_main_conf':\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:536:5: error: unknown type name 'ngx_regex_compile_t'\r\n     ngx_regex_compile_t *backtrack_parser = NULL;\r\n     ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:539:58: error: 'ngx_regex_compile_t' undeclared (first use in this function)\r\n     if ((backtrack_parser = ngx_pcalloc(cf->pool, sizeof(ngx_regex_compile_t))) == NULL) {\r\n                                                          ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:539:58: note: each undeclared identifier is reported only once for each function it appears in\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:544:21: error: request for member 'pattern' in something not a structure or union\r\n     backtrack_parser->pattern = NGX_HTTP_PUSH_STREAM_BACKTRACK_PATTERN;\r\n                     ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:545:21: error: request for member 'pool' in something not a structure or union\r\n     backtrack_parser->pool = cf->pool;\r\n                     ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:546:21: error: request for member 'err' in something not a structure or union\r\n     backtrack_parser->err.len = NGX_MAX_CONF_ERRSTR;\r\n                     ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:547:21: error: request for member 'err' in something not a structure or union\r\n     backtrack_parser->err.data = errstr;\r\n                     ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:549:5: error: implicit declaration of function 'ngx_regex_compile' [-Werror=implicit-function-declaration]\r\n     if (ngx_regex_compile(backtrack_parser) != NGX_OK) {\r\n     ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_setup.c:554:52: error: request for member 'regex' in something not a structure or union\r\n     conf->backtrack_parser_regex = backtrack_parser->regex;\r\n                                                    ^\r\nIn file included from /nginx-push-stream-module/src/ngx_http_push_stream_module.c:29:0:\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c: In function 'ngx_http_push_stream_parse_paddings':\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2001:5: error: unknown type name 'ngx_regex_compile_t'\r\n     ngx_regex_compile_t                 padding_rc, *agent_rc;\r\n     ^\r\nIn file included from src/core/ngx_core.h:51:0,\r\n                 from /nginx-push-stream-module/include/ngx_http_push_stream_module.h:30,\r\n                 from /nginx-push-stream-module/src/ngx_http_push_stream_module.c:26:\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2014:37: error: 'ngx_regex_compile_t' undeclared (first use in this function)\r\n     ngx_memzero(&padding_rc, sizeof(ngx_regex_compile_t));\r\n                                     ^\r\nsrc/core/ngx_string.h:86:57: note: in definition of macro 'ngx_memzero'\r\n #define ngx_memzero(buf, n)       (void) memset(buf, 0, n)\r\n                                                         ^\r\nIn file included from /nginx-push-stream-module/src/ngx_http_push_stream_module.c:29:0:\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2016:15: error: request for member 'pattern' in something not a structure or union\r\n     padding_rc.pattern = NGX_HTTP_PUSH_STREAM_PADDING_BY_USER_AGENT_PATTERN;\r\n               ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2017:15: error: request for member 'pool' in something not a structure or union\r\n     padding_rc.pool = cf->pool;\r\n               ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2018:15: error: request for member 'err' in something not a structure or union\r\n     padding_rc.err.len = NGX_MAX_CONF_ERRSTR;\r\n               ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2019:15: error: request for member 'err' in something not a structure or union\r\n     padding_rc.err.data = errstr;\r\n               ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2030:9: error: implicit declaration of function 'ngx_regex_exec' [-Werror=implicit-function-declaration]\r\n         rc = ngx_regex_exec(padding_rc.regex, &aux, captures, 12);\r\n         ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2030:39: error: request for member 'regex' in something not a structure or union\r\n         rc = ngx_regex_exec(padding_rc.regex, &aux, captures, 12);\r\n                                       ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2031:19: error: 'NGX_REGEX_NO_MATCHED' undeclared (first use in this function)\r\n         if (rc == NGX_REGEX_NO_MATCHED) {\r\n                   ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2057:17: error: request for member 'pattern' in something not a structure or union\r\n         agent_rc->pattern = *agent;\r\n                 ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2058:17: error: request for member 'pool' in something not a structure or union\r\n         agent_rc->pool = cf->pool;\r\n                 ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2059:17: error: request for member 'err' in something not a structure or union\r\n         agent_rc->err.len = NGX_MAX_CONF_ERRSTR;\r\n                 ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2060:17: error: request for member 'err' in something not a structure or union\r\n         agent_rc->err.data = errstr;\r\n                 ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2072:34: error: request for member 'regex' in something not a structure or union\r\n         padding->agent = agent_rc->regex;\r\n                                  ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2078:140: error: request for member 'pattern' in something not a structure or union\r\n         ngx_conf_log_error(NGX_LOG_INFO, cf, 0, \"push stream module: padding detected %V, header_min_len %d, message_min_len %d\", &agent_rc->pattern, padding->header_min_len, padding->message_min_len);\r\n                                                                                                                                            ^\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c: In function 'ngx_http_push_stream_parse_channels_ids_from_path':\r\n/nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2276:20: error: 'NGX_REGEX_NO_MATCHED' undeclared (first use in this function)\r\n     } while ((n != NGX_REGEX_NO_MATCHED) && (aux.data < (vv_channels_path.data + vv_channels_path.len)));\r\n                    ^\r\ncc1: all warnings being treated as errors\r\nobjs/Makefile:1095: recipe for target 'objs/addon/src/ngx_http_push_stream_module.o' failed\r\nmake[1]: *** [objs/addon/src/ngx_http_push_stream_module.o] Error 1\r\nmake[1]: Leaving directory '/nginx-1.8.0'\r\nMakefile:8: recipe for target 'build' failed\r\nmake: *** [build] Error 2"},"comment":{"url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/comments/133760569","html_url":"https://github.com/wandenberg/nginx-push-stream-module/issues/199#issuecomment-133760569","issue_url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/199","id":133760569,"user":{"login":"eaoliver","id":1380756,"avatar_url":"https://avatars.githubusercontent.com/u/1380756?v=3","gravatar_id":"","url":"https://api.github.com/users/eaoliver","html_url":"https://github.com/eaoliver","followers_url":"https://api.github.com/users/eaoliver/followers","following_url":"https://api.github.com/users/eaoliver/following{/other_user}","gists_url":"https://api.github.com/users/eaoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/eaoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaoliver/subscriptions","organizations_url":"https://api.github.com/users/eaoliver/orgs","repos_url":"https://api.github.com/users/eaoliver/repos","events_url":"https://api.github.com/users/eaoliver/events{/privacy}","received_events_url":"https://api.github.com/users/eaoliver/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T22:39:52Z","updated_at":"2015-08-22T22:39:52Z","body":"Removed --without-http_rewrite_module from nginx configure parameters and it compiled.  \r\n\r\nMight want to include that nginx compilation requirement in the documentation."}}