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

note: ld: error: unable to find library -lgcc #25

Open
xiaoheiai4719 opened this issue Jun 28, 2021 · 4 comments
Open

note: ld: error: unable to find library -lgcc #25

xiaoheiai4719 opened this issue Jun 28, 2021 · 4 comments

Comments

@xiaoheiai4719
Copy link

when i use make all
= note: ld: error: unable to find library -lgcc
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error

error: could not compile example-rs

To learn more, run the command again with --verbose.
make: *** [target/aarch64-linux-android/release/libexample.so] Error 101

@brickpop
Copy link
Owner

What platform are you running this on?
Did you install and point to the right Android SDK/NDK build tools?

@xiaoheiai4719
Copy link
Author

Mac OS, i install the �NDK from android Studio。and
image
image

@xiaoheiai4719
Copy link
Author

version 22.1.7171670 is ok

@alexandru-calinoiu
Copy link

Yes, looks like the version NDK version 23 will fail, try @xiaoheiai4719 suggestion.

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

3 participants