-
Notifications
You must be signed in to change notification settings - Fork 605
undefined reference to `__atomic_load_8' while building SampleApp on raspberryPi #1404
Comments
Hello Vaishnavikumara, It looks very likely that this is a duplicate of issue 380. The fix reported there is to add:
...to CMakelists.txt. best regards, |
@scotthea-amazon I tried the fix you gave here. It still did not work. I am using rpi4 with debian 10. |
@Chiggy-Playz me too |
you can solve the issue by going to the avs-sdk.../CMakeTextList.txt and then paste done for the atomic base error. |
How do you get to this line? thanks |
Same problem, I have added this line |
I finally got it working by intsallint gcc 5 and trying again!
|
@coriolan-cs you edited the wrong file. you had to edit the file in source/avs-sdk-device/CMakeTextList.txt and then add the file in the end @angus390 follow the same |
Oh sorry about the confusion, I had this problem when building for Intel Realsense, not Alexa (I google the problem and arrived here) |
i got a same error.
My system:
I try with at end of But not works for me |
@djcors try putting it on the 9th line. That is just after the endif() |
This issue is fixed in v1.15 of the SDK. |
I have the latest SDK version but still faced the same issue. |
Yeeeehaaaa! It works. For newbies like me, you have to:
then:
go to the bottom and add in the file:
|
https://solarianprogrammer.com/2017/12/08/raspberry-pi-raspbian-install-gcc-compile-cpp-17-programs/ for Raspian 10 or above |
maybe you need use target_link_libraries(target atomic) |
hello, this is not working |
[ 21%] Linking CXX executable AlertSchedulerTest |
IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
What is the expected behavior?
What behavior are you observing?
Provide the steps to reproduce the issue, if applicable:
Tell us about your environment:
What version of the AVS Device SDK are you using?
Tell us what hardware you're using:
Tell us about your OS (Type & version):
The text was updated successfully, but these errors were encountered: