[问答求助] 移动端编译出错 error: undefined reference to 'getpwuid_r'

[复制链接]
作者
yuanzheng   发布于2022-8-13 23:46:47 来自河北
[armeabi-v7a] StaticLibrary  : libcc_core.a
[armeabi-v7a] StaticLibrary  : librecast.a
[armeabi-v7a] StaticLibrary  : libandroid_support.a
[armeabi-v7a] StaticLibrary  : libluaccandroid.a
[armeabi-v7a] StaticLibrary  : libccandroid.a
[armeabi-v7a] StaticLibrary  : libcpufeatures.a
[armeabi-v7a] SharedLibrary  : libmmyx_yl.so
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/external/cur
l/prebuilt/android/armeabi-v7a/libcurl.a(libcurl_la-netrc.o):netrc.c:function Curl_parsene
trc: error: undefined reference to 'getpwuid_r'
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/external/cur
l/prebuilt/android/armeabi-v7a/libcurl.a(libcurl_la-curl_ntlm_wb.o):curl_ntlm_wb.c:functio
n Curl_output_ntlm_wb: error: undefined reference to 'getpwuid_r'
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/external/uv/
prebuilt/android/armeabi-v7a/libuv_a.a(signal.c.o):signal.c:function uv__signal_global_ini
t: error: undefined reference to 'pthread_atfork'
E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/../../cocos2d-x/external/uv/
prebuilt/android/armeabi-v7a/libuv_a.a(threadpool.c.o):threadpool.c:function init_once: er
ror: undefined reference to 'pthread_atfork'
collect2.exe: error: ld returned 1 exit status
make.exe: *** [obj/local/armeabi-v7a/libmmyx_yl.so] Error 1
make.exe: Leaving directory `E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio
/app'
执行命令出错,返回值:2。

回复

使用道具 举报

sissrz    回复于04月19日 06:43 来自河南
464654564654645646
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 创建账号

本版积分规则

Archiver|小黑屋|( 冀ICP备2021005463号 )

GMT+8, 2024-11-21 18:32 , Processed in 0.088252 second(s), 24 queries , Gzip On.

N2N1 It社区 n2n1.cn

Copyright © 2001-2021,MeiCheng.

快速回复 返回顶部 返回列表