Problem building 3.3.94

Nick Savoiu savoiu at yahoo.com
Tue Dec 19 22:22:31 UTC 2006


I've downloaded and I'm attempting to build 3.3.94 on RedHat 7.2 using gcc 3.2.3 .

I've fixed some small compilation issues along the way (e.g. needed #include <stype.h> in astyle.h>, etc) but now I'm stuck at the following error and it's not clear to me how to fix it.

Any help would be appreciated since I'm trying to move up from 3.3.91.

Thanks,
Nick

make[4]: Entering directory `/home/nick/projects/kdevelop-3.3.94/languages/cpp'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../languages/lib/designer_integration -I.$
then mv -f ".deps/libkdevcppsupport_la.all_cpp.Tpo" ".deps/libkdevcppsupport_la.all_cpp.Plo"; else rm -f ".deps/libkdevcppsupport_la.all_cpp.$
In file included from cppcodecompletion.cpp:32,
                 from libkdevcppsupport_la.all_cpp.cpp:11:
../../lib/cppparser/lexer.h: In function `bool isTodo(const QString&, int)':
../../lib/cppparser/lexer.h:577: warning: comparison between signed and
   unsigned integer expressions
../../lib/cppparser/lexer.h: In function `bool isFixme(const QString&, int)':
../../lib/cppparser/lexer.h:585: warning: comparison between signed and
   unsigned integer expressions
In file included from computerecoverypoints.h:27,
                 from cppcodecompletion.cpp:70,
                 from libkdevcppsupport_la.all_cpp.cpp:11:
simpletype.h: In member function `SimpleTypeImpl::TypeOfResult::operator
   TypeDesc()':
simpletype.h:662: warning: choosing `LocateResult::operator TypeDesc&()' over `
   LocateResult::operator const TypeDesc&() const'
simpletype.h:662: warning:   for conversion from `LocateResult' to `TypeDesc'
simpletype.h:662: warning:   because conversion sequence for the argument is
   better
In file included from computerecoverypoints.h:28,
                 from cppcodecompletion.cpp:70,
                 from libkdevcppsupport_la.all_cpp.cpp:11:
simpletypenamespace.h: In copy constructor
   `SimpleTypeNamespace::SimpleTypeNamespace(const SimpleTypeNamespace&)':
simpletypenamespace.h:116: warning: base class `class SimpleTypeImpl' should be
   explicitly initialized in the copy constructor
In file included from libkdevcppsupport_la.all_cpp.cpp:11:
cppcodecompletion.cpp: In member function `SimpleContext*
   CppCodeCompletion::computeFunctionContext(KSharedPtr<FunctionModel>, int,
   int, SimpleTypeConfiguration&)':
cppcodecompletion.cpp:1701: warning: unused variable `
   RecoveryPoint*recoveryPoint'
In file included from libkdevcppsupport_la.all_cpp.cpp:11:
cppcodecompletion.cpp: In member function `void
   CppCodeCompletion::completeText(bool)':
cppcodecompletion.cpp:2181: warning: comparison between signed and unsigned
   integer expressions
In file included from libkdevcppsupport_la.all_cpp.cpp:11:
cppcodecompletion.cpp: In member function `QString
   CppCodeCompletion::commentFromTag(const SimpleType&, Tag&)':
cppcodecompletion.cpp:3338: warning: unused variable `CppVariable<Tag> var'
cppcodecompletion.cpp:3344: warning: unused variable `CppVariable<Tag> var'
In file included from libkdevcppsupport_la.all_cpp.cpp:11:
cppcodecompletion.cpp: In member function `void
   CppCodeCompletion::computeCompletionEntryList(SimpleType,
   QValueList<CodeCompletionEntry>&, const QStringList&, SimpleTypeNamespace*,
   std::set<HashedString, std::less<HashedString>, std::allocator<HashedString>
   >&, bool, int)':
cppcodecompletion.cpp:3384: warning: unused parameter `SimpleType typeR'
cppcodecompletion.cpp:3384: warning: unused parameter `const QStringList&type'
In file included from libkdevcppsupport_la.all_cpp.cpp:11:
cppcodecompletion.cpp: In member function `void
   CppCodeCompletion::computeCompletionEntryList(SimpleType,
   QValueList<CodeCompletionEntry>&, KSharedPtr<NamespaceModel>, bool, int)':
cppcodecompletion.cpp:3747: warning: unused variable `
   CppCodeCompletionConfig*cfg'
In file included from libkdevcppsupport_la.all_cpp.cpp:11:
cppcodecompletion.cpp: In member function `void
   CppCodeCompletion::computeCompletionEntryList(QString, SimpleType,
   QValueList<CodeCompletionEntry>&, const TypeAliasList&, bool, int)':
cppcodecompletion.cpp:3785: warning: unused parameter `bool isInstance'
In file included from libkdevcppsupport_la.all_cpp.cpp:11:
cppcodecompletion.cpp: In member function `void
   CppCodeCompletion::computeCompletionEntryList(QValueList<CodeCompletionEntry>&,
   SimpleContext*, bool, int)':
cppcodecompletion.cpp:4009: warning: unused parameter `int depth'
In file included from libkdevcppsupport_la.all_cpp.cpp:13:
cppevaluation.cpp: In member function `void CppEvaluation::Operator::log(const
   QString&)':
cppevaluation.cpp:65: warning: unused parameter `const QString&msg'
In file included from cppnewclassdlg.cpp:20,
                 from libkdevcppsupport_la.all_cpp.cpp:15:
cppnewclassdlg.h: At global scope:
cppnewclassdlg.h:187: syntax error before `*' token
cppnewclassdlg.h:200: `model' was not declared in this scope
cppnewclassdlg.h:200: invalid data member initialization
cppnewclassdlg.h:200: (use `=' to initialize static data members)
cppnewclassdlg.h:200: variable or field `setCompletionBasename' declared void
In file included from cppnewclassdlg.cpp:50,
                 from libkdevcppsupport_la.all_cpp.cpp:15:
storeconverter.h:27: type specifier omitted for parameter `CodeModel'
storeconverter.h:27: syntax error before `*' token
storeconverter.h:43: syntax error before `*' token
In file included from libkdevcppsupport_la.all_cpp.cpp:15:
cppnewclassdlg.cpp: In constructor
   `CppNewClassDialog::CppNewClassDialog(CppSupportPart*, QWidget*, const
   char*)':
cppnewclassdlg.cpp:76: class `CppNewClassDialog' does not have any field named
   `myModel'
cppnewclassdlg.cpp:113: `this->CppNewClassDialog::setCompletionBasename' cannot
   be used as a function
In file included from libkdevcppsupport_la.all_cpp.cpp:15:
cppnewclassdlg.cpp: In destructor `virtual
   CppNewClassDialog::~CppNewClassDialog()':
cppnewclassdlg.cpp:128: `myModel' undeclared (first use this function)
cppnewclassdlg.cpp:128: (Each undeclared identifier is reported only once for
   each function it appears in.)
In file included from libkdevcppsupport_la.all_cpp.cpp:15:
cppnewclassdlg.cpp: At global scope:
cppnewclassdlg.cpp:131: `model' was not declared in this scope
cppnewclassdlg.cpp:132: `void CppNewClassDialog::setCompletionBasename' is not
   a static member of `class CppNewClassDialog'
cppnewclassdlg.cpp:132: variable `void CppNewClassDialog::setCompletionBasename
   ' has initializer but incomplete type
cppnewclassdlg.cpp:132: syntax error before `{' token
cppnewclassdlg.cpp:136: `model' was not declared in this scope
cppnewclassdlg.cpp:138: invalid use of member `CppNewClassDialog::currNamespace
   '
cppnewclassdlg.cpp:139: syntax error before `for'
cppnewclassdlg.cpp:139: syntax error before `!=' token
cppnewclassdlg.cpp:143: ISO C++ forbids declaration of `namespaceDom' with no
   type
cppnewclassdlg.cpp:143: conflicting types for `int namespaceDom'
cppnewclassdlg.cpp:136: previous declaration as `NamespaceDom namespaceDom'
cppnewclassdlg.cpp:143: base operand of `->' is not a pointer
cppnewclassdlg.cpp:144: syntax error before `}' token
cppnewclassdlg.cpp:150: `model' was not declared in this scope
cppnewclassdlg.cpp:150: ISO C++ forbids declaration of `
   addCompletionBasenameNamespacesRecursive' with no type
cppnewclassdlg.cpp:152: invalid use of member `CppNewClassDialog::compBasename'
cppnewclassdlg.cpp:153: ISO C++ forbids declaration of `it' with no type
cppnewclassdlg.cpp:153: conflicting types for `int it'
cppnewclassdlg.cpp:138: previous declaration as `
   QValueListConstIterator<QString> it'
cppnewclassdlg.cpp:153: cannot convert `QValueListIterator<QString>' to `int'
   in initialization
cppnewclassdlg.cpp:154: syntax error before `for'
cppnewclassdlg.cpp:155: syntax error before `!=' token
cppnewclassdlg.cpp:161: confused by earlier errors, bailing out
make[4]: *** [libkdevcppsupport_la.all_cpp.lo] Error 1
make[4]: Leaving directory `/home/nick/projects/kdevelop-3.3.94/languages/cpp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/nick/projects/kdevelop-3.3.94/languages/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nick/projects/kdevelop-3.3.94/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nick/projects/kdevelop-3.3.94'
make: *** [all] Error 2
[goa:kdevelop-3.3.94]$






More information about the KDevelop-devel mailing list