Bug 191538 - ksendbugmail does not compile on opensolaris (with patch)
Summary: ksendbugmail does not compile on opensolaris (with patch)
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 00:24 UTC by tropikhajma
Modified: 2009-06-15 21:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
patch (441 bytes, patch)
2009-05-04 00:25 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2009-05-04 00:24:44 UTC
Version:           4.2.71 (using Devel)
Compiler:          Sun Studio 12 
OS:                Solaris
Installed from:    Compiled sources

the compilation fails with:
...
pkgbuild: cd /export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/build-kdelibs-4.2.71.svn961800/kio/misc/ksendbugmail && /opt/dtbld/bin/cmake -E cmake_link_script CMakeFiles/ksendbugmail.dir/link.txt --verbose=1
pkgbuild: /opt/SUNWspro/bin/CC  -library=no%Cstd  -D__EXTENSIONS__ -DSOLARIS -D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT  -D_XOPEN_SOURCE=500 -D_XPG5  -I/opt/foss/include/stdcxx/ansi -I/opt/foss/include/stdcxx -I/opt/foss/include -D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT  -D_XOPEN_SOURCE=500 -D_XPG5  -I/opt/foss/include/stdcxx/ansi -I/opt/foss/include/stdcxx -I/opt/foss/include -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -library=no%Cstd -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -s  -xlang=c99 -xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -mt   -DQT_NO_DEBUG  -KPIC -L/opt/foss/lib -R/opt/foss/lib  -lstdcxx -L/usr/lib -R/usr/lib -lxml2 -lCrun -lrt -lsocket -L/usr/X11/lib -R/usr/X11/lib CMakeFiles/ksendbugmail.dir/ksendbugmail_automoc.o CMakeFiles/ksendbugmail.dir/main.o CMakeFiles/ksendbugmail.dir/smtp.o CMakeFiles/ksendbugmail.dir/__/__/kio/kemailsettings.o  -o ../../../bin/ksendbugmail  -L/opt/foss/qt4/lib -L/export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/build-kdelibs-4.2.71.svn961800/lib /opt/foss/qt4/lib/libQtCore.so -lthread ../../../lib/libkdecore.so.5.3.0 ../../../lib/libkdeui.so.5.3.0 ../../../lib/libkdecore.so.5.3.0 /opt/foss/qt4/lib/libQtDBus.so /opt/foss/qt4/lib/libQtCore.so -lthread /opt/foss/qt4/lib/libQtSvg.so /opt/foss/qt4/lib/libQtGui.so -R/opt/foss/qt4/lib:/export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/build-kdelibs-4.2.71.svn961800/lib 
pkgbuild: ld: warning: file ../../../lib/libkdecore.so.5.3.0: attempted multiple inclusion of file
pkgbuild: ld: warning: file /opt/foss/qt4/lib/libQtCore.so: attempted multiple inclusion of file
pkgbuild: Undefined			first referenced
pkgbuild:  symbol  			    in file
pkgbuild: QTcpSocket::~QTcpSocket()            CMakeFiles/ksendbugmail.dir/smtp.o  (symbol belongs to implicit dependency /opt/foss/qt4/lib/libQtNetwork.so.4)
pkgbuild: ld: fatal: symbol referencing errors. No output written to ../../../bin/ksendbugmail
pkgbuild: gmake[3]: *** [bin/ksendbugmail] Error 1
...
Comment 1 tropikhajma 2009-05-04 00:25:31 UTC
Created attachment 33329 [details]
patch
Comment 2 groot 2009-06-15 21:44:15 UTC
SVN commit 982406 by adridg:

Link ksendbugmail explicitly to the network library it uses.
BUG: 191538


 M  +1 -1      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=982406