You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2012/10/07 21:52:03 UTC
[jira] [Resolved] (THRIFT-1576) uint32_t used without including
[ https://issues.apache.org/jira/browse/THRIFT-1576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-1576.
---------------------------------
Resolution: Fixed
fixed by THRIFT-1326
please reopen the issue if not!
> uint32_t used without including <stdint.h>
> ------------------------------------------
>
> Key: THRIFT-1576
> URL: https://issues.apache.org/jira/browse/THRIFT-1576
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Compiler, C++ - Library
> Affects Versions: 0.9
> Environment: Ubuntu 11.10, Latest thrift source code
> Reporter: MXI MXI
> Labels: build-failure, c++, cpp, fb303
> Attachments: fb303_make.txt
>
>
> I need to build Scribe and one of its dependencies is fb303. I built fb303 inside latest thrift code "contrib/fb303" and encountered many errors.
> It is similar to THRIFT-1060.
> The steps to recreate:
> ./bootstrap.sh
> ./configure *--without-ruby* (Since I met THRIFT-1367 and couldn't overcome it)
> make
> sudo make install
> cd contrib/fb303
> ./bootstrap.sh
> ./configure
> make
> Fail with multitude of errors.
> {quote}
> gen-cpp/FacebookService.cpp:3146:8: error: 'class facebook::fb303::FacebookService_reinitialize_args' has no member named 'read'
> gen-cpp/FacebookService.cpp:3147:10: error: 'class apache::thrift::protocol::TProtocol' has no member named 'readMessageEnd'
> gen-cpp/FacebookService.cpp:3148:3: error: 'uint32_t' was not declared in this scope
> gen-cpp/FacebookService.cpp:3148:12: error: expected ';' before 'bytes'
> gen-cpp/FacebookService.cpp:3151:72: error: 'bytes' was not declared in this scope
> gen-cpp/FacebookService.cpp: In member function 'void facebook::fb303::FacebookServiceProcessor::process_shutdown(int32_t, apache::thrift::protocol::TProtocol*, apache::thrift::protocol::TProtocol*, void*)':
> gen-cpp/FacebookService.cpp:3183:8: error: 'class facebook::fb303::FacebookService_shutdown_args' has no member named 'read'
> gen-cpp/FacebookService.cpp:3184:10: error: 'class apache::thrift::protocol::TProtocol' has no member named 'readMessageEnd'
> gen-cpp/FacebookService.cpp:3185:3: error: 'uint32_t' was not declared in this scope
> gen-cpp/FacebookService.cpp:3185:12: error: expected ';' before 'bytes'
> gen-cpp/FacebookService.cpp:3188:68: error: 'bytes' was not declared in this scope
> make[3]: *** [FacebookService.o] Error 1
> make[3]: Leaving directory `/home/mxiixm/dev/thrift/trunk/contrib/fb303/cpp'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/mxiixm/dev/thrift/trunk/contrib/fb303/cpp'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mxiixm/dev/thrift/trunk/contrib/fb303'
> make: *** [all] Error 2
> {quote}
> Please see the attached log file for more details.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira