./Modules/posixmodule.c:8330:12: note: forward declaration of 'struct sf_hdtr'
struct sf_hdtr sf;
^
./Modules/posixmodule.c:8410:15: error: implicit declaration of function 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = sendfile(in, out, offset, &sbytes, &sf, flags);
^
2 errors generated.
make: *** [Modules/posixmodule.o] Error 1
make: *** Waiting for unfinished jobs....
依赖应该是没问题吧:
shuohui@ShuoHuideAir ~ brew list
autoconf libunistring pyenv wget
gettext [email protected] readline xz
libidn2 pkg-config sqlite zlib
刚把古董 air (系统是:OS X 10.16)转主力机用。。 很多不懂,顺便求一些 mac 入门与进阶的书籍。。最好是豆瓣能直接买到电子版的。