Project

General

Profile

Actions

Bug #1018

closed

error on building ceph on red hat 5.5

Added by m6 m6 almost 13 years ago. Updated almost 13 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions #1

Updated by m6 m6 almost 13 years ago

I have had the same problem using 0,27 version.
The problem seems to be in libedit.
i have user libedit from RPMforge.
if i Download libedit from your site, cannot build libedit.a version.

Help !!
There is anybody outhere that can help me ?

Andrea

Actions #2

Updated by Sage Weil almost 13 years ago

  • Target version set to v0.30

Does this problem still exists on v0.28+? Have you looked at the redhat info in the wiki?

http://ceph.newdream.net/wiki/Installing_on_RedHat_or_CentOS

Is there information there that's out of date or incomplete?

Actions #3

Updated by Sage Weil almost 13 years ago

  • Target version changed from v0.30 to v0.31
Actions #4

Updated by Sage Weil almost 13 years ago

  • Status changed from New to Can't reproduce
Actions #5

Updated by Sage Weil almost 13 years ago

  • Target version changed from v0.31 to v0.32
Actions #6

Updated by Sage Weil almost 13 years ago

  • Target version changed from v0.32 to v0.31
  • Translation missing: en.field_position set to 723
Actions

Also available in: Atom PDF