[OpenSIPS-Users] cachedb_cassandra module build

zhouxiaoqiang.mstech at gmail.com zhouxiaoqiang.mstech at gmail.com
Mon Nov 24 11:15:02 CET 2014


Hi All:
        I build cachedb_cassandra occur some error:
       In file included from /usr/include/thrift/thrift-config.h:23:0, 
from /usr/include/thrift/Thrift.h:25, 
from cassandra_types.h:9, 
from cassandra_constants.h:9, 
from cassandra_constants.cpp:6: 
cassandra_constants.h:17:15: error: expected unqualified-id before string constant 
std::string VERSION; 
^ 
cassandra_constants.cpp: In constructor 'org::apache::cassandra::cassandraConstants::cassandraConstants()': 
cassandra_constants.cpp:13:11: error: assignment of read-only location '"0.9.1"' 
VERSION = "19.19.0"; 
^ 
cassandra_constants.cpp:13:11: error: incompatible types in assignment of 'const char [8]' to 'const char [6]' 
make[1]: *** [cassandra_constants.o] Error 1

    my thrift version is 
#rpm -qa | grep thrift 
thrift-0.9.1-12.el7.x86_64 
thrift-devel-0.9.1-12.el7.x86_64

  may be the thrift version not fit opensips?



zhouxiaoqiang.mstech at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141124/221ab3aa/attachment.htm>


More information about the Users mailing list