在Libjingle编译中使用加密出错

时间:2012-04-06 04:37:31

标签: scons libjingle

当我编译最新的libjingle时,我发现了一些问题如下:

scons: Building targets ...
________Compiling build/dbg/obj/third_party/srtp/crypto/kernel/err.o
third_party/srtp/crypto/kernel/err.c:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘err_level’
third_party/srtp/crypto/kernel/err.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
third_party/srtp/crypto/kernel/err.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘err_reporting_init’
third_party/srtp/crypto/kernel/err.c: In function ‘err_report’:
third_party/srtp/crypto/kernel/err.c:96: error: ‘va_list’ undeclared (first use in this function)
third_party/srtp/crypto/kernel/err.c:96: error: (Each undeclared identifier is reported only once
third_party/srtp/crypto/kernel/err.c:96: error: for each function it appears in.)
third_party/srtp/crypto/kernel/err.c:96: error: expected ‘;’ before ‘args’
third_party/srtp/crypto/kernel/err.c:98: error: ‘err_level’ undeclared (first use in this function)
cc1: warnings being treated as errors

有人可以就如何解决此错误给我建议吗?

谢谢。

1 个答案:

答案 0 :(得分:0)

不熟悉libjingle库但是编译器引用的错误是因为./configure命令(应该以前运行过)应该设置目标(您的计算机)体系结构类型... x86,x86_64,手臂等

您应该研究有问题的软件包的编译选项