centos6.5安装thrift报错
哈德大大 2017-01-23 03:47:34 libtool: link: ( cd ".libs" && rm -f "libthrift.la" && ln -s "../libthrift.la" "libthrift.la" )
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I../../lib/c_glib/src/thrift -I/usr/local/include -I./src -D__STDC_LIMIT_MACROS -Wall -Wextra -pedantic -g -O2 -std=c++11 -MT src/thrift/server/libthriftnb_la-TNonblockingServer.lo -MD -MP -MF src/thrift/server/.deps/libthriftnb_la-TNonblockingServer.Tpo -c -o src/thrift/server/libthriftnb_la-TNonblockingServer.lo `test -f 'src/thrift/server/TNonblockingServer.cpp' || echo './'`src/thrift/server/TNonblockingServer.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I../../lib/c_glib/src/thrift -I/usr/local/include -I./src -D__STDC_LIMIT_MACROS -Wall -Wextra -pedantic -g -O2 -std=c++11 -MT src/thrift/server/libthriftnb_la-TNonblockingServer.lo -MD -MP -MF src/thrift/server/.deps/libthriftnb_la-TNonblockingServer.Tpo -c src/thrift/server/TNonblockingServer.cpp -fPIC -DPIC -o src/thrift/server/.libs/libthriftnb_la-TNonblockingServer.o
src/thrift/server/TNonblockingServer.cpp: 在成员函数‘void apache::thrift::server::TNonblockingServer::TConnection::workSocket()’中:
src/thrift/server/TNonblockingServer.cpp:460:16: 错误:expected ‘)’ before ‘PRIu32’
"(%" PRIu32 " > %" PRIu64
^
make[3]: *** [src/thrift/server/libthriftnb_la-TNonblockingServer.lo] 错误 1
make[3]: Leaving directory `/home/soft/thrift/lib/cpp'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/soft/thrift/lib/cpp'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/soft/thrift'
make: *** [all] 错误 2