The OS is openSuSE 11.4 with update of everything having to do with an uptate of QT 4.8.x from QT 4.7.x (in the standard 11.4) The compiler I used in both case was gcc 4.5<br><br>Now that I have managed to bring my system back to the standard openSuSE 11.4 (with the latest greatest standard updates) the building issue has gone away. So, there is nothing I can to test your ideas and I definitely do not want to go back to the issues I was having for the past few days.<br>
<br>I am a big proponent and user of of Kdevelop4 at home and at work. When it broke because of some casual update to QT 4.8.x on my systems it really cost me a lot of lost time both at home and work <br><br>But again, thanks for giving me some ideas should this type of think every occurs again<br>
<br>Michael<br><br><div class="gmail_quote">On Sun, Feb 19, 2012 at 1:54 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 18.02.12 12:29:37, Michael Hart wrote:<br>
> Hopefully that will help<br>
> Linking CXX executable projectmodeltest<br>
> cd<br>
> /home/XMan/Documents/Projects/kdevelop4/src/kdevplatform/build/project/tests<br>
> && /usr/bin/cmake -E cmake_link_script<br>
> CMakeFiles/projectmodeltest.dir/link.txt<br>
> --verbose=1<br>
><br>
> /usr/bin/c++ -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef<br>
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security<br>
> -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common<br>
> -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden<br>
> -Werror=return-type -fvisibility-inlines-hidden -O2 -g -DNDEBUG<br>
> -DQT_NO_DEBUG -Wl,--enable-new-dtags<br>
> CMakeFiles/projectmodeltest.dir/projectmodeltest_automoc.o<br>
> CMakeFiles/projectmodeltest.dir/projectmodeltest.o<br>
> CMakeFiles/projectmodeltest.dir/dummyproject.o<br>
> CMakeFiles/projectmodeltest.dir/__/__/tests/modeltest.o -o<br>
> projectmodeltest -rdynamic<br>
> -L/home/XMan/Documents/Projects/kdevelop4/src/kdevplatform/build/lib<br>
> /usr/lib64/libQtTest.so ../../lib/libkdevplatforminterfaces.so.6.0.0<br>
> ../../lib/libkdevplatformproject.so.6.0.0<br>
> ../../lib/libkdevplatformlanguage.so.6.0.0<br>
> ../../lib/libkdevplatformtests.so.6.0.0<br>
> ../../lib/libkdevplatformshell.so.6.0.0<br>
> ../../lib/libkdevplatformoutputview.so.6.0.0 ../../lib/libsublime.so.6.0.0<br>
> ../../lib/libkdevplatformdebugger.so.6.0.0<br>
> ../../lib/libkdevplatformproject.so.6.0.0<br>
> ../../lib/libkdevplatformlanguage.so.6.0.0<br>
> ../../lib/libkdevplatformutil.so.6.0.0<br>
> ../../lib/libkdevplatforminterfaces.so.6.0.0<br>
> /usr/lib64/libktexteditor.so.4.7.0 /usr/lib64/libkparts.so.4.7.0<br>
> /usr/lib64/libkio.so.5.7.0 /usr/lib64/libnepomukutils.so.4.7.0<br>
> /usr/lib64/libQtNetwork.so /usr/lib64/libQtXml.so<br>
> /usr/lib64/libnepomuk.so.4.7.0 -lsoprano /usr/lib64/libkdeui.so.5.7.0<br>
> /usr/lib64/libkdecore.so.5.7.0 /usr/lib64/libQtCore.so -lpthread<br>
> /usr/lib64/libQtDBus.so /usr/lib64/libQtGui.so /usr/lib64/libQtSvg.so<br>
> -Wl,-rpath,/home/XMan/Documents/Projects/kdevelop4/src/kdevplatform/build/lib<br>
> -Wl,-rpath-link,/home/XMan/Documents/Projects/kdevelop4/src/kdevplatform/build/lib<br>
><br>
> /usr/lib64/libQtWebKit.so.4: undefined reference to `g_mutex_lock'<br>
<br>
</div></div>Hmm, I'm not sure whats going on here, but you might want to check with<br>
someone having more a clue about linkers. It looks like your QtWebKit<br>
wasn't build with the pthread library but some other that prevents the<br>
threading-API. In addition for some strange reason libQtWebKit exposes<br>
this C api again in its public ABI and hence every lib linking agsinst<br>
QtWebKit also needs to link against this threading library.<br>
<br>
If I'd have to guess I'd say this is either a bug in Qt's buildsystem,<br>
your linker or maybe CMake's FindThreads stuff.<br>
<br>
Which compiler/OS is this?<br>
<div class="HOEnZb"><div class="h5"><br>
Andreas<br>
<br>
<br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br>