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

compile error with nginx 1.0.5 on Ubuntu natty #52

Closed
ghost opened this issue Aug 24, 2011 · 2 comments
Closed

compile error with nginx 1.0.5 on Ubuntu natty #52

ghost opened this issue Aug 24, 2011 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 24, 2011

The following error happens when building lua-nginx-module with nginx 1.0.5:

../chaoslawful-lua-nginx-module-188cd41/src/ngx_http_lua_script.c: In function ‘ngx_http_lua_compile_complex_value’:
../chaoslawful-lua-nginx-module-188cd41/src/ngx_http_lua_script.c:159:18: error: ‘n’ may be used uninitialized in this function
make[1]: *** [objs/addon/src/ngx_http_lua_script.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/hydra35/Downloads/nginx-1.0.5'
make: *** [build] Error 2

Configure parameters:

./configure --add-module=../simpl-ngx_devel_kit-bc97eea --add-module=../chaoslawful-lua-nginx-module-2be9349

System and gcc version:

$ lsb_release  -a
Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:    11.04
Codename:   natty

$ gcc --version
gcc.real (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
@agentzh
Copy link
Member

agentzh commented Aug 24, 2011

Thank you for the report!

Could you please try git master? I've just committed a fix for this :)

Best,
-agentzh

@ghost
Copy link
Author

ghost commented Aug 24, 2011

okay, the master compiles without error now

@ghost ghost closed this as completed Aug 24, 2011
This issue was closed.
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

1 participant