1.make:***no targets.Stop
修改方式: make -j N,这个N查看本机有多少个核
问题查找参考链接:https://github.com/openresty/openresty/issues/22
2.the EAI_MEMORY macro was mapped to ERROR_NOT_ENOUGH_MEMORY which was not defined
修改方式:
diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 86d0b8f306..f9bd5d9970 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -36,6 +36,7 @@ #endif /* HAVE_SYS_TIME_H */ #if HAVE_WINSOCK2_H #include <winsock2.h> +#include <WinError.h> #elif HAVE_SYS_SELECT_H #include <sys/select.h> #endif /* HAVE_WINSOCK2_H */