我正在尝试编译 cachedb_cassandra 模块以将我的 opensips 与 cassandra 集成。但是,在编译时,我得到了流
make[1]: Entering directory `/home/himanshu/opensips-1.10.0-tls/modules/cachedb_
Compiling cachedb_cassandra_dbase.cpp
Compiling cassandra_constants.cpp
cc1plus: warning: command line option "-Wold-style-definition" is valid for C/ObjC but not for C++
Compiling cassandra_types.cpp
cc1plus: warning: command line option "-Wold-style-definition" is valid for C/ObjC but not for C++
Compiling Cassandra.cpp
cc1plus: warning: command line option "-Wold-style-definition" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wold-style-definition" is valid for C/ObjC but not for C++
In file included from cassandra_constants.h:9,
from cassandra_constants.cpp:6:
cassandra_types.h:9:20: error: Thrift.h: No such file or directory
cassandra_types.h:10:35: error: TApplicationException.h: No such file or directory
cassandra_types.h:11:32: error: protocol/TProtocol.h: No such file or directory
cassandra_types.h:12:34: error: transport/TTransport.h: No such file or directory
.
.
.
在此之后还有更多错误,但我认为这可能是由于缺少 .h 文件错误。
Opensips version is 1.10
. 节俭已安装。
我尝试在 Makefile 中进行更改,但得到了相同的结果。有什么我想念的吗。请帮忙。
谢谢