Open klslz opened 3 years ago
@klslz Have you got a solution yet? Thx PS:Build have suceeded on my raspberry pi, so it may a related specifically to x86, but I still have not found out how.
I can confirm the issue on x86_64 fedora 33 as OP using the 0.3.9 release and the git release. The same release is working on a Ubuntu 20.04.01 LTS
It also fails on Ubunu 20.10 which leads me to suspect something broke with newer systems.
Since GCC version 10, default compilation is with -fno-common. The libsacd code has a couple of multiple definitions which cannot be linked if that flag is active. I have to comb through the code for a structural fix. In the meantime you could say: export CFLAGS="-fcommon" and then compile as that is the old behaviour of gcc.
Pass -DCMAKE_C_FLAGS="-fcommon"
to cmake
also works.
My approach: cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_C_FLAGS="-fcommon"
Under Linux, on x86 with gcc 10.2.1 and Fedora 33 make fails on sacd-extract:
Any ideas?
I did try to compile it as root under ~root
THX