Can't build 3.9.98
Andreas Pakulat
apaku at gmx.de
Sun Feb 21 08:38:04 UTC 2010
On 19.02.10 13:23:37, Lene Preuss wrote:
> Hi devs,
>
> I try to install the latest beta on Gentoo. I can't get it to compile
> either via emerge nor manually.
>
> Here is the error I get when I use "emerge kdevelop":
>
> Scanning dependencies of target duchaintest
> [ 49%] Building CXX object
> languages/cpp/cppduchain/tests/CMakeFiles/duchaintest.dir/duchaintest_automoc.o
>
> [ 50%] Building CXX object
> languages/cpp/cppduchain/tests/CMakeFiles/duchaintest.dir/test_duchain.o
> In file included from
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/ext/hash_map:64,
> from
> /var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/parser/parser.h:36,
>
> from
> /var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/cppduchain/tests/test_duchain.h:30,
>
> from
> /var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/cppduchain/tests/test_duchain.cpp:20:
>
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/backward/backward_warning.h:33:2:
> warning: #warning This file includes at least one deprecated or
> antiquated header which may be removed without further notice at a
> future date. Please use a non-deprecated interface with equivalent
> functionality instead. For a listing of replacement headers and
> interfaces, consult the file backward_warning.h. To disable this warning
> use -Wno-deprecated.
> In file included from
> /var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/cppduchain/tests/test_duchain.cpp:29:
>
> /usr/include/kdevplatform/language/duchain/builders/abstractdeclarationbuilder.h:211:
> warning: 'void KDevelop::AbstractDeclarationBuilder<T, NameT,
> LanguageSpecificDeclarationBuilderBase>::closeDeclaration() [with T =
> AST, NameT = NameAST, LanguageSpecificDeclarationBuilderBase =
> TypeBuilder]' was hidden
> /var/tmp/portage/dev-util/kdevelop-3.9.98/work/kdevelop-3.9.98/languages/cpp/cppduchain/declarationbuilder.h:122:
> warning: by 'virtual void DeclarationBuilder::closeDeclaration(bool)'
> Linking CXX executable duchaintest
> /usr/lib64/libkdevplatformlanguage.so.1.0.0: undefined reference to
> `KDevelop::IDocumentController::openDocument(KUrl const&,
> KTextEditor::Cursor const&,
> QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&)'
> collect2: ld returned 1 exit status
Looks like you have some old outdated libkdevplatform* libraries in
/usr/lib64 and thats picked up by the linker. When you update from one
beta to the next, you should make sure you have no libkdev*, kdev*so and
kdev*desktop files around before starting to build the new one. Oh and
removing the kdevplatform and kdevelop dirs in /usr/include would also
be a good idea.
Andreas
--
Your ignorance cramps my conversation.
More information about the KDevelop-devel
mailing list