Created attachment 48665 [details] patch Version: 4.5 (using Devel) OS: Solaris building kdepim from svn fails with ... Error while building C++ executable "akonadi_nepomuk_email_feeder" in target akonadi_nepomuk_email_feeder. Undefined first referenced symbol in file QScriptValue::~QScriptValue() ../lib/libmessageviewer.so.0.1.0 QScriptValue::QScriptValue() ../lib/libmessageviewer.so.0.1.0 QScriptValue::QScriptValue(const QScriptValue&) ../lib/libmessageviewer.so.0.1.0 ld: fatal: symbol referencing errors. No output written to akonadi_nepomuk_email_feeder the attached patch fixes that this is on opensolaris b134 with the sun studio 12u1 compiler Reproducible: Always
Hej, is this still an issue? Could you find out which component/library is dragging in the QtScript dependency, please? I checked it on a Linux system here and neither ldd nor nm on libmessageviewer shows a linkage against or a symbol from QtScript. Ciao, Tobias
it's still present, but it seems the problem stems from kdewebkit: ldd -r builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so | c++filt ... symbol not found: QScriptValue::QScriptValue() (builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so) symbol not found: QScriptValue::QScriptValue(const QScriptValue&) (builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so) symbol not found: QScriptValue::~QScriptValue() (builddir-SunOS-CMake-2.8.1-sunstudio-12.1-cmake-2.8.1/lib/libmessageviewer.so) symbol not found: QScriptValue::QScriptValue() (/export/home/test/Dashboards/installs/2.8.1/kdelibs/lib/libkdewebkit.so.5) symbol not found: QScriptValue::QScriptValue(const QScriptValue&) (/export/home/test/Dashboards/installs/2.8.1/kdelibs/lib/libkdewebkit.so.5) symbol not found: QScriptValue::~QScriptValue() (/export/home/test/Dashboards/installs/2.8.1/kdelibs/lib/libkdewebkit.so.5)
SVN commit 1158690 by tokoe: Link against QtScript to make it compile on OpenSolaris BUG: 243880 M +1 -0 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1158690