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

Open
thurask opened this issue Jan 11, 2021 · 1 comment
Open

Build failure on Raspberry Pi 4 without including libatomic #2472

thurask opened this issue Jan 11, 2021 · 1 comment

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

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

No branches or pull requests

2 participants