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

how to make a debug libndpi? #1925

Closed
ccworkhard opened this issue Mar 31, 2023 · 3 comments · Fixed by #1929
Closed

how to make a debug libndpi? #1925

ccworkhard opened this issue Mar 31, 2023 · 3 comments · Fixed by #1929
Labels

Comments

@ccworkhard
Copy link

this is my command, but it is not a debug ndpi.

1 ./autogen.sh
2 ./configure --enable-debug-messages
3 make

@ccworkhard ccworkhard changed the title how to make a debug ndpi? how to make a debug libndpi? Mar 31, 2023
@IvanNardi
Copy link
Collaborator

If you mean "a build with debug symbols" you can try something like:
NDPI_CFLAGS="-g" ./autogen.sh && make -s -j

@utoni
Copy link
Collaborator

utoni commented Mar 31, 2023

Hm, @IvanNardi what about adding --enable-debug to autoconf?

IvanNardi added a commit to IvanNardi/nDPI that referenced this issue Apr 3, 2023
Add this new flag to one CI job, to test it

Close ntop#1925
@ccworkhard
Copy link
Author

If you mean "a build with debug symbols" you can try something like: NDPI_CFLAGS="-g" ./autogen.sh && make -s -j

yeah, it help me to build a debug symbols, thanks a lot.

IvanNardi added a commit that referenced this issue Apr 6, 2023
Add this new flag to one CI job, to test it

Close #1925
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants