Created attachment 48664 [details] patch Version: unspecified (using Devel) OS: Solaris building kdepim fails with ... Error while building C++ executable "kmail" in target kmail. Undefined first referenced symbol in file QScriptValue::~QScriptValue() /export/home/test/Dashboards/kdepim/builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so.0 QScriptValue::QScriptValue() /export/home/test/Dashboards/kdepim/builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so.0 QScriptValue::QScriptValue(const QScriptValue&) /export/home/test/Dashboards/kdepim/builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so.0 ld: fatal: symbol referencing errors. No output written to kmail the attached patch fixes that this is on opensolaris b134, using the sun studio 12u1 compiler Reproducible: Always
Created attachment 48727 [details] better patch
If this fixes the build for you, then please commit.
SVN commit 1149633 by pavelheimlich: fix build with Sun Studio BUG:243876 M +2 -0 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1149633