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

r11 clang: undefined reference to 'dladdr' #43

Closed
osfans opened this issue Mar 24, 2016 · 3 comments
Closed

r11 clang: undefined reference to 'dladdr' #43

osfans opened this issue Mar 24, 2016 · 3 comments

Comments

@osfans
Copy link

osfans commented Mar 24, 2016

/usr/local/google/buildbot/out_dirs/aosp-ndk-r11-release/build/tmp/build-5996/build-libc++/ndk/sources/cxx-stl/llvm-libc++/../llvm-libc++abi/libcxxabi/src/Unwind/AddressSpace.hpp:448: error: undefined reference to 'dladdr'

NDK_TOOLCHAIN_VERSION := clang
APP_PLATFORM := android-4
APP_STL := c++_static
@dimitry-
Copy link
Contributor

dladdr was introduced in android-8 (arm) and android-9 for x86 and mips. Try compiling against android-9 instead of android-4. Unless you need your code to work on the devices with android version < 8 in which case - there is no dladdr, and you will have to work around this.

@osfans
Copy link
Author

osfans commented Mar 24, 2016

OK, thanks!

@osfans osfans closed this as completed Mar 24, 2016
@DanAlbert
Copy link
Member

Also note that android-4 is no longer supported. The earliest supported version is android-9.

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