Scribe compilation error in Ubuntu 12.04

1,161 views
Skip to first unread message

Phaneendra Hegde

unread,
Jul 16, 2012, 4:43:11 AM7/16/12
to scribe...@googlegroups.com
Hi All,

I'm new to scribe and trying to compile it in my ubuntu12.04 EC2 instance. I could able to install thrift successfully. But scribe is giving following error. I was following this tutorial. http://vccv.posterous.com/installing-thrift-scribe-on-ubuntu-lucid-1004 

If you can guide me to get rid of this error, that would be really helpful. 
Thanks a lot :)

Error Log --- 

root@ec2:/home/ubuntu/scribe# make
make  all-recursive
make[1]: Entering directory `/home/ubuntu/scribe'
Making all in .
make[2]: Entering directory `/home/ubuntu/scribe'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ubuntu/scribe'
Making all in src
make[2]: Entering directory `/home/ubuntu/scribe/src'
make  all-am
make[3]: Entering directory `/home/ubuntu/scribe/src'
g++ -DPACKAGE_NAME=\"scribe\" -DPACKAGE_TARNAME=\"scribe\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"scribe\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"scribe\" -DVERSION=\"1.5.0\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -I.  -I.. -I/usr/local/include -I/usr/local/include/thrift -I/usr/local/include/thrift -I/usr/local/include/thrift/fb303 -I/usr/local/include -I/usr/include     -Wall -O3 -MT scribe.o -MD -MP -MF .deps/scribe.Tpo -c -o scribe.o `test -f 'gen-cpp/scribe.cpp' || echo './'`gen-cpp/scribe.cpp
In file included from /usr/local/include/thrift/protocol/TProtocol.h:23:0,
                 from /usr/local/include/thrift/TProcessor.h:24,
                 from /usr/local/include/thrift/TDispatchProcessor.h:22,
                 from gen-cpp/scribe.h:10,
                 from gen-cpp/scribe.cpp:7:
/usr/local/include/thrift/transport/TTransport.h:34:1: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:107:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:111:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:124:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:128:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:139:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:156:20: error: ‘uint8_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:156:34: error: ‘uint32_t’ has not been declared
/usr/local/include/thrift/transport/TTransport.h:160:33: error: ‘uint8_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:160:53: error: ‘uint32_t’ has not been declared
/usr/local/include/thrift/transport/TTransport.h:172:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:214:9: error: ‘uint8_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:218:17: error: ‘uint8_t’ does not name a type
/usr/local/include/thrift/transport/TTransport.h:231:16: error: ‘uint32_t’ has not been declared
/usr/local/include/thrift/transport/TTransport.h:235:29: error: ‘uint32_t’ has not been declared
In file included from /usr/local/include/thrift/TProcessor.h:24:0,
                 from /usr/local/include/thrift/TDispatchProcessor.h:22,
                 from gen-cpp/scribe.h:10,
                 from gen-cpp/scribe.cpp:7:
/usr/local/include/thrift/protocol/TProtocol.h:184:1: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:305:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:309:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:312:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:314:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:316:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:320:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:322:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:324:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:328:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:330:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:333:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:335:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:338:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:340:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:342:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:344:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:346:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:348:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:350:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:352:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:354:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:356:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:363:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:369:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:374:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:379:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:386:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:391:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:396:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:403:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:408:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:413:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:418:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:423:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:428:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:433:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:438:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:443:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:448:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:453:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:458:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:463:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:472:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:476:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:478:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:480:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:482:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:486:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:488:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:492:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:494:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:497:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:499:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:502:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:504:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:506:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:508:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:510:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:512:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:514:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:516:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:518:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:520:11: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:522:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:529:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:534:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:539:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:544:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:551:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:556:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:561:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:566:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:571:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:576:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:581:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:586:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:591:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:596:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:601:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:606:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:611:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:616:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:621:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:631:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:639:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/protocol/TProtocol.h:643:11: error: ‘uint32_t’ does not name a type
In file included from /usr/local/include/thrift/TDispatchProcessor.h:22:0,
                 from gen-cpp/scribe.h:10,
                 from gen-cpp/scribe.cpp:7:
