Skip to content

Instantly share code, notes, and snippets.

@kisabaka
Created February 7, 2012 08:50
Show Gist options
  • Save kisabaka/1758352 to your computer and use it in GitHub Desktop.
Save kisabaka/1758352 to your computer and use it in GitHub Desktop.
make all-recursive
make[1]: Entering directory `/home/doug/repos/facebook/scribe'
Making all in .
make[2]: Entering directory `/home/doug/repos/facebook/scribe'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/doug/repos/facebook/scribe'
Making all in src
make[2]: Entering directory `/home/doug/repos/facebook/scribe/src'
/usr/local/bin/thrift -o . -I /usr/local/share/ --gen cpp:pure_enums --gen py --gen php --gen java ../if/scribe.thrift
/usr/local/bin/thrift -o . -I /usr/local/share/ --gen cpp:pure_enums --gen py --gen php --gen java ../if/bucketupdater.thrift
make all-am
make[3]: Entering directory `/home/doug/repos/facebook/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 gen-cpp/scribe.h:11,
from gen-cpp/scribe.cpp:7:
gen-cpp/scribe_types.h:15:25: error: fb303_types.h: No such file or directory
In file included from gen-cpp/scribe.cpp:7:
gen-cpp/scribe.h:12:29: error: FacebookService.h: No such file or directory
In file included from /usr/local/include/thrift/protocol/TProtocol.h:23,
from /usr/local/include/thrift/TProcessor.h:24,
from gen-cpp/scribe.h:10,
from gen-cpp/scribe.cpp:7:
/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/TProcessor.h:24,
from gen-cpp/scribe.h:10,
from gen-cpp/scribe.cpp:7:
/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 gen-cpp/scribe.h:10,
from gen-cpp/scribe.cpp:7:
/usr/local/include/thrift/TProcessor.h:72: error: ‘uint32_t’ has not been declared
/usr/local/include/thrift/TProcessor.h:89: error: ‘uint32_t’ has not been declared
In file included from gen-cpp/scribe_types.h:11,
from gen-cpp/scribe.h:11,
from gen-cpp/scribe.cpp:7:
/usr/local/include/thrift/TApplicationException.h:94: error: ‘uint32_t’ does not name a type
/usr/local/include/thrift/TApplicationException.h:95: error: ‘uint32_t’ does not name a type
In file included from gen-cpp/scribe.h:11,
from gen-cpp/scribe.cpp:7:
gen-cpp/scribe_types.h:37: error: ‘uint8_t’ does not name a type
In file included from gen-cpp/scribe.h:11,
from gen-cpp/scribe.cpp:7:
gen-cpp/scribe_types.h:71: error: ‘uint32_t’ does not name a type
gen-cpp/scribe_types.h:72: error: ‘uint32_t’ does not name a type
In file included from gen-cpp/scribe.cpp:7:
gen-cpp/scribe.h:16: error: ‘::facebook’ has not been declared
gen-cpp/scribe.h:16: error: expected ‘{’ before ‘FacebookServiceIf’
gen-cpp/scribe.h:16: error: invalid type in declaration before ‘{’ token
gen-cpp/scribe.h:16: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
gen-cpp/scribe.h:17: error: expected primary-expression before ‘public’
gen-cpp/scribe.h:17: error: expected ‘}’ before ‘public’
gen-cpp/scribe.h:17: error: expected ‘,’ or ‘;’ before ‘public’
gen-cpp/scribe.h:19: error: ‘virtual’ outside class declaration
gen-cpp/scribe.h:19: error: function ‘scribe::thrift::ResultCode scribe::thrift::Log(const std::vector<scribe::thrift::LogEntry, std::allocator<scribe::thrift::LogEntry> >&)’ is initialized like a variable
gen-cpp/scribe.h:22: error: ‘::facebook’ has not been declared
gen-cpp/scribe.h:22: error: expected ‘{’ before ‘FacebookServiceIfFactory’
gen-cpp/scribe.h:22: error: invalid type in declaration before ‘{’ token
gen-cpp/scribe.h:22: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
gen-cpp/scribe.h:23: error: expected primary-expression before ‘public’
gen-cpp/scribe.h:23: error: expected ‘}’ before ‘public’
gen-cpp/scribe.h:23: error: expected ‘,’ or ‘;’ before ‘public’
gen-cpp/scribe.h:26: error: declaration of ‘~scribe::scribeIfFactory’ as non-member
gen-cpp/scribe.h:28: error: expected initializer before ‘*’ token
gen-cpp/scribe.h:29: error: ‘virtual’ outside class declaration
gen-cpp/scribe.h:29: error: variable or field ‘releaseHandler’ declared void
gen-cpp/scribe.h:29: error: ‘::facebook’ has not been declared
gen-cpp/scribe.h:29: error: expected primary-expression before ‘)’ token
gen-cpp/scribe.h:32: error: expected class-name before ‘{’ token
gen-cpp/scribe.h:34: error: ‘scribeIf’ was not declared in this scope
gen-cpp/scribe.h:34: error: template argument 1 is invalid
gen-cpp/scribe.h:37: error: ISO C++ forbids declaration of ‘scribeIf’ with no type
gen-cpp/scribe.h:37: error: ‘scribeIf’ declared as a ‘virtual’ field
gen-cpp/scribe.h:37: error: expected ‘;’ before ‘*’ token
gen-cpp/scribe.h:40: error: expected ‘;’ before ‘virtual’
gen-cpp/scribe.h:40: error: ‘::facebook’ has not been declared
gen-cpp/scribe.h:40: error: expected ‘,’ or ‘...’ before ‘*’ token
gen-cpp/scribe.h:43: error: ‘scribeIf’ was not declared in this scope
gen-cpp/scribe.h:43: error: template argument 1 is invalid
gen-cpp/scribe.h:46: error: expected class-name before ‘,’ token
gen-cpp/scribe.h:46: error: ‘::facebook’ has not been declared
gen-cpp/scribe.h:46: error: expected ‘{’ before ‘FacebookServiceNull’
gen-cpp/scribe.h:46: error: invalid type in declaration before ‘{’ token
gen-cpp/scribe.h:46: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
gen-cpp/scribe.h:47: error: expected primary-expression before ‘public’
gen-cpp/scribe.h:47: error: expected ‘}’ before ‘public’
gen-cpp/scribe.h:47: error: expected ‘,’ or ‘;’ before ‘public’
gen-cpp/scribe.h:49: error: ‘ResultCode’ does not name a type
gen-cpp/scribe.h:53: error: expected declaration before ‘}’ token
make[3]: *** [scribe.o] Error 1
make[3]: Leaving directory `/home/doug/repos/facebook/scribe/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/doug/repos/facebook/scribe/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/doug/repos/facebook/scribe'
make: *** [all] Error 2
@yerriswamy
Copy link

Hi this is Swamy,i got error while making fb303.here i am sending my error.pls help me on this issue.
Scribe Installation:


1.libevent,libevent-devel
2.boost
3.thrift
4.fb303
5.scribe
the above steps i followed.

Got error like below:


[root@master fb303]# make
make all-recursive
make[1]: Entering directory /opt/scribe/thrift-0.6.0/contrib/fb303' Making all in . make[2]: Entering directory/opt/scribe/thrift-0.6.0/contrib/fb303'
make[2]: Nothing to be done for all-am'. make[2]: Leaving directory/opt/scribe/thrift-0.6.0/contrib/fb303'
Making all in cpp
make[2]: Entering directory /opt/scribe/thrift-0.6.0/contrib/fb303/cpp' make all-am make[3]: Entering directory/opt/scribe/thrift-0.6.0/contrib/fb303/cpp'
g++ -DPACKAGE_NAME="libfb303" -DPACKAGE_TARNAME="libfb303" -DPACKAGE_VERSION="20080209" -DPACKAGE_STRING="libfb303\ 20080209" -DPACKAGE_BUGREPORT="" -DHAVE_BOOST=/**/ -I. -I.. -Igen-cpp -I/usr/local/include/thrift -I/usr/include -Wall -O3 -MT fb303_types.o -MD -MP -MF .deps/fb303_types.Tpo -c -o fb303_types.o test -f 'gen-cpp/fb303_types.cpp' || echo './'gen-cpp/fb303_types.cpp
gen-cpp/fb303_types.cpp:11: error: ‘fb_status’ is not a class or namespace
gen-cpp/fb303_types.cpp:12: error: ‘fb_status’ is not a class or namespace
gen-cpp/fb303_types.cpp:13: error: ‘fb_status’ is not a class or namespace
gen-cpp/fb303_types.cpp:14: error: ‘fb_status’ is not a class or namespace
gen-cpp/fb303_types.cpp:15: error: ‘fb_status’ is not a class or namespace
gen-cpp/fb303_types.cpp:16: error: ‘fb_status’ is not a class or namespace
make[3]: *** [fb303_types.o] Error 1
make[3]: Leaving directory /opt/scribe/thrift-0.6.0/contrib/fb303/cpp' make[2]: *** [all] Error 2 make[2]: Leaving directory/opt/scribe/thrift-0.6.0/contrib/fb303/cpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/scribe/thrift-0.6.0/contrib/fb303'
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment