{"action":"opened","issue":{"url":"https://api.github.com/repos/alibaba/tengine/issues/767","repository_url":"https://api.github.com/repos/alibaba/tengine","labels_url":"https://api.github.com/repos/alibaba/tengine/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/tengine/issues/767/comments","events_url":"https://api.github.com/repos/alibaba/tengine/issues/767/events","html_url":"https://github.com/alibaba/tengine/issues/767","id":167819001,"number":767,"title":"Tengine 2.1.2编译CNSRE-lua-upstream-nginx-module出现错误","user":{"login":"saga1015","id":14873189,"avatar_url":"https://avatars.githubusercontent.com/u/14873189?v=3","gravatar_id":"","url":"https://api.github.com/users/saga1015","html_url":"https://github.com/saga1015","followers_url":"https://api.github.com/users/saga1015/followers","following_url":"https://api.github.com/users/saga1015/following{/other_user}","gists_url":"https://api.github.com/users/saga1015/gists{/gist_id}","starred_url":"https://api.github.com/users/saga1015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saga1015/subscriptions","organizations_url":"https://api.github.com/users/saga1015/orgs","repos_url":"https://api.github.com/users/saga1015/repos","events_url":"https://api.github.com/users/saga1015/events{/privacy}","received_events_url":"https://api.github.com/users/saga1015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-27T10:12:27Z","updated_at":"2016-07-27T10:12:27Z","closed_at":null,"body":"@cfsego @chobits \r\nTengine 2.1.2在编译CNSRE提供的lua-upstream-nginx-module时报如下错误\r\n[root@localhost tengine-2.1.2]# make\r\nmake -f objs/Makefile\r\nmake[1]: Entering directory `/root/source/tengine/src/tengine-2.1.2'\r\ncc -c -I/opt/websuite/tengine/include/luajit-2.1  -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -w -pipe -march=native -mtune=native -m128bit-long-double -m64 -fno-builtin-malloc -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I src/proc -I src/http/modules/tfs -I /root/source/tengine/module/ngx_devel_kit/objs -I objs/addon/ndk -I /root/source/tengine/module/lua-nginx-module-0.10.5/src/api -I /opt/websuite/tengine/include/luajit-2.1 -I ../pcre-8.36 -I /opt/websuite/tengine/include/yajl -I objs -I src/http -I src/http/modules -I src/http/v2 -I /root/source/tengine/module/ngx_devel_kit/src -I src/mail \\\r\n                -o objs/addon/src/ngx_http_lua_upstream_module.o \\\r\n                /root/source/tengine/module/lua-upstream-tengine-module/src/ngx_http_lua_upstream_module.c\r\n/root/source/tengine/module/lua-upstream-tengine-module/src/ngx_http_lua_upstream_module.c: 在函数‘ngx_http_lua_upstream_add_peer’中:\r\n/root/source/tengine/module/lua-upstream-tengine-module/src/ngx_http_lua_upstream_module.c:1024: 错误：‘ngx_http_upstream_rr_peer_t’没有名为‘server’的成员\r\n/root/source/tengine/module/lua-upstream-tengine-module/src/ngx_http_lua_upstream_module.c:1064: 错误：‘ngx_http_upstream_rr_peer_t’没有名为‘server’的成员\r\nmake[1]: *** [objs/addon/src/ngx_http_lua_upstream_module.o] 错误 1\r\nmake[1]: Leaving directory `/root/source/tengine/src/tengine-2.1.2'\r\nmake: *** [build] 错误 2\r\n\r\n编译参数为;\r\n./configure --prefix=/opt/websuite/tengine \\\r\n--conf-path=/opt/config/tengine/nginx.conf \\\r\n--error-log-path=/opt/logs/tengine/error.log \\\r\n--http-log-path=/opt/logs/tengine/access.log \\\r\n--pid-path=/opt/run/tengine \\\r\n--user=websuite \\\r\n--group=websuite \\\r\n--dso-path=/opt/websuite/tengine/modules \\\r\n--without-select_module \\\r\n--without-poll_module \\\r\n--with-file-aio \\\r\n--with-http_spdy_module \\\r\n--with-http_v2_module \\\r\n--with-http_realip_module \\\r\n--with-http_gzip_static_module \\\r\n--with-http_auth_request_module \\\r\n--with-http_addition_module=shared \\\r\n--with-http_image_filter_module=shared \\\r\n--with-http_geoip_module=shared \\\r\n--with-http_concat_module=shared \\\r\n--with-http_random_index_module=shared \\\r\n--with-http_secure_link_module=shared \\\r\n--with-http_sysguard_module=shared \\\r\n--with-http_charset_filter_module=shared \\\r\n--with-http_userid_filter_module=shared \\\r\n--with-http_footer_filter_module=shared \\\r\n--with-http_trim_filter_module=shared \\\r\n--with-http_access_module=shared \\\r\n--with-http_autoindex_module=shared \\\r\n--with-http_map_module=shared \\\r\n--with-http_referer_module=shared \\\r\n--with-http_uwsgi_module=shared \\\r\n--with-http_scgi_module=shared \\\r\n--with-http_empty_gif_module=shared \\\r\n--with-http_limit_conn_module=shared \\\r\n--with-http_limit_req_module=shared \\\r\n--with-http_reqstat_module=shared \\\r\n--with-http_browser_module=shared \\\r\n--with-http_user_agent_module=shared \\\r\n--with-http_upstream_session_sticky_module=shared \\\r\n--with-http_upstream_ip_hash_module=shared \\\r\n--without-http_ssi_module \\\r\n--without-http_split_clients_module \\\r\n--without-http_memcached_module \\\r\n--without-http_upstream_least_conn_module \\\r\n--with-http_tfs_module=shared \\\r\n--with-libyajl-inc=/opt/websuite/tengine/include/yajl \\\r\n--with-libyajl-lib=/opt/websuite/tengine/lib \\\r\n--with-luajit-inc=/opt/websuite/tengine/include/luajit-2.1 \\\r\n--with-luajit-lib=/opt/websuite/tengine/lib \\\r\n--http-client-body-temp-path=/opt/websuite/tengine/cache/client_temp \\\r\n--http-proxy-temp-path=/opt/websuite/tengine/cache/proxy_temp \\\r\n--http-fastcgi-temp-path=/opt/websuite/tengine/cache/fastcgi_temp \\\r\n--http-uwsgi-temp-path=/opt/websuite/tengine/cache/uwsgi_temp \\\r\n--http-scgi-temp-path=/opt/websuite/tengine/cache/scgi_temp \\\r\n--without-mail_pop3_module \\\r\n--without-mail_imap_module \\\r\n--without-mail_smtp_module \\\r\n--with-pcre=../pcre-8.36 \\\r\n--with-pcre-opt=-fPIC \\\r\n--with-pcre-jit \\\r\n--with-jemalloc \\\r\n--with-cc-opt='-w -pipe -march=native -mtune=native -m128bit-long-double -m64 -fno-builtin-malloc' \\\r\n--add-module=/root/source/tengine/module/ngx_devel_kit \\\r\n--add-module=/root/source/tengine/module/lua-nginx-module-0.10.5 \\\r\n--add-module=/root/source/tengine/module/lua-upstream-tengine-module \\\r\n--add-module=/root/source/tengine/module/encrypted-session-nginx-module \\\r\n--add-module=/root/source/tengine/module/set-misc-nginx-module \\\r\n--add-module=/root/source/tengine/module/form-input-nginx-module"}}
{"actor":{"display_login":"saga1015"}}