Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Error When Building SDK. "[21%] Linking CXX executable AlertSchedulerTest" #2101

Open
JordanRodrigues021 opened this issue Dec 23, 2023 · 1 comment

Comments

@JordanRodrigues021
Copy link

I have connected to the pi via ssh.
I have done all the steps correctly 3 times and still keep getting the same error.

/usr/bin/ld: ../../../../AVSCommon/libAVSCommon.so: undefined reference to __at omic_fetch_add_8' /usr/bin/ld: ../../../../AVSCommon/libAVSCommon.so: undefined reference to __at omic_store_8'
/usr/bin/ld: ../../../../AVSCommon/libAVSCommon.so: undefined reference to `__at omic_load_8'
collect2: error: ld returned 1 exit status
make[2]: *** [EXTENSION/Alerts/acsdkAlerts/test/CMakeFiles/AlertSchedulerTest.di r/build.make:114: EXTENSION/Alerts/acsdkAlerts/test/AlertSchedulerTest] Error 1
make[1]: *** [CMakeFiles/Makefile2:7531: EXTENSION/Alerts/acsdkAlerts/test/CMake Files/AlertSchedulerTest.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

@YourArka
Copy link

YourArka commented Jan 9, 2024

Same problem, in the #1404 they says to add set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -latomic") in the CMakeLists.txt but it doesnt work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants