The following issue has been RESOLVED.
======================================================================
http://opie-bugs.oszine.de/view.php?id=1904
======================================================================
Reported By: Pryan
Assigned To: BlueLightning
======================================================================
Project: OPIE
Issue ID: 1904
Category: Build system
Reproducibility: always
Severity: crash
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 12-16-2007 12:01 CET
Last Modified: 12-22-2007 09:50 CET
======================================================================
Summary: Crash compilation.
Description:
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fPIC
-DOPIE_NO_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION
-DOPIE_SOUND_FRAGMENT_SHIFT=16 -DQT_NO_DEBUG
-I/root/opiehome/opie/mkspecs/qws/linux-generic-g++ -I.
-I/root/opiehome/opie/include -I/root/opiehome/qt-2.3.10/include
-I.moc/x86-linux/ -o .obj/x86-linux/oimagescrollview.o
oimagescrollview.cpp
/root/opiehome/qt-2.3.10/include/qrangecontrol.h:52: warning: 'class
QRangeControl' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qdatetime.h:51: warning: 'class QDate'
has virtual functions but non-virtual destructor
/root/opiehome/opie/include/qpe/qcom.h:47: warning: 'struct
QUnknownInterface' has virtual functions but non-virtual destructor
/root/opiehome/opie/include/qpe/qcom.h:59: warning: 'struct
QLibraryInterface' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qasyncimageio.h:48: warning: 'class
QImageConsumer' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qpolygonscanner.h:48: warning: 'class
QPolygonScanner' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qtooltip.h:87: warning: 'class QToolTip'
has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qxml.h:220: warning: 'class QXmlReader'
has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qxml.h:408: warning: 'class
QXmlContentHandler' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qxml.h:425: warning: 'class
QXmlErrorHandler' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qxml.h:434: warning: 'class
QXmlDTDHandler' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qxml.h:442: warning: 'class
QXmlEntityResolver' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qxml.h:449: warning: 'class
QXmlLexicalHandler' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qxml.h:462: warning: 'class
QXmlDeclHandler' has virtual functions but non-virtual destructor
/root/opiehome/qt-2.3.10/include/qwindowsystem_qws.h:221: warning: 'class
QWSServer::KeyboardFilter' has virtual functions but non-virtual
destructor
/root/opiehome/qt-2.3.10/include/qwindowsystem_qws.h:230: error:
'QWSInputMethod' has not been declared
/root/opiehome/qt-2.3.10/include/qwindowsystem_qws.h:237: error:
'QWSGestureMethod' has not been declared
oimagescrollview.cpp:598: warning: unused parameter 'e'
make[1]: *** [.obj/x86-linux/oimagescrollview.o] Error 1
make[1]: Leaving directory `/root/opiehome/opie/libopie2/opiemm'
make: *** [libopie2/opiemm] Error 2
Pryan opie #
======================================================================
----------------------------------------------------------------------
BlueLightning - 12-16-07 20:41
----------------------------------------------------------------------
How did you make this happen? Which configure option did you enable?
I found this solution with a Google search - add the following to
/root/opiehome/qt-2.3.10/include/qwindowsystem_qws.h:
class QWSGestureMethod;
class QWSInputMethod;
----------------------------------------------------------------------
Pryan - 12-22-07 02:41
----------------------------------------------------------------------
OK, making this the compilation continues.
----------------------------------------------------------------------
BlueLightning - 12-22-07 09:50
----------------------------------------------------------------------
Actually this fix is already provided by the patch included with Opie
(qt/qt-2.3.10.patch/gcc4.patch), however the instructions on the Opie site
on the BuildOpie page missed out this step. I have fixed this, and also
added one more change to the patch that fixes another compilation problem I
found when trying to build qt 2.3.10 with gcc 4.1.2 myself.
Issue History
Date Modified Username Field Change
======================================================================
12-16-07 12:01 Pryan New Issue
12-16-07 20:41 BlueLightning Note Added: 0004763
12-17-07 19:01 Pryan File Added: config-opie
12-18-07 00:52 BlueLightning Status new => feedback
12-22-07 02:41 Pryan Note Added: 0004775
12-22-07 09:50 BlueLightning Status feedback => resolved
12-22-07 09:50 BlueLightning Resolution open => fixed
12-22-07 09:50 BlueLightning Assigned To => BlueLightning
12-22-07 09:50 BlueLightning Note Added: 0004776
======================================================================
Received on Sat Dec 22 2007 - 03:50:44 EST
This archive was generated by hypermail 2.2.0 : Sat Dec 22 2007 - 03:51:00 EST