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

Is there a way to compile OpenResty with debug symbols? #40

Open
XIAZY opened this issue Aug 13, 2018 · 2 comments
Open

Is there a way to compile OpenResty with debug symbols? #40

XIAZY opened this issue Aug 13, 2018 · 2 comments

Comments

@XIAZY
Copy link

XIAZY commented Aug 13, 2018

lj-lua-stacks.sxx keeps saying semantic error: type definition 'lua_State' not found, which is probably due to the lack of debug symbols

I tried compile OpenResty with --with-debug, --with-cc-opt='-g' but no luck. compile log says luajit is indeed compiled with CCDEBUG=-g

precompiled OpenResty-dbgsm package works, but I need to modify some of the code, thus I have to compile it by myself

thank you

@agentzh
Copy link
Member

agentzh commented Oct 7, 2018

@XIAZY It is compiled with -g by default.

@agentzh
Copy link
Member

agentzh commented Oct 7, 2018

No need to specify --with-debug at all. That's for very different things.

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

2 participants