nDPI icon indicating copy to clipboard operation
nDPI copied to clipboard

Linking nDPI on MacOS 12.7.2 fails

Open utoni opened this issue 1 year ago • 2 comments

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 avatar Jan 09 '24 11:01 utoni

@utoni, do you still have this issue?

IvanNardi avatar May 25 '25 19:05 IvanNardi

Not sure, but I guess that issue still exists due to the improper use of autotools. But I fixed that within nDPId build scripts AFAIR.

utoni avatar May 25 '25 19:05 utoni