/usr/local/include/thrift/TProcessor.h:72:57: error: ‘uint32_t’ has not been declared
/usr/local/include/thrift/TProcessor.h:89:58: error: ‘uint32_t’ has not been declared
In file included from gen-cpp/scribe.h:10:0,
                 from gen-cpp/scribe.cpp:7:
/usr/local/include/thrift/TDispatchProcessor.h: In member function ‘virtual bool apache::thrift::TDispatchProcessorT<Protocol_>::process(boost::shared_ptr<apache::thrift::protocol::TProtocol>, boost::shared_ptr<apache::thrift::protocol::TProtocol>, void*)’:
/usr/local/include/thrift/TDispatchProcessor.h:55:12: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘readMessageBegin’
/usr/local/include/thrift/TDispatchProcessor.h: In member function ‘virtual bool apache::thrift::TDispatchProcessor::process(boost::shared_ptr<apache::thrift::protocol::TProtocol>, boost::shared_ptr<apache::thrift::protocol::TProtocol>, void*)’:
/usr/local/include/thrift/TDispatchProcessor.h:113:9: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘readMessageBegin’
In file included from gen-cpp/scribe_types.h:11:0,
                 from gen-cpp/scribe.h:11,
                 from gen-cpp/scribe.cpp:7:
/usr/local/include/thrift/TApplicationException.h: At global scope:
/usr/local/include/thrift/TApplicationException.h:94:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/TApplicationException.h:95:3: error: ‘uint32_t’ does not name a type
In file included from gen-cpp/scribe.h:11:0,
                 from gen-cpp/scribe.cpp:7:
gen-cpp/scribe_types.h:37:16: error: ‘uint8_t’ does not name a type
In file included from gen-cpp/scribe.h:11:0,
                 from gen-cpp/scribe.cpp:7:
gen-cpp/scribe_types.h:71:3: error: ‘uint32_t’ does not name a type
gen-cpp/scribe_types.h:72:3: error: ‘uint32_t’ does not name a type
In file included from gen-cpp/scribe.h:12:0,
                 from gen-cpp/scribe.cpp:7:
/usr/local/include/thrift/fb303/FacebookService.h:124:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:125:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:137:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:174:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:175:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:194:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:218:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:219:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:231:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:268:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:269:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:288:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:312:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:313:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:325:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:362:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:363:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:382:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:406:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:407:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:419:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:456:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:457:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:476:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:500:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:501:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:513:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:550:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:551:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:570:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:607:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:608:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:621:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:658:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:659:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:678:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:723:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:724:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:738:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:762:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:763:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:775:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:812:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:813:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:826:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:863:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:864:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:883:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:907:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:908:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:920:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:957:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:958:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:977:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1014:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1015:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1028:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1065:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1066:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1085:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1109:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1110:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1122:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1159:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1160:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1179:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1203:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1204:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1216:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1240:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1241:3: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/fb303/FacebookService.h:1253:3: error: ‘uint32_t’ does not name a type
In file included from gen-cpp/scribe.cpp:7:0:
gen-cpp/scribe.h:88:3: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.h:89:3: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.h:102:3: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.h:139:3: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.h:140:3: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.h:159:3: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.cpp:11:1: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.cpp:63:1: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.cpp:84:1: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.cpp:105:1: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.cpp:147:1: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.cpp:163:1: error: ‘uint32_t’ does not name a type
gen-cpp/scribe.cpp: In member function ‘void scribe::thrift::scribeClient::send_Log(const std::vector<scribe::thrift::LogEntry>&)’:
gen-cpp/scribe.cpp:214:11: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘writeMessageBegin’
gen-cpp/scribe.cpp:218:8: error: ‘class scribe::thrift::scribe_Log_pargs’ has no member named ‘write’
gen-cpp/scribe.cpp:220:11: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘writeMessageEnd’
gen-cpp/scribe.cpp:221:27: error: ‘class apache::thrift::transport::TTransport’ has no member named ‘writeEnd’
gen-cpp/scribe.cpp: In member function ‘scribe::thrift::ResultCode scribe::thrift::scribeClient::recv_Log()’:
gen-cpp/scribe.cpp:232:11: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘readMessageBegin’
gen-cpp/scribe.cpp:235:7: error: ‘class apache::thrift::TApplicationException’ has no member named ‘read’
gen-cpp/scribe.cpp:236:13: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘readMessageEnd’
gen-cpp/scribe.cpp:237:29: error: ‘class apache::thrift::transport::TTransport’ has no member named ‘readEnd’
gen-cpp/scribe.cpp:241:13: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘skip’
gen-cpp/scribe.cpp:242:13: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘readMessageEnd’
gen-cpp/scribe.cpp:243:29: error: ‘class apache::thrift::transport::TTransport’ has no member named ‘readEnd’
gen-cpp/scribe.cpp:246:13: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘skip’
gen-cpp/scribe.cpp:247:13: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘readMessageEnd’
gen-cpp/scribe.cpp:248:29: error: ‘class apache::thrift::transport::TTransport’ has no member named ‘readEnd’
gen-cpp/scribe.cpp:253:10: error: ‘class scribe::thrift::scribe_Log_presult’ has no member named ‘read’
gen-cpp/scribe.cpp:254:11: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘readMessageEnd’
gen-cpp/scribe.cpp:255:27: error: ‘class apache::thrift::transport::TTransport’ has no member named ‘readEnd’
gen-cpp/scribe.cpp: In member function ‘void scribe::thrift::scribeProcessor::process_Log(int32_t, apache::thrift::protocol::TProtocol*, apache::thrift::protocol::TProtocol*, void*)’:
gen-cpp/scribe.cpp:286:8: error: ‘class scribe::thrift::scribe_Log_args’ has no member named ‘read’
gen-cpp/scribe.cpp:287:10: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘readMessageEnd’
gen-cpp/scribe.cpp:288:3: error: ‘uint32_t’ was not declared in this scope
gen-cpp/scribe.cpp:288:12: error: expected ‘;’ before ‘bytes’
gen-cpp/scribe.cpp:291:54: error: ‘bytes’ was not declared in this scope
gen-cpp/scribe.cpp:304:12: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘writeMessageBegin’
gen-cpp/scribe.cpp:305:7: error: ‘class apache::thrift::TApplicationException’ has no member named ‘write’
gen-cpp/scribe.cpp:306:12: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘writeMessageEnd’
gen-cpp/scribe.cpp:307:28: error: ‘class apache::thrift::transport::TTransport’ has no member named ‘writeEnd’
gen-cpp/scribe.cpp:316:10: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘writeMessageBegin’
gen-cpp/scribe.cpp:317:10: error: ‘class scribe::thrift::scribe_Log_result’ has no member named ‘write’
gen-cpp/scribe.cpp:318:10: error: ‘class apache::thrift::protocol::TProtocol’ has no member named ‘writeMessageEnd’
gen-cpp/scribe.cpp:319:3: error: ‘bytes’ was not declared in this scope
gen-cpp/scribe.cpp:319:34: error: ‘class apache::thrift::transport::TTransport’ has no member named ‘writeEnd’
make[3]: *** [scribe.o] Error 1
make[3]: Leaving directory `/home/ubuntu/scribe/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ubuntu/scribe/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/scribe'
make: *** [all] Error 2

ballbillow

unread,
Jul 16, 2012, 12:43:42 PM7/16/12
to scribe-server
You can solve it by:
./configure CPPFLAGS="-DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H"
 

ballbillow

sinol...@gmail.com

unread,
Apr 10, 2013, 3:51:01 AM4/10/13
to scribe...@googlegroups.com, ballbillow
thanks this information is useful

在 2012年7月17日星期二UTC+8上午12时43分42秒,ballbillow写道:

Reply all
Reply to author
Forward
0 new messages