Я скачал заминку 1.4.8, я установил следующие пакеты: libev-dev libssl-dev automake python-documenttils flex bison pkg-config, ./configure не выдает ошибок, но когда я использую, переходите кСледующий шаг и выполнение «make» выдает эту ошибку:
make all-recursive
make[1]: Entering directory '/root/hitch-1.4.8'
Making all in src/util
make[2]: Entering directory '/root/hitch-1.4.8/src/util'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/root/hitch-1.4.8/src/util'
Making all in src
make[2]: Entering directory '/root/hitch-1.4.8/src'
make all-am
make[3]: Entering directory '/root/hitch-1.4.8/src'
CC hitch-hitch.o
In file included from /usr/include/openssl/ssl.h:933:0,
from configuration.h:12,
from hitch.c:74:
hitch.c: In function ‘make_ctx_fr’:
hitch.c:995:46: error: passing argument 4 of ‘SSL_CTX_ctrl’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
if (!SSL_CTX_set_tlsext_servername_arg(ctx, fr)) {
^
In file included from configuration.h:12:0,
from hitch.c:74:
/usr/include/openssl/ssl.h:1821:6: note: expected ‘void *’ but argument is of type ‘const struct frontend *’
long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
^
cc1: all warnings being treated as errors
Makefile:808: recipe for target 'hitch-hitch.o' failed
make[3]: *** [hitch-hitch.o] Error 1
make[3]: Leaving directory '/root/hitch-1.4.8/src'
Makefile:600: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/root/hitch-1.4.8/src'
Makefile:527: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/hitch-1.4.8'
Makefile:361: recipe for target 'all' failed
make: *** [all] Error 2
Я делал это раньше в Ubuntu 16.04, и я не уверен, что происходит.Я делаю это на linuxacademy, который использует серверы AWS.Есть идеи, что происходит?