目标“星号”的配方失败

目标“星号”的配方失败

Ubuntu14

我正在尝试在我的电脑上配置星号。我已下载文件星号-15-current.tar.gz解压并开始安装。运行

。/配置

并且成功了。在Make命令上,它给出了以下错误。

./libasteriskpj.so: undefined reference to ERR_reason_error_string@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference toASN1_INTEGER_get@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to X509_NAME_oneline@OPENSSL_1.0.0'     
./libasteriskpj.so: undefined reference toERR_func_error_string@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to SSL_CTX_ctrl@OPENSSL_1.0.0' 
./libasteriskpj.so: undefined reference toTLSv1_server_method@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to SSL_CTX_set_default_passwd_cb@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference toSSL_renegotiate_pending@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to X509_STORE_set_flags@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference toEC_curve_nid2nist@OPENSSL_1.0.2’
./libasteriskpj.so: undefined reference to SSL_get_certificate@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference toSSL_get_ex_data_X509_STORE_CTX_idx@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to SSLv3_server_method@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference toSSL_get_ex_new_index@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to SSLv3_method@OPENSSL_1.0.0' 
./libasteriskpj.so: undefined reference toSSLv23_method@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to BIO_new@OPENSSL_1.0.0' 
./libasteriskpj.so: undefined reference toSSL_library_init@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to X509_get_subject_name@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference toSSL_CTX_set_cipher_list@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to SSL_set_cipher_list@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference toX509_get_ext_d2i@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to ERR_lib_error_string@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference tosk_value@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to SSLv23_server_method@OPENSSL_1.0.0' ./libasteriskpj.so: undefined reference toSSL_shutdown@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to EC_KEY_free@OPENSSL_1.0.0' 
./libasteriskpj.so: undefined reference toBIO_free@OPENSSL_1.0.0’
./libasteriskpj.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1.0.0’
collect2: error: ld returned 1 exit status
Makefile:314: recipe for target ‘asterisk’ failed
make[1]: *** [asterisk] Error 1
Makefile:386: recipe for target ‘main’ failed
make: *** [main] Error 2

这些错误是什么意思?如何纠正?或者我可以忽略这些错误吗?

答案1

这意味着您没有 openssl-dev 包或者包版本太新/太旧(不太可能)。

因此很可能你已经安装了 openssl-dev

相关内容