Linking cxx executable SampleApp error on Raspberry pi amazon Alexa voice sdk

[95%] Linking CXX executable SampleApp
/usr/bin/ld: CMakeFiles/SampleApp.dir/SampleApplication.cpp.o: in function std::\_\_atomic\_base\<unsigned long long\>::operator=(unsigned long long)': /usr/include/c++/8/bits/atomic\_base.h:374: undefined reference to __atomic_store_8’
/usr/bin/ld: CMakeFiles/SampleApp.dir/PortAudioMicrophoneWrapper.cpp.o: in function alexaClientSDK::avsCommon::utils::sds::SharedDataStream\<alexaClientSDK::avsCommon::utils::sds::InProcessSDSTraits\>::Writer::write(void const\*, unsigned int, std::chrono::duration\<long long, std::ratio\<1ll, 1000ll\> \>)': /usr/include/c++/8/bits/atomic\_base.h:396: undefined reference to __atomic_load_8’
/usr/bin/ld: CMakeFiles/SampleApp.dir/PortAudioMicrophoneWrapper.cpp.o: in function alexaClientSDK::avsCommon::utils::sds::SharedDataStream\<alexaClientSDK::avsCommon::utils::sds::InProcessSDSTraits\>::Writer::Writer(alexaClientSDK::avsCommon::utils::sds::WriterPolicy, std::shared\_ptr\<alexaClientSDK::avsCommon::utils::sds::SharedDataStream\<alexaClientSDK::avsCommon::utils::sds::InProcessSDSTraits\>::BufferLayout\>)': /usr/include/c++/8/bits/atomic\_base.h:396: undefined reference to __atomic_load_8’
/usr/bin/ld: CMakeFiles/SampleApp.dir/PortAudioMicrophoneWrapper.cpp.o: in function std::\_\_atomic\_base\<unsigned long long\>::operator unsigned long long() const': /usr/include/c++/8/bits/atomic\_base.h:396: undefined reference to __atomic_load_8’
/usr/bin/ld: …/…/ACL/src/libACL.so: undefined reference to `__atomic_fetch_add_8’
collect2: error: ld returned 1 exit status
make[3]: *** [SampleApp/src/CMakeFiles/SampleApp.dir/build.make:288: SampleApp/src/SampleApp] Error 1
make[2]: *** [CMakeFiles/Makefile2:10227: SampleApp/src/CMakeFiles/SampleApp.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:10239: SampleApp/src/CMakeFiles/SampleApp.dir/rule] Error 2
make: *** [Makefile:2580: SampleApp] Error 2

Can anyone help me fix this one please?

I’m new to programming so please could you also tell me the what to input into the Pi, thank very much!

I believe this topic in the Alexa repo is relevant.