Using thrift/0.8.0/thrift-0.8.0.tar.gz
I get this when trying to build db_cassandra.
In file included from /usr/local/include/thrift/protocol/TProtocol.h:23,
from /usr/local/include/thrift/protocol/TBinaryProtocol.h:23,
from dbcassa_base.cpp:36:
/usr/local/include/thrift/transport/TTransport.h:34: error: expected
constructor, destructor, or type conversion before ‘readAll’
/usr/local/include/thrift/transport/TTransport.h:107: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/transport/TTransport.h:111: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/transport/TTransport.h:124: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/transport/TTransport.h:128: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/transport/TTransport.h:139: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/transport/TTransport.h:156: error: ISO C++
forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TTransport.h:156: error: expected
‘,’ or ‘...’ before ‘*’ token
/usr/local/include/thrift/transport/TTransport.h:160: error: ISO C++
forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TTransport.h:160: error: expected
‘,’ or ‘...’ before ‘*’ token
/usr/local/include/thrift/transport/TTransport.h:172: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/transport/TTransport.h:214: error: ISO C++
forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TTransport.h:214: error: expected
‘;’ before ‘*’ token
/usr/local/include/thrift/transport/TTransport.h:218: error: expected
‘;’ before ‘virtual’
/usr/local/include/thrift/transport/TTransport.h:218: error: ISO C++
forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TTransport.h:218: error: ‘uint8_t’
declared as a ‘virtual’ field
/usr/local/include/thrift/transport/TTransport.h:218: error: expected
‘;’ before ‘*’ token
/usr/local/include/thrift/transport/TTransport.h:231: error: expected
‘;’ before ‘void’
/usr/local/include/thrift/transport/TTransport.h:231: error: ‘uint32_t’
has not been declared
/usr/local/include/thrift/transport/TTransport.h:235: error: ‘uint32_t’
has not been declared
/usr/local/include/thrift/transport/TTransport.h: In member function
‘void apache::thrift::transport::TTransport::write(int)’:
/usr/local/include/thrift/transport/TTransport.h:158: error: ‘buf’ was
not declared in this scope
/usr/local/include/thrift/transport/TTransport.h:158: error: ‘len’ was
not declared in this scope
In file included from
/usr/local/include/thrift/protocol/TBinaryProtocol.h:23,
from dbcassa_base.cpp:36:
/usr/local/include/thrift/protocol/TProtocol.h: At global scope:
/usr/local/include/thrift/protocol/TProtocol.h:184: error: expected
constructor, destructor, or type conversion before ‘skip’
/usr/local/include/thrift/protocol/TProtocol.h:305: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:309: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:312: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:314: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:316: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:320: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:322: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:324: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:328: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:330: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:333: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:335: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:338: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:340: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:342: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:344: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:346: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:348: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:350: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:352: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:354: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:356: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:363: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:369: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:374: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:379: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:386: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:391: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:396: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:403: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:408: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:413: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:418: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:423: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:428: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:433: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:438: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:443: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:448: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:453: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:458: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:463: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:472: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:476: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:478: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:480: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:482: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:486: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:488: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:492: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:494: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:497: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:499: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:502: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:504: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:506: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:508: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:510: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:512: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:514: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:516: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:518: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:520: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:522: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:529: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:534: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:539: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:544: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:551: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:556: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:561: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:566: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:571: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:576: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:581: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:586: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:591: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:596: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:601: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:606: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:611: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:616: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:621: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:631: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:639: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:643: error: ‘uint32_t’
does not name a type
In file included from
/usr/local/include/thrift/protocol/TBinaryProtocol.h:24,
from dbcassa_base.cpp:36:
/usr/local/include/thrift/protocol/TVirtualProtocol.h:42: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:52: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:57: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:63: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:68: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:78: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:83: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:91: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:96: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:103: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:108: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:115: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:120: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:126: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:132: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:138: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:144: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:150: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:156: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:162: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:168: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:174: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:184: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:190: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:196: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:201: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:211: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:216: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:221: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:231: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:236: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:243: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:248: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:255: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:260: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:266: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:272: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:278: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:284: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:290: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:296: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:302: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:308: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:329: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:336: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:341: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:345: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:349: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:356: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:360: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:364: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:370: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:374: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:379: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:383: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:388: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:392: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:396: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:400: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:404: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:408: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:412: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:416: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:420: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:428: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:435: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:439: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:443: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:447: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:454: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:458: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:464: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:468: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:473: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:477: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:482: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:486: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:490: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:494: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:498: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:502: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:506: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:510: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:514: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:518: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:522: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:536: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TVirtualProtocol.h:548: error:
‘uint32_t’ does not name a type
In file included from dbcassa_base.cpp:36:
/usr/local/include/thrift/protocol/TBinaryProtocol.h:92: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:96: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:99: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:101: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:103: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:107: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:109: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:111: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:115: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:117: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:119: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:121: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:123: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:125: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:127: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:129: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:131: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:133: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:135: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:137: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:139: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:146: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:150: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:152: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:154: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:156: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:160: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:162: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:166: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:168: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:170: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:172: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:174: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:176: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:180: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:182: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:184: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:186: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:188: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:190: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:192: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:195: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:208: error: ISO C++
forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/protocol/TBinaryProtocol.h:208: error:
expected ‘;’ before ‘*’ token
/usr/local/include/thrift/protocol/TBinaryProtocol.h: In constructor
‘apache::thrift::protocol::TBinaryProtocolT<Transport_>::TBinaryProtocolT(boost::shared_ptr<X>)’:
/usr/local/include/thrift/protocol/TBinaryProtocol.h:51: error: class
‘apache::thrift::protocol::TBinaryProtocolT<Transport_>’ does not have
any field named ‘string_buf_’
/usr/local/include/thrift/protocol/TBinaryProtocol.h: In constructor
‘apache::thrift::protocol::TBinaryProtocolT<Transport_>::TBinaryProtocolT(boost::shared_ptr<X>,
int32_t, int32_t, bool, bool)’:
/usr/local/include/thrift/protocol/TBinaryProtocol.h:65: error: class
‘apache::thrift::protocol::TBinaryProtocolT<Transport_>’ does not have
any field named ‘string_buf_’
/usr/local/include/thrift/protocol/TBinaryProtocol.h: In destructor
‘apache::thrift::protocol::TBinaryProtocolT<Transport_>::~TBinaryProtocolT()’:
/usr/local/include/thrift/protocol/TBinaryProtocol.h:69: error:
‘string_buf_’ was not declared in this scope
In file included from
/usr/local/include/thrift/protocol/TBinaryProtocol.h:24,
from dbcassa_base.cpp:36:
/usr/local/include/thrift/protocol/TVirtualProtocol.h: At global scope:
/usr/local/include/thrift/protocol/TVirtualProtocol.h: In instantiation
of
‘apache::thrift::protocol::TVirtualProtocol<apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport>,
apache::thrift::protocol::TProtocolDefaults>’:
/usr/local/include/thrift/protocol/TBinaryProtocol.h:37: instantiated
from
‘apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport>’
/usr/local/include/thrift/protocol/TBinaryProtocol.h:259: instantiated
from here
/usr/local/include/thrift/protocol/TVirtualProtocol.h:554: error: no
members matching ‘apache::thrift::protocol::TProtocolDefaults::readBool’
in ‘class apache::thrift::protocol::TProtocolDefaults’
In file included from dbcassa_base.cpp:36:
/usr/local/include/thrift/protocol/TBinaryProtocol.h: In instantiation
of
‘apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport>’:
/usr/local/include/thrift/protocol/TBinaryProtocol.h:259: instantiated
from here
/usr/local/include/thrift/protocol/TBinaryProtocol.h:178: error: no
members matching
‘apache::thrift::protocol::TVirtualProtocol<apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport>,
apache::thrift::protocol::TProtocolDefaults>::readBool’ in ‘class
apache::thrift::protocol::TVirtualProtocol<apache::thrift::protocol::TBinaryProtocolT<apache::thrift::transport::TTransport>,
apache::thrift::protocol::TProtocolDefaults>’
In file included from
/usr/local/include/thrift/protocol/TBinaryProtocol.h:277,
from dbcassa_base.cpp:36:
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:31: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:51: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:56: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:62: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:67: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:78: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:83: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:89: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:100: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:105: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:114: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:119: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:128: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:133: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:140: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:146: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:153: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:160: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:167: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:179: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:189: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:198: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
In file included from
/usr/local/include/thrift/protocol/TBinaryProtocol.h:277,
from dbcassa_base.cpp:36:
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:230: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:235: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:241: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:246: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:263: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:268: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:289: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:294: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:312: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:317: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:335: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:340: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:348: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:356: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:367: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:378: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:389: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:404: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:412: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
/usr/local/include/thrift/protocol/TBinaryProtocol.tcc:417: error:
expected constructor, destructor, or type conversion before
‘TBinaryProtocolT’
In file included from /usr/local/include/thrift/transport/TSocket.h:33,
from dbcassa_base.cpp:37:
/usr/local/include/thrift/transport/TVirtualTransport.h:50: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TVirtualTransport.h:53: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TVirtualTransport.h:56: error: ISO
C++ forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TVirtualTransport.h:56: error:
expected ‘,’ or ‘...’ before ‘*’ token
/usr/local/include/thrift/transport/TVirtualTransport.h:59: error: ISO
C++ forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TVirtualTransport.h:59: error:
expected ‘;’ before ‘*’ token
/usr/local/include/thrift/transport/TVirtualTransport.h:62: error:
expected ‘;’ before ‘void’
/usr/local/include/thrift/transport/TVirtualTransport.h:62: error:
‘uint32_t’ has not been declared
/usr/local/include/thrift/transport/TVirtualTransport.h: In member
function ‘void apache::thrift::transport::TTransportDefaults::write(int)’:
/usr/local/include/thrift/transport/TVirtualTransport.h:57: error: ‘buf’
was not declared in this scope
/usr/local/include/thrift/transport/TVirtualTransport.h:57: error: ‘len’
was not declared in this scope
/usr/local/include/thrift/transport/TVirtualTransport.h: At global scope:
/usr/local/include/thrift/transport/TVirtualTransport.h:94: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TVirtualTransport.h:98: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TVirtualTransport.h:102: error: ISO
C++ forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TVirtualTransport.h:102: error:
expected ‘,’ or ‘...’ before ‘*’ token
/usr/local/include/thrift/transport/TVirtualTransport.h:106: error: ISO
C++ forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TVirtualTransport.h:106: error:
‘uint8_t’ declared as a ‘virtual’ field
/usr/local/include/thrift/transport/TVirtualTransport.h:106: error:
expected ‘;’ before ‘*’ token
/usr/local/include/thrift/transport/TVirtualTransport.h:110: error:
expected ‘;’ before ‘virtual’
/usr/local/include/thrift/transport/TVirtualTransport.h:110: error:
‘uint32_t’ has not been declared
/usr/local/include/thrift/transport/TVirtualTransport.h:124: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TVirtualTransport.h: In member
function ‘virtual void
apache::thrift::transport::TVirtualTransport<Transport_,
Super_>::write_virt(int)’:
/usr/local/include/thrift/transport/TVirtualTransport.h:103: error:
‘buf’ was not declared in this scope
/usr/local/include/thrift/transport/TVirtualTransport.h:103: error:
‘len’ was not declared in this scope
In file included from dbcassa_base.cpp:37:
/usr/local/include/thrift/transport/TSocket.h: At global scope:
/usr/local/include/thrift/transport/TSocket.h:100: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/transport/TSocket.h:105: error: ISO C++
forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TSocket.h:105: error: expected ‘,’
or ‘...’ before ‘*’ token
/usr/local/include/thrift/transport/TSocket.h:110: error: ‘uint32_t’
does not name a type
/usr/local/include/thrift/transport/TSocket.h:216: error: ISO C++
forbids declaration of ‘sockaddr’ with no type
/usr/local/include/thrift/transport/TSocket.h:216: error: expected ‘;’
before ‘*’ token
/usr/local/include/thrift/transport/TSocket.h:237: error: ISO C++
forbids declaration of ‘sockaddr’ with no type
/usr/local/include/thrift/transport/TSocket.h:237: error: expected ‘,’
or ‘...’ before ‘*’ token
/usr/local/include/thrift/transport/TSocket.h:290: error: ‘sockaddr_in’
does not name a type
/usr/local/include/thrift/transport/TSocket.h:291: error: ‘sockaddr_in6’
does not name a type
In file included from
/usr/local/include/thrift/transport/TTransportUtils.h:29,
from dbcassa_base.cpp:38:
/usr/local/include/thrift/transport/TBufferTransports.h:62: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TBufferTransports.h:75: error:
‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TBufferTransports.h:94: error: ISO
C++ forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TBufferTransports.h:94: error:
expected ‘,’ or ‘...’ before ‘*’ token
/usr/local/include/thrift/transport/TBufferTransports.h:107: error: ISO
C++ forbids declaration of ‘uint8_t’ with no type
/usr/local/include/thrift/transport/TBufferTransports.h:107: error:
expected ‘;’ before ‘*’ token
dbcassa_base.cpp:1031: error: expected ‘;’ at end of input
dbcassa_base.cpp:1031: error: expected ‘}’ at end of input
In file included from
/usr/local/include/thrift/transport/TTransportUtils.h:29,
from dbcassa_base.cpp:38:
/usr/local/include/thrift/transport/TBufferTransports.h: In member
function ‘void apache::thrift::transport::TBufferBase::write(int)’:
/usr/local/include/thrift/transport/TBufferTransports.h:95: error:
‘new_wBase’ was not declared in this scope
/usr/local/include/thrift/transport/TBufferTransports.h:95: error:
‘wBase_’ was not declared in this scope
/usr/local/include/thrift/transport/TBufferTransports.h:95: error: ‘len’
was not declared in this scope
/usr/local/include/thrift/transport/TBufferTransports.h:96: error:
‘wBound_’ was not declared in this scope
/usr/local/include/thrift/transport/TBufferTransports.h:97: error: ‘buf’
was not declared in this scope
/usr/local/include/thrift/transport/TBufferTransports.h:101: error:
‘buf’ was not declared in this scope
/usr/local/include/thrift/transport/TBufferTransports.h:101: error:
‘writeSlow’ was not declared in this scope
/usr/local/include/thrift/transport/TBufferTransports.h: At global scope:
/usr/local/include/thrift/transport/TBufferTransports.h:102: error:
expected unqualified-id at end of input
/usr/local/include/thrift/transport/TBufferTransports.h:102: error:
expected ‘}’ at end of input
/usr/local/include/thrift/transport/TBufferTransports.h:102: error:
expected ‘}’ at end of input
/usr/local/include/thrift/transport/TBufferTransports.h:102: error:
expected ‘}’ at end of input
make[1]: *** [dbcassa_base.o] Error 1
make: *** [install-modules] Error 1
thanks..... i already did. no bye is inserted to the DB. 2 invites for the
183 and 200, 1 ack, and that is it...
another idea? :-)
"
Hi,
set acc flag in local_route,
On Sat, Jan 21, 2012 at 1:08 PM, Uri Shacked <ushacked at
gmail.com<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>>
wrote:
"
>* Hi,
*>*
*>* i wonder, anyone has a good idea of how to set a flag, that will insert
*>* the bye kamailio created to end the dialog into the acc table?
*>* i am checking "early media", "cancel", "ack" etc.... but when kamaiilo
*>* creates the bye with the dlg_bye command, there is no acc raw for
that....
*>* i can create a sqlops and insert with the call's params... but there
must
*>* be a nicer way, no?
*>*
*>* BR,
*>* Uri
*>*
*
Hi,
I am doing an internal chaek right after the following:
"
...........
# account only INVITEs
if (is_method("INVITE"))
{
setflag(FLT_ACC); # do accounting
.............
"
sometimes this check does not find the conditions needed and creates a
sl_reply (404).
the scenario works OK. now, i need the acc tabale record.... should
probably be "INVITE".....""....... ""..... "404" .... "not found"....
well, there is no record there.
i tried the ACCFAILED flag as well, still does not work.
i guess it has something to do with the transaction stage....
so, any idea on how to get ACC record with the ACC module there?
BR,
Uri
Hi,
i wonder, anyone has a good idea of how to set a flag, that will insert the
bye kamailio created to end the dialog into the acc table?
i am checking "early media", "cancel", "ack" etc.... but when kamaiilo
creates the bye with the dlg_bye command, there is no acc raw for that....
i can create a sqlops and insert with the call's params... but there must
be a nicer way, no?
BR,
Uri
Sirs:
Our SIP service with you (pbx(a)iptel.org) is not connecting to the VoIP Provider we installed. It was working until today...
What can we do to fix this?
Frank Riley, CTO
IPANGov
www.IPANGov.edu.tc
Hi All,
Tuning my homer capture server and ran into a syntax error in the
onreply_route. The idea is to NOT to capture
NOTIFY|SUBSCRIBE|OPTIONS. The route block compiles ok but I get the
following errors for the lines in the onreply_route:
0(6443) : <core> [cfg.y:3504]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 48, column 46: syntax error
0(6443) : <core> [cfg.y:3504]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 49, column 15: bad
expression
0(6443) : <core> [cfg.y:3504]: parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 49, column 16:
ERROR: bad config file (3 errors)
route {
if (!(method =~ "^(NOTIFY|SUBSCRIBE|OPTIONS)")) {
sip_capture();
}
exit;
}
47 onreply_route {
48 if (!($rm =~ "^(NOTIFY|SUBSCRIBE|OPTIONS)") {
49 sip_capture();
50 }
51 drop;
52 }
This example was used from the homer wiki
http://code.google.com/p/homer/wiki/Kamailio
root@homer:/etc/kamailio# kamailio -V
version: kamailio 3.2.1 (x86_64/linux) bee094
Any guidance is appreciated.
Thanks.
JR
--
JR Richardson
Engineering for the Masses
Hi all,
I need group-based routing, that is I want a routing table for each type
of subscriber (residential, business,...).
I have seen that Drouting does it throught groupID and I'm wondering
about the same behaviour with carrierroute module (as LCR uses only flat
costs).
Can the "carrier" parameter be the right way to do it? I have no special
requirement about the number of routes.
However, Is the DRouting actively maintained?
Regards,
Hi Team,
I am unable to call other iptel users and my voice mail is not working . Would you be able to help me on this ?
my user id is praseeth.panicker
Regards,
Praseeth
Hi,
I am using the nat_keepalive function of the nat_traversal module, using
the OPTIONS message, and my code is the following :
if (is_method("REGISTER"))
nat_keepalive();
I see that Kamailio still sends OPTIONS packets even if the client
unregisters itself.
It stops later, but I don't know when exactly.
Is that a normal behaviour? What is the keepalive timeout?
Why doesn't Kamailio remove the client from its keepalive list if it
unregisters and is no more in the user location?
And is there a way to remove a contact from the user location if it doesn't
respond to keepalive packets?
Thanks
Reda