<p dir="ltr">Hi,</p>
<p dir="ltr">I noticed this error on CI right after I pushed the patch to master. However I can't reproduce it on my box with clean build of kdevplatform and kdevelop... So I don't know where to look at. :/</p>
<p dir="ltr">It seems that libKDevPlatformLanguage does contain the missing symbol. No idea why the linker couldn't find it. I'll try rebuild on my box again to see if I can find something else.<br></p>
<p dir="ltr">Cheers,<br>
Aetf</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 24, 2016, 10:40 René J.V. <<a href="mailto:rjvbertin@gmail.com">rjvbertin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Why am I getting the following build error on Linux, kdevelop and kdevplatform both git/master?<br>
<br>
%> /usr/bin/c++ -fPIC -std=c++0x -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wno-missing-field-initializers -fexceptions -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -shared -o kdevgdb.so CMakeFiles/kdevgdb.dir/debuggerplugin.cpp.o CMakeFiles/kdevgdb.dir/gdb.cpp.o CMakeFiles/kdevgdb.dir/disassemblewidget.cpp.o CMakeFiles/kdevgdb.dir/gdboutputwidget.cpp.o CMakeFiles/kdevgdb.dir/debugsession.cpp.o CMakeFiles/kdevgdb.dir/gdbbreakpointcontroller.cpp.o CMakeFiles/kdevgdb.dir/gdbconfigpage.cpp.o CMakeFiles/kdevgdb.dir/variablecontroller.cpp.o CMakeFiles/kdevgdb.dir/gdbframestackmodel.cpp.o CMakeFiles/kdevgdb.dir/gdbvariable.cpp.o CMakeFiles/kdevgdb.dir/registers/registersview.cpp.o CMakeFiles/kdevgdb.dir/registers/registercontroller.cpp.o CMakeFiles/kdevgdb.dir/registers/registersmanager.cpp.o CMakeFiles/kdevgdb.dir/registers/registercontroller_x86.cpp.o CMakeFiles/kdevgdb.dir/registers/registercontroller_arm.cpp.o CMakeFiles/kdevgdb.dir/registers/modelsmanager.cpp.o CMakeFiles/kdevgdb.dir/registers/converters.cpp.o CMakeFiles/kdevgdb.dir/qrc_kdevgdb.cpp.o CMakeFiles/kdevgdb.dir/kdevgdb_automoc.cpp.o /opt/local/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10.0.0 /opt/local/lib/x86_64-linux-gnu/libKDevPlatformProject.so.10.0.0 ../common/libkdevdebuggercommon.a /opt/local/lib/x86_64-linux-gnu/libKDevPlatformOutputView.so.10.0.0 /opt/local/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKDevPlatformSerialization.so.10.0.0 /opt/local/lib/x86_64-linux-gnu/libKDevPlatformDebugger.so.10.0.0 /opt/local/lib/x86_64-linux-gnu/libKDevPlatformSublime.so.10.0.0 /opt/local/lib/x86_64-linux-gnu/libKDevPlatformUtil.so.10.0.0 /opt/local/lib/x86_64-linux-gnu/libKDevPlatformInterfaces.so.10.0.0 /opt/local/lib/x86_64-linux-gnu/libKF5TextEditor.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5Parts.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5KIOCore.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5JobWidgets.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5XmlGui.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5TextWidgets.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5Service.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5ItemModels.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libprocessui.so.5.6.5 /opt/local/lib/x86_64-linux-gnu/libprocesscore.so.5.6.5 /opt/local/lib/x86_64-linux-gnu/libKF5Completion.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5Codecs.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5ConfigGui.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5.22.0 /opt/local/libexec/qt5/lib/libQt5Xml.so.5.6.1 /opt/local/lib/x86_64-linux-gnu/libKF5Auth.so.5.22.0 /opt/local/libexec/qt5/lib/libQt5DBus.so.5.6.1 /opt/local/lib/x86_64-linux-gnu/libKF5I18n.so.5.22.0 /opt/local/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5.22.0 /opt/local/libexec/qt5/lib/libQt5Widgets.so.5.6.1 /opt/local/libexec/qt5/lib/libQt5Gui.so.5.6.1 /opt/local/libexec/qt5/lib/libQt5Network.so.5.6.1 /opt/local/libexec/qt5/lib/libQt5Core.so.5.6.1 -Wl,-rpath,/opt/local/lib/x86_64-linux-gnu:/opt/local/lib:/opt/local/libexec/qt5/lib -Wl,-rpath-link,/opt/local/libexec/qt5/lib<br>
../common/libkdevdebuggercommon.a(midebuggerplugin.cpp.o): In function `KDevMI::MIDebuggerPlugin::contextMenuExtension(KDevelop::Context*)':<br>
midebuggerplugin.cpp:(.text+0x176b): undefined reference to `typeinfo for KDevelop::EditorContext'<br>
midebuggerplugin.cpp:(.text+0x179f): undefined reference to `KDevelop::EditorContext::currentWord() const'<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [debuggers/gdb/kdevgdb.so] Error 1<br>
<br>
%> nm /opt/local/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10.0.0 | fgrep -i currentword<br>
00000000001bd880 T _ZNK8KDevelop13EditorContext11currentWordEv<br>
<br>
%> demangle _ZNK8KDevelop13EditorContext11currentWordEv<br>
_ZNK8KDevelop13EditorContext11currentWordEv -> "KDevelop::EditorContext::currentWord() const"<br>
<br>
I'm using gcc 5.3.0; kdevplatform was installed from a full clean build; kdevelop is building from one. A glitch in the debugger patch from last Wed. June 22nd?<br>
<br>
R.<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kde.org" target="_blank">KDevelop-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdevelop-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop-devel</a><br>
</blockquote></div>