Skip to content
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

加了http_lua模块后报错 #306

Closed
wbteve opened this issue Aug 20, 2013 · 2 comments
Closed

加了http_lua模块后报错 #306

wbteve opened this issue Aug 20, 2013 · 2 comments

Comments

@wbteve
Copy link

wbteve commented Aug 20, 2013

同样在ub13.04下,git了最新的代码,加入lua模块后报错:
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -DNDK_SET_VAR -I src/core -I src/event -I src/event/modules -I src/os/unix -I src/proc -I src/http/modules/lua/api -I /usr/include/lua5.1 -I objs -I src/http -I src/http/modules
-o objs/src/http/modules/lua/ngx_http_lua_util.o
src/http/modules/lua/ngx_http_lua_util.c
src/http/modules/lua/ngx_http_lua_util.c: 在函数‘ngx_http_lua_run_thread’中:
src/http/modules/lua/ngx_http_lua_util.c:971:34: 错误: 实参‘nret’可能为‘longjmp’或‘vfork’所篡改 [-Werror=clobbered]
cc1: all warnings being treated as errors
make[1]: *** [objs/src/http/modules/lua/ngx_http_lua_util.o] 错误 1
make[1]:正在离开目录 `/data/soft/tengine'
make: *** [build] 错误 2

@jinglong
Copy link
Member

用的是哪个Tengine版本,ngx_lua版本,configure的参数是什么?

2013/8/20 wbteve notifications@github.com

同样在ub13.04下,git了最新的代码,加入lua模块后报错:
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g
-DNDK_SET_VAR -I src/core -I src/event -I src/event/modules -I src/os/unix
-I src/proc -I src/http/modules/lua/api -I /usr/include/lua5.1 -I objs -I
src/http -I src/http/modules
-o objs/src/http/modules/lua/ngx_http_lua_util.o
src/http/modules/lua/ngx_http_lua_util.c
src/http/modules/lua/ngx_http_lua_util.c: 在函数‘ngx_http_lua_run_thread’中:
src/http/modules/lua/ngx_http_lua_util.c:971:34: 错误:
实参‘nret’可能为‘longjmp’或‘vfork’所篡改 [-Werror=clobbered]
cc1: all warnings being treated as errors
make[1]: *** [objs/src/http/modules/lua/ngx_http_lua_util.o] 错误 1
make[1]:正在离开目录 `/data/soft/tengine'
make: *** [build] 错误 2


Reply to this email directly or view it on GitHubhttps://github.com//issues/306
.

Jinglong
Software Engineer
Server Platforms Team at Taobao

@chobits chobits changed the title 加了htto_lua模块后报错 加了http_lua模块后报错 Mar 17, 2014
@yaoweibin
Copy link
Member

If you still have the problem, you can reopen this issue.

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

No branches or pull requests

3 participants