[kde-freebsd] Build errors in KDE4 svn: kdebase/apps/kinfocenter/base/info_fbsd.cpp
Michael Krauss
hippodriver at gmx.net
Fri Apr 11 17:01:31 CEST 2008
Hello KDE on FreeBSD experts!
I try to build KDE4 svn on FreeBSD 7.0 AMD64 following
http://techbase.kde.org/index.php?title=Getting_Started/Build/KDE4
I was able to build qt-copy by removing -I/usr/local/include from
CXXFLAGS in:
* qt-copy/src/plugins/phonon/gstreamer/Makefile
* qt-copy/tools/qtconfig/Makefile
and adding /home/kde-devel/qt-copy/bin into PATH.
"which qmake" now points to /home/kde-devel/qt-copy/bin/qmake.
After building kdelibs successfully I am now working on
kdebase. But I am running into problems (excerpt from build messages):
...
/home/kde-devel/qt-copy/include/QtGui/qtreewidget.h:75:
note: QTreeWidgetItem::QTreeWidgetItem(const
QStringList&,
int) /home/kde-devel/qt-copy/include/QtGui/qtreewidget.h:74:
note:
QTreeWidgetItem::QTreeWidgetItem(int) /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:
In function 'QString GetController(const
QString&)': /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:337:
error: 'const class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:339:
error: 'class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:340:
error: 'class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:341:
error: 'class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:342:
error: 'class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:343:
error: 'class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:349:
error: 'const class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:352:
error: 'class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:353:
error: 'class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:354:
error: 'class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:
In function 'Device* GetDevice(const
QString&)': /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:362:
error: 'const class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:367:
error: 'const class QString' has no member named
'find' /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/base/info_fbsd.cpp:368:
error: 'class QString' has no member named 'find' *** Error code 1 1
error *** Error code 2 /usr/local/bin/cmake -E
cmake_progress_report /home/kde-devel/kde/build/KDE/kdebase/CMakeFiles
[ 28%] Building CXX object
apps/kinfocenter/CMakeFiles/kdeinit_kinfocenter.dir/proxywidget.o /usr/bin/c++
-Dkdeinit_kinfocenter_EXPORTS -Woverloaded-virtual
-fvisibility=hidden -fvisibility-inlines-hidden -g3 -fno-inline -fPIC
-I/home/kde-devel/kde/build/KDE/kdebase/apps/kinfocenter
-I/home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter
-I/home/kde-devel/kde/src/KDE/kdebase
-I/home/kde-devel/kde/build/KDE/kdebase
-I/home/kde-devel/kde/build/KDE/kdebase/apps
-I/home/kde-devel/kde/src/KDE/kdebase/apps/lib/konq
-I/home/kde-devel/kde/include -I/home/kde-devel/kde/include/KDE
-I/home/kde-devel/qt-copy/include/QtXmlPatterns
-I/home/kde-devel/qt-copy/include/QtHelp
-I/home/kde-devel/qt-copy/include/QtWebKit
-I/home/kde-devel/qt-copy/include/QtDBus
-I/home/kde-devel/qt-copy/include/QtTest
-I/home/kde-devel/qt-copy/include/QtUiTools
-I/home/kde-devel/qt-copy/include/QtScript
-I/home/kde-devel/qt-copy/include/QtSvg
-I/home/kde-devel/qt-copy/include/QtXml
-I/home/kde-devel/qt-copy/include/QtSql
-I/home/kde-devel/qt-copy/include/QtOpenGL
-I/home/kde-devel/qt-copy/include/QtNetwork
-I/home/kde-devel/qt-copy/include/QtDesigner
-I/home/kde-devel/qt-copy/include/QtAssistant
-I/home/kde-devel/qt-copy/include/Qt3Support
-I/home/kde-devel/qt-copy/include/QtGui
-I/home/kde-devel/qt-copy/include/QtCore
-I/home/kde-devel/qt-copy/include/Qt
-I/home/kde-devel/qt-copy/mkspecs/default
-I/home/kde-devel/qt-copy/include -I/usr/local/include -D_GNU_SOURCE
-DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT
-DKDE_DEPRECATED_WARNINGS -DKDE_DEFAULT_DEBUG_AREA=1208 -o
apps/kinfocenter/CMakeFiles/kdeinit_kinfocenter.dir/proxywidget.o
-c /home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter/proxywidget.cpp /usr/local/bin/cmake
-E
cmake_progress_report /home/kde-devel/kde/build/KDE/kdebase/CMakeFiles
[ 28%] Building CXX object
apps/kinfocenter/CMakeFiles/kdeinit_kinfocenter.dir/kdeinit_kinfocenter_automoc.o /usr/bin/c++
-Dkdeinit_kinfocenter_EXPORTS -Woverloaded-virtual
-fvisibility=hidden -fvisibility-inlines-hidden -g3 -fno-inline -fPIC
-I/home/kde-devel/kde/build/KDE/kdebase/apps/kinfocenter
-I/home/kde-devel/kde/src/KDE/kdebase/apps/kinfocenter
-I/home/kde-devel/kde/src/KDE/kdebase
-I/home/kde-devel/kde/build/KDE/kdebase
-I/home/kde-devel/kde/build/KDE/kdebase/apps
-I/home/kde-devel/kde/src/KDE/kdebase/apps/lib/konq
-I/home/kde-devel/kde/include -I/home/kde-devel/kde/include/KDE
-I/home/kde-devel/qt-copy/include/QtXmlPatterns
-I/home/kde-devel/qt-copy/include/QtHelp
-I/home/kde-devel/qt-copy/include/QtWebKit
-I/home/kde-devel/qt-copy/include/QtDBus
-I/home/kde-devel/qt-copy/include/QtTest
-I/home/kde-devel/qt-copy/include/QtUiTools
-I/home/kde-devel/qt-copy/include/QtScript
-I/home/kde-devel/qt-copy/include/QtSvg
-I/home/kde-devel/qt-copy/include/QtXml
-I/home/kde-devel/qt-copy/include/QtSql
-I/home/kde-devel/qt-copy/include/QtOpenGL
-I/home/kde-devel/qt-copy/include/QtNetwork
-I/home/kde-devel/qt-copy/include/QtDesigner
-I/home/kde-devel/qt-copy/include/QtAssistant
-I/home/kde-devel/qt-copy/include/Qt3Support
-I/home/kde-devel/qt-copy/include/QtGui
-I/home/kde-devel/qt-copy/include/QtCore
-I/home/kde-devel/qt-copy/include/Qt
-I/home/kde-devel/qt-copy/mkspecs/default
-I/home/kde-devel/qt-copy/include -I/usr/local/include -D_GNU_SOURCE
-DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT
-DKDE_DEPRECATED_WARNINGS -DKDE_DEFAULT_DEBUG_AREA=1208 -o
apps/kinfocenter/CMakeFiles/kdeinit_kinfocenter.dir/kdeinit_kinfocenter_automoc.o
-c /home/kde-devel/kde/build/KDE/kdebase/apps/kinfocenter/kdeinit_kinfocenter_automoc.cpp
Linking CXX shared library ../../lib/libkdeinit4_kinfocenter.so
cd /home/kde-devel/kde/build/KDE/kdebase/apps/kinfocenter
&& /usr/local/bin/cmake -P
CMakeFiles/kdeinit_kinfocenter.dir/cmake_clean_target.cmake
cd /home/kde-devel/kde/build/KDE/kdebase/apps/kinfocenter
&& /usr/local/bin/cmake -E cmake_link_script
CMakeFiles/kdeinit_kinfocenter.dir/link.txt --verbose=1 /usr/bin/c++
-fPIC -Woverloaded-virtual -fvisibility=hidden
-fvisibility-inlines-hidden -g3 -fno-inline -lc -shared
-Wl,-soname,libkdeinit4_kinfocenter.so
-o ../../lib/libkdeinit4_kinfocenter.so
"CMakeFiles/kdeinit_kinfocenter.dir/kdeinit_kinfocenter_automoc.o"
"CMakeFiles/kdeinit_kinfocenter.dir/main.o"
"CMakeFiles/kdeinit_kinfocenter.dir/toplevel.o"
"CMakeFiles/kdeinit_kinfocenter.dir/indexwidget.o"
"CMakeFiles/kdeinit_kinfocenter.dir/dockcontainer.o"
"CMakeFiles/kdeinit_kinfocenter.dir/aboutwidget.o"
"CMakeFiles/kdeinit_kinfocenter.dir/moduletreeview.o"
"CMakeFiles/kdeinit_kinfocenter.dir/global.o"
"CMakeFiles/kdeinit_kinfocenter.dir/modules.o"
"CMakeFiles/kdeinit_kinfocenter.dir/proxywidget.o"
-L/home/kde-devel/qt-copy/lib -L/home/kde-devel/kde/lib
-L/usr/local/lib -lQtCore -lpthread -lkdecore -lkdeui -lkio -lkparts
-lQtCore -lpthread -lkdecore -lkpty -lQtXml -lQt3Support -lQtCore
-lpthread -lkdecore -lkdeui -lkio -lkfile -lkde3support -lQtCore
-lpthread -lkdecore -lkdeui -lkio -lkparts -lktexteditor -lkjs -lQtDBus
-lQtCore -lpthread -lQtGui -lphonon -ljpeg -lungif -lpng -lz -lkhtml
-lQtCore -lpthread -lkdecore -lkdeui -lQtCore -lpthread -lkdecore
-lkdeui -lkio -lkparts -lkutils -lutil -lm -lpcre -lpcreposix
-lQtNetwork -lbz2 -lintl -lQtSvg -lSM -lICE -lX11 -lXext -lXft -lXau
-lXdmcp -lXpm -lXtst -lXcursor -lXfixes -lstreamanalyzer -lstreams
-lsolid -lQtCore -lpthread -lQtDBus -lQtXml -lQtGui -lfam -lXrender
-Wl,-rpath,/home/kde-devel/qt-copy/lib:/home/kde-devel/kde/lib:/usr/local/lib /usr/local/bin/cmake
-E
cmake_progress_report /home/kde-devel/kde/build/KDE/kdebase/CMakeFiles
[ 28%] Built target kdeinit_kinfocenter 1 error *** Error code 2 1
error [kde-devel at gandalf
~/kde/build/KDE/kdebase]$
How can I fix this?
Kind regards,
Michael Krauss
More information about the kde-freebsd
mailing list