Bug 243876 - build fails - missing link to Qtscript
Summary: build fails - missing link to Qtscript
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 20:03 UTC by tropikhajma
Modified: 2010-07-13 23:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (349 bytes, patch)
2010-07-07 20:03 UTC, tropikhajma
Details
better patch (508 bytes, patch)
2010-07-09 19:00 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2010-07-07 20:03:08 UTC
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
Comment 1 tropikhajma 2010-07-09 19:00:21 UTC
Created attachment 48727 [details]
better patch
Comment 2 Thomas McGuire 2010-07-13 22:06:34 UTC
If this fixes the build for you, then please commit.
Comment 3 tropikhajma 2010-07-13 23:46:15 UTC
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