在檔案夾中下載解壓了Git

隨后進入Git檔案夾下執行了 make prefix=/usr/local/git all 代碼
報錯如下:
CC imap-send.o
imap-send.c: In function ‘ssl_socket_connect’:
imap-send.c:291:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
meth = TLSv1_method();
^~~~
In file included from /usr/include/openssl/opensslconf.h:42,
from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/ssl.h:15,
from git-compat-util.h:280,
from cache.h:4,
from imap-send.c:25:
/usr/include/openssl/ssl.h:1877:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
^~~~~~~~~~~~~~~~~~
imap-send.c: In function ‘cram’:
imap-send.c:865:11: error: storage size of ‘hmac’ isn’t known
HMAC_CTX hmac;
^~~~
imap-send.c:880:2: warning: ‘HMAC_Init’ is deprecated [-Wdeprecated-declarations]
HMAC_Init(&hmac, (unsigned char *)pass, strlen(pass), EVP_md5());
^~~~~~~~~
In file included from /usr/include/openssl/opensslconf.h:42,
from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/ssl.h:15,
from git-compat-util.h:280,
from cache.h:4,
from imap-send.c:25:
/usr/include/openssl/hmac.h:30:1: note: declared here
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
^~~~~~~~~~~~~~~~~~
imap-send.c:883:2: warning: implicit declaration of function ‘HMAC_CTX_cleanup’; did you mean ‘HMAC_CTX_get_md’? [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(&hmac);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
imap-send.c:865:11: warning: unused variable ‘hmac’ [-Wunused-variable]
HMAC_CTX hmac;
^~~~
make: *** [Makefile:1941: imap-send.o] Error 1
網上說要安裝依賴:

看回應顯示應該是安裝過依賴了..
大神們,這個問題應該怎么解決呢。。是跟著專案走的安裝流程,Git也是跟著專案安裝的應該沒問題
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/241077.html
標籤:專題技術討論區
上一篇:ROS下PX4 make px4_sitl_default gazebo報錯如何解決。
下一篇:awk將字串轉換成時間戳
