PDA

View Full Version : Compile error with qtopia-opensrouce-4.3.2 on Ubuntu.



JPPoulin
6th June 2009, 03:58
Hi,

I'm attempting to compile qtopia-opensource-4.3.2 on a clean Ubuntu 9.04 machine with the latest gcc compiler.

The compilation proceeds smoothly for about 20 minutes then halts here:

from /home/jp/build/qtopia/qtopiacore/qt/src/gui/painting/qdrawhelper.cpp:43:
../../include/QtCore/../../../../../qtopia/qtopiacore/qt/src/corelib/tools/qstring.h:794: warning: type qualifiers ignored on function return type
../../include/QtCore/../../../../../qtopia/qtopiacore/qt/src/corelib/tools/qstring.h:795: warning: type qualifiers ignored on function return type
../../include/QtCore/../../../../../qtopia/qtopiacore/qt/src/corelib/tools/qstring.h:796: warning: type qualifiers ignored on function return type
/home/jp/build/qtopia/qtopiacore/qt/src/gui/painting/qdrawhelper.cpp:5910: error: explicit template specialization cannot have a storage class
/home/jp/build/qtopia/qtopiacore/qt/src/gui/painting/qdrawhelper.cpp:5934: error: explicit template specialization cannot have a storage class
make[7]: *** [.obj/release-shared-emb-i386/qdrawhelper.o] Error 1
make[7]: Leaving directory `/home/jp/build/qtopia-build/qtopiacore/target/src/gui'
make[6]: *** [redirect_all] Error 2
make[6]: Leaving directory `/home/jp/build/qtopia-build/src/libraries/qtopiacore/gui'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/jp/build/qtopia-build/src/libraries/qtopiacore/gui'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/jp/build/qtopia-build/src/libraries/qtopiacore/gui'
make[3]: *** [sub-libraries-qtopiacore-gui] Error 2
make[3]: Leaving directory `/home/jp/build/qtopia-build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jp/build/qtopia-build/src'
make[1]: *** [qtopia_all] Error 2
make[1]: Leaving directory `/home/jp/build/qtopia-build'
make: *** [all] Error 2
j

I have read clues related to qsql_ibase.cpp having the same type of problem, but am having difficulty in duplicating this solution by placing template instantiation as 'static'

Any ideas? :confused:

Jean-Pierre