编译cachedb_cassandra模块时出错.Opennsip

时间:2014-03-18 11:53:37

标签: makefile cassandra thrift opensips

我正在尝试编译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。 Thrift已安装。
我尝试在Makefile中进行更改,但结果相同。有什么我想念的吗?请帮忙。

由于

0 个答案:

没有答案