错误:字段"ctx"的类型不完整EVP_CIPHER_CTX [英] error: field 'ctx' has incomplete type EVP_CIPHER_CTX

查看:3681
本文介绍了错误:字段"ctx"的类型不完整EVP_CIPHER_CTX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:我需要将Cepstral(tts引擎)安装到运行Debian 8的Freeswitch中.Freeswitch已经启动并正在运行,但是我需要从源代码构建它以便创建mod_cepstral模块.

Problem: I need to install Cepstral (tts engine) into Freeswitch running Debian 8. Freeswitch is already up and running, but I needed to build it from source in order for it create the mod_cepstral module.

当我运行make时,这是我得到的错误:

When I run make this is the error I get:

In file included from ./crypto/include/prng.h:17:0,
                 from ./crypto/include/crypto_kernel.h:50,
                 from ./include/srtp.h:53,
                 from srtp/srtp.c:46:
./crypto/include/aes_icm_ossl.h:66:20: error: field ‘ctx’ has incomplete type
     EVP_CIPHER_CTX ctx;
                    ^~~
In file included from srtp/srtp.c:50:0:
./crypto/include/aes_gcm_ossl.h:58:18: error: field ‘ctx’ has incomplete type
   EVP_CIPHER_CTX ctx;
                  ^~~
Makefile:646: recipe for target 'srtp.lo' failed
make[1]: *** [srtp.lo] Error 1
make[1]: Leaving directory '/usr/src/freeswitch/libs/srtp'
Makefile:3931: recipe for target 'libs/srtp/libsrtp.la' failed
make: *** [libs/srtp/libsrtp.la] Error 2

我一直在互联网上寻找解决方案,但是我不是开发人员,这让我头疼.任何帮助,将不胜感激.

I have been scouring the internet for solutions, but I am not a developer and this is way over my head. Any help would be appreciated.

推荐答案

在与Cepstral的支持人员交谈之后,我们确定Jessie(Debian 8)尚未完全兼容.我用Debian 7重建了服务器,现在可以正常工作了.

After talking with support at Cepstral, we determined that Jessie (Debian 8) is not yet fully compatible. I rebuilt the server with Debian 7 and it is working fine now.

这篇关于错误:字段"ctx"的类型不完整EVP_CIPHER_CTX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