netrc.c: In function 'Curl_parsenetrc':
netrc.c:80:7: error: implicit declaration of function 'getpwuid_r' [-Werror=implicit-function-declaration]
if(!getpwuid_r(geteuid(), &pw, pwbuf, sizeof(pwbuf), &pw_res)
^
cc1: some warnings being treated as errors
make[2]: *** [libcurl_la-netrc.lo] Error 1
netrc.c: In function 'Curl_parsenetrc': netrc.c:80:7: error: implicit declaration of function 'getpwuid_r' [-Werror=implicit-function-declaration] if(!getpwuid_r(geteuid(), &pw, pwbuf, sizeof(pwbuf), &pw_res) ^ cc1: some warnings being treated as errors make[2]: *** [libcurl_la-netrc.lo] Error 1
同样的错误,似乎是pwd.h的头文件没有被引入,受HAVE_PWD_H宏控制,但是64位的都能过