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
shadowsocksr-android/src/main/jni/shadowsocks-libev/src/utils.c 这个文件编译会报错误 error: undefined reference to 'getpwuid_r'
shadowsocksr-android/src/main/jni/shadowsocks-libev/src/utils.c
error: undefined reference to 'getpwuid_r'
将131及132行的
131 err = uid >= 0 ? getpwuid_r((uid_t)uid, &pwdbuf, buf, buflen, &pwd) 132 : getpwnam_r(user, &pwdbuf, buf, buflen, &pwd);
改成
131 err = uid >= 0 ? getpwuid(uid) 132 : getpwnam(user);
就能编译通过了
The text was updated successfully, but these errors were encountered:
thank you~
Sorry, something went wrong.
No branches or pull requests
shadowsocksr-android/src/main/jni/shadowsocks-libev/src/utils.c
这个文件编译会报错误
error: undefined reference to 'getpwuid_r'
将131及132行的
改成
就能编译通过了
The text was updated successfully, but these errors were encountered: