Unable to compile UERANSIM on Raspberry PI due to undefined reference to `__atomic_fetch_add_8'
Closed this issue · 1 comments
DiogoCruz40 commented
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.
Unfortunately, even after I introduced the -latomic flag, the issue persisted. I added the -latomic flag as follows to CMakeLists.txt:
DiogoCruz40 commented
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.