I try to build scribe-server rpm, but cannot compile it.
make[3]: Entering directory `/home/linko/rpmbuild/BUILD/scribe-2.2-1/src'
g++ -DPACKAGE_NAME=\"scribe\" -DPACKAGE_TARNAME=\"scribe\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"scribe\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scribe\" -DVERSION=\"1.5.0\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -I. -DHAVE_NETINET_IN_H -DHAVE_INTTYPES_H -I.. -I/usr/include -I/usr/include/thrift -I/usr/include/thrift -I/usr/include/thrift/fb303 -I/usr/local/include -I/usr/include -Wall -O3 -MT store.o -MD -MP -MF .deps/store.Tpo -c -o store.o store.cpp
g++ -DPACKAGE_NAME=\"scribe\" -DPACKAGE_TARNAME=\"scribe\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"scribe\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scribe\" -DVERSION=\"1.5.0\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -I. -DHAVE_NETINET_IN_H -DHAVE_INTTYPES_H -I.. -I/usr/include -I/usr/include/thrift -I/usr/include/thrift -I/usr/include/thrift/fb303 -I/usr/local/include -I/usr/include -Wall -O3 -MT store_queue.o -MD -MP -MF .deps/store_queue.Tpo -c -o store_queue.o store_queue.cpp
g++ -DPACKAGE_NAME=\"scribe\" -DPACKAGE_TARNAME=\"scribe\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"scribe\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scribe\" -DVERSION=\"1.5.0\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -I. -DHAVE_NETINET_IN_H -DHAVE_INTTYPES_H -I.. -I/usr/include -I/usr/include/thrift -I/usr/include/thrift -I/usr/include/thrift/fb303 -I/usr/local/include -I/usr/include -Wall -O3 -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.cpp
g++ -DPACKAGE_NAME=\"scribe\" -DPACKAGE_TARNAME=\"scribe\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"scribe\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scribe\" -DVERSION=\"1.5.0\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -I. -DHAVE_NETINET_IN_H -DHAVE_INTTYPES_H -I.. -I/usr/include -I/usr/include/thrift -I/usr/include/thrift -I/usr/include/thrift/fb303 -I/usr/local/include -I/usr/include -Wall -O3 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.cpp
In file included from env_default.h:39,
from common.h:57,
from store.cpp:28:
../src/gen-cpp/scribe.h:22: error: expected class-name before '{' token
In file included from env_default.h:39,
from common.h:57,
from store_queue.cpp:24:
../src/gen-cpp/scribe.h:22: error: expected class-name before '{' token
In file included from env_default.h:39,
from common.h:57,
from file.cpp:22:
../src/gen-cpp/scribe.h:22: error: expected class-name before '{' token
store.cpp: In member function 'void BufferStore::setNewRetryInterval(bool)':
store.cpp:1678: warning: comparison between signed and unsigned integer expressions
store.cpp:1690: warning: comparison between signed and unsigned integer expressions
store.h: In constructor 'NetworkStore::NetworkStore(StoreQueue*, const std::string&, bool)':
store.h:407: warning: 'NetworkStore::opened' will be initialized after
store.h:401: warning: 'time_t NetworkStore::lastServiceCheck'
store.cpp:1738: warning: when initialized here
In file included from env_default.h:39,
from common.h:57,
from conf.cpp:23:
../src/gen-cpp/scribe.h:22: error: expected class-name before '{' token
conf.cpp: In member function 'std::ostream& StoreConf::print(std::ostream&, uint32_t, bool, uint32_t) const':
conf.cpp:313: warning: unused variable 'len'
make[3]: *** [file.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [store_queue.o] Error 1
make[3]: *** [store.o] Error 1
make[3]: *** [conf.o] Error 1
make[3]: Leaving directory `/home/linko/rpmbuild/BUILD/scribe-2.2-1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/linko/rpmbuild/BUILD/scribe-2.2-1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linko/rpmbuild/BUILD/scribe-2.2-1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.UixGXH (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.UixGXH (%build)