Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on Raspberry Pi 4 without including libatomic #2472

Closed
thurask opened this issue Jan 11, 2021 · 2 comments
Closed

Build failure on Raspberry Pi 4 without including libatomic #2472

thurask opened this issue Jan 11, 2021 · 2 comments
Assignees
Labels
bug Unexpected software behaviour building-system Related to building sytem

Comments

@thurask
Copy link

thurask commented Jan 11, 2021

Since meganz/MEGAcmd#451 also applies to MEGA SDK, rebroadcasting the issue for visibility. To summarize, building MEGAcmd git master on Raspberry Pi 4 running Raspbian 10 fails (undefined reference to `__atomic_load_8') without including libatomic in both MEGAcmd and MEGA SDK, which can be accomplished by adding an autoconf step to both projects to check if libatomic is needed.

@developerbedoya
Copy link

I set the environment variable LDFLAGS when running ./configure. That solved the problem in my Raspberry Pi 3, using Raspbian Buster:

LDFLAGS="-latomic" ./configure

@sergiohs84 sergiohs84 self-assigned this Dec 3, 2024
@sergiohs84 sergiohs84 added bug Unexpected software behaviour building-system Related to building sytem labels Dec 3, 2024
@sergiohs84
Copy link
Contributor

The building system has been ported to CMake + VCPKG. It doesn't use autotools anymore.

Please, give it a try and if you still find issues, feel free to open a new ticket. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected software behaviour building-system Related to building sytem
Projects
None yet
Development

No branches or pull requests

3 participants