We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在../../tools/android-sdk-mac_86/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/bits/fortify/string.h
#if ANDROID_API >= ANDROID_API_J_MR1 return __builtin___strcat_chk(dst, src, __bos(dst));
undefined reference to '__strcat_chk'
The text was updated successfully, but these errors were encountered:
+1 ,请求楼主有解决方案吗
Sorry, something went wrong.
hi 问题解决了吗?正常来说string.h链接到的是sysroot/usr/include/string.h这个头文件,你们链接到了sysroot/usr/include/bits/fortify/string.h这个位置。可以换一个ndk版本试一下,比如我的ndk版本是r16b。
https://developer.android.com/ndk/downloads/older_releases?hl=zh-cn 替换成ndk r16b 编译成功; linux 64bit 地址如下 https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip?hl=zh_cn
NDK降级即可
No branches or pull requests
在../../tools/android-sdk-mac_86/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/bits/fortify/string.h
#if ANDROID_API >= ANDROID_API_J_MR1
return __builtin___strcat_chk(dst, src, __bos(dst));
undefined reference to '__strcat_chk'
The text was updated successfully, but these errors were encountered: