Closed miluoalbert closed 4 years ago
I just fix it by add
list(APPEND RTLSDR_LIBRARIES -latomic)
in to my CMakeLists.txt
There is an open pull request to detect this: https://github.com/pothosware/SoapyRTLSDR/pull/42
Can you test if it works? I want to merge it, but I think we were waiting on some validation
There is an open pull request to detect this: #42
Can you test if it works? I want to merge it, but I think we were waiting on some validation
Just tried it.
As for me, this pull request version worked perfectly.
BTW, this a lot of warnings about abi changed in GCC like:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<double*, std::vector<double> >’ changed in GCC 7.1
_M_realloc_insert(end(), std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~
Should there be a -Wno-psabi
flag in compile settings?
There is good info here: https://stackoverflow.com/questions/52020305/what-exactly-does-gccs-wpsabi-option-do-what-are-the-implications-of-supressi TL;DR the method of passing a double type changed. Good advice not to just globally disable warnings. How many lines are affected?
@miluoalbert can you test current master again? The fix is now merged. I tested on ARM Buster, reopen if something doesn't work.
When I compile SoapyRTLSDR on my Raspberry Pi 3 with GCC 8.3.0, by :
there are several errors provided by linker