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

Linking nDPI on MacOS 12.7.2 fails #2252

Open
utoni opened this issue Jan 9, 2024 · 0 comments
Open

Linking nDPI on MacOS 12.7.2 fails #2252

utoni opened this issue Jan 9, 2024 · 0 comments
Labels

Comments

@utoni
Copy link
Collaborator

utoni commented Jan 9, 2024

I am trying to compile nDPI and link nDPId against it.

All of this is done within Github Actions: https://github.com/utoni/nDPId/actions/runs/7460017752/job/20297224832

Compilation is done with the default CC using CFLAGS: -Werror -std=c11 -D_DEFAULT_SOURCE=1 -D_GNU_SOURCE=1 -Wall -Wextra -O0 -g3 -fno-omit-frame-pointer.

However, I get a lot of duplicate symbol errors. The strange thing is that during linkage, MacOS invokes clang instead of cc. Could that be the root cause?

(I do not own any MacOS devices or VM, so can not reproduce locally.)

@utoni utoni added the question label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant