[Konversation-devel] [Bug 187267] KDE4 port does not build on OpenSolaris

tropikhajma tropikhajma at gmail.com
Mon Mar 16 23:54:12 CET 2009


https://bugs.kde.org/show_bug.cgi?id=187267





--- Comment #4 from tropikhajma <tropikhajma gmail com>  2009-03-16 23:54:10 ---
:-) I don't know, I really don't speak C++
to build konversation, I plugged it into the framework of the KDE Solaris
project (http://techbase.kde.org/Projects/KDE_on_Solaris). I tried to build it
standalone, but setting all the includes, libraries etc became just too
complex.

this is the error I was getting without the patch:

pkgbuild: cd
/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/build-konvi-kde4-svn939885/src
&& /opt/SUNWspro/bin/CC  -library=no%Cstd  -DQT_NO_STL -DQT_NO_CAST_TO_ASCII
-D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT_STRICT_ITERATORS -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 BSD_COMP   -DQT_NO_DEBUG
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/build-konvi-kde4-svn939885/src
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/build-konvi-kde4-svn939885
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/config
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/blowfish
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/dcc
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/irc
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/preferences
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/viewer
-I/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/linkaddressbook
-I/opt/kde-4.1/include -I/opt/kde-4.1/include/KDE -I/opt/foss/include/KDE
-I/opt/foss/include -I/opt/foss/qt4/include/QtXmlPatterns
-I/opt/foss/qt4/include/QtWebKit -I/opt/foss/qt4/include/QtHelp
-I/opt/foss/qt4/include/QtAssistant -I/opt/foss/qt4/include/QtDBus
-I/opt/foss/qt4/include/QtTest -I/opt/foss/qt4/include/QtUiTools
-I/opt/foss/qt4/include/QtScript -I/opt/foss/qt4/include/QtSvg
-I/opt/foss/qt4/include/QtXml -I/opt/foss/qt4/include/QtSql
-I/opt/foss/qt4/include/QtOpenGL -I/opt/foss/qt4/include/QtNetwork
-I/opt/foss/qt4/include/QtDesigner -I/opt/foss/qt4/include/Qt3Support
-I/opt/foss/qt4/include/QtGui -I/opt/foss/qt4/include/QtCore
-I/opt/foss/qt4/include/Qt -I/opt/foss/qt4/share/mkspecs/default
-I/opt/foss/qt4/include -I/usr/X11/include    -D_LARGEFILE64_SOURCE -o
CMakeFiles/konvi.dir/dcc/transfersend.o -c
/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/dcc/transfersend.cpp
pkgbuild:
"/export/home/hajma/packages/BUILD/konvi-kde4-svn939885/src/dcc/transfersend.cpp",
line 167: Error: The function "ioctl" must have a prototype.
pkgbuild: 1 Error(s) detected.
pkgbuild: gmake[3]: *** [src/CMakeFiles/konvi.dir/dcc/transfersend.o] Error 1

you may be right that the patch is not really working anyway. I discovered the
below line in the error output that I attributed to problems with library
linking:

pkgbuild: bool KABC::AddressBook::save(KABC::Ticket*)
CMakeFiles/konvi.dir/linkaddressbook/addressbook_base.o
pkgbuild: int ioctl(int,int,...)                 
CMakeFiles/konvi.dir/dcc/transfersend.o

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list