aligungr/UERANSIM

Unable to compile UERANSIM on Raspberry PI due to undefined reference to `__atomic_fetch_add_8'

Closed this issue · 1 comments

Basically, I'm attempting to install UERANSIM on a Raspberry PI (Linux raspberrypi 6.1.21-v7+ #1642 armv7l GNU/Linux), however the compilation fails with the message undefined reference to '__atomic fetch add 8'.

Versions of cmake 3.25.0 and make 4.3.

Screenshot from 2023-05-29 19-23-57

Unfortunately, even after I introduced the -latomic flag, the issue persisted. I added the -latomic flag as follows to CMakeLists.txt:

Screenshot from 2023-05-29 19-31-09

By installing Ubuntu Server 22.04 LTS (32 bits) on the Rapsberry PI and following the installation instructions in the UERANSIM official repo, I was able to resolve the issue.