Bug #1018
closederror on building ceph on red hat 5.5
0%
Description
building ceph on rh 5.5 i have obtained this error.
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -Wnon-virtual-dtor -DUSE_BOOST_SPIRIT_OLD_HDR -g -MT ceph-common.o -MD -MP -MF ".deps/ceph-common.Tpo" -c -o ceph-common.o `test -f 'tools/common.cc' || echo './'`tools/common.cc; \
then mv -f ".deps/ceph-common.Tpo" ".deps/ceph-common.Po"; else rm -f ".deps/ceph-common.Tpo"; exit 1; fi
tools/common.cc:53: error: expected initializer before ‘*’ token
tools/common.cc: In function ‘int run_command(const char*)’:
tools/common.cc:424: error: ‘tok’ was not declared in this scope
tools/common.cc:424: error: ‘tok_str’ was not declared in this scope
tools/common.cc:425: error: ‘tok_reset’ was not declared in this scope
tools/common.cc: In function ‘int ceph_tool_common_init(ceph_tool_mode_t)’:
tools/common.cc:552: error: ‘tok’ was not declared in this scope
tools/common.cc:552: error: ‘tok_init’ was not declared in this scope
tools/common.cc: In function ‘int ceph_tool_common_shutdown()’:
tools/common.cc:592: error: ‘tok’ was not declared in this scope
tools/common.cc:592: error: ‘tok_end’ was not declared in this scope
make3: * [ceph-common.o] Error 1
make3: Leaving directory `/usr/local/ceph-0.26/src'
make2: [all-recursive] Error 1
make2: Leaving directory `/usr/local/ceph-0.26/src'
make1: [all] Error 2
make1: Leaving directory `/usr/local/ceph-0.26/src'
make: * [all-recursive] Error 1
someone can help me ?
Andrea Migliore