/qtopia/ how to upgrade without reflashing?

Jim Morris ml at e4net.com
Sun Aug 3 22:01:19 CEST 2008


Did you have to set any special Environment variables or paths to get this to work?

I have installed the toolchain on a Ubuntu Linux system, and it gets quite a long way through, but 
end up getting this error eventually...

../../include/QtCore/../../../../../qtopia-opensource-src-4.3.2-snapshot-20080801/qtopiacore/qt/src/corelib/tools/qlist.h:355: 
error: no matching function for call to ‘operator new(unsigned int, QList<bool (*)(void**)>::Node*)’
<built-in>:0: note: candidates are: void* operator new(unsigned int)

While trying to build this...

make[7]: Entering directory 
`/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-4.3.2/qtopiacore/target/src/corelib'
arm-linux-g++ -c -pipe -DQT_QWS_FICGTA01 -fno-exceptions -fno-rtti -O2 -fomit-frame-pointer 
-finline-functions -falign-functions=2 -falign-loops=2 -falign-jumps=2 -march=armv4t -mtune=arm920t 
-msoft-float -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED 
-DQTOPIA_NO_ICONV_OPEN_ERRORS -DQT_QWS_DISABLE_FLUSHCLIPPING -DQT_NO_PLUGIN_CHECK 
-DQT_EXTERNAL_SOUND_SERVER -DQT_QWS_KEYEVENT_SINGLECLIENT -DMEDIA_SERVER -DQT_KEYPAD_NAVIGATION 
-DQT_QWS_SCREENCORDS -DQT_QWS_DISABLE_FLUSHCLIPPING -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII 
-DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH -DQT_MOC_COMPAT -DQT_NO_DEBUG 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-I/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-opensource-src-4.3.2-snapshot-20080801/devices/ficgta01/mkspecs/qws/linux-ficgta01-g++ 
-I/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-opensource-src-4.3.2-snapshot-20080801/qtopiacore/qt/src/corelib 
-I../../include -I../../include -I../../include/QtCore -Iglobal 
-I/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-opensource-src-4.3.2-snapshot-20080801/qtopiacore/qt/src/3rdparty/zlib 
-I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm 
-I/opt/toolchains/arm920t-eabi/arm-angstrom-linux-gnueabi/include -I. -o 
.obj/release-shared-emb-arm/qatomic.o 
/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-opensource-src-4.3.2-snapshot-20080801/qtopiacore/qt/src/corelib/arch/arm/qatomic.cpp
arm-linux-g++ -c -pipe -DQT_QWS_FICGTA01 -fno-exceptions -fno-rtti -O2 -fomit-frame-pointer 
-finline-functions -falign-functions=2 -falign-loops=2 -falign-jumps=2 -march=armv4t -mtune=arm920t 
-msoft-float -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED 
-DQTOPIA_NO_ICONV_OPEN_ERRORS -DQT_QWS_DISABLE_FLUSHCLIPPING -DQT_NO_PLUGIN_CHECK 
-DQT_EXTERNAL_SOUND_SERVER -DQT_QWS_KEYEVENT_SINGLECLIENT -DMEDIA_SERVER -DQT_KEYPAD_NAVIGATION 
-DQT_QWS_SCREENCORDS -DQT_QWS_DISABLE_FLUSHCLIPPING -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII 
-DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH -DQT_MOC_COMPAT -DQT_NO_DEBUG 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-I/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-opensource-src-4.3.2-snapshot-20080801/devices/ficgta01/mkspecs/qws/linux-ficgta01-g++ 
-I/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-opensource-src-4.3.2-snapshot-20080801/qtopiacore/qt/src/corelib 
-I../../include -I../../include -I../../include/QtCore -Iglobal 
-I/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-opensource-src-4.3.2-snapshot-20080801/qtopiacore/qt/src/3rdparty/zlib 
-I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm 
-I/opt/toolchains/arm920t-eabi/arm-angstrom-linux-gnueabi/include -I. -o 
.obj/release-shared-emb-arm/qglobal.o 
/media/oldroot/opt/QtopiaSDK/opt/build/qtopia-opensource-src-4.3.2-snapshot-20080801/qtopiacore/qt/src/corelib/global/qglobal.cpp


I have also tried to use the VMPlayer based SDK trolltech provide, but that also gets an error 
during build, but a different one. I'd prefer to use the local toolchain as it is faster of course.

Thanks
Jim

Ole Kliemann wrote:
> On Fri, Aug 01, 2008 at 03:32:52PM -0400, Yaroslav Halchenko wrote:
>> Is there an easy way to upgrade qtopia installation without reflashing
>> whole rootfs? since /opt/Qtopia is not a part of any package according
>> to opkg search, thus is not 'opkg upgrade'able. 1 possibility I see is
>> to keep /home/root on a flash and manually mount it to preserve at least
>> personal settings and  aphone book, but that would require manual
>> remounting after flashing. May be there is a better way??
> 
> You can upgrade Qtopia like this:
> shutdown Qtopia (/etc/init.d/qpe stop)
> remove /opt/Qtopia
> copy new Qtopia to /opt/Qtopia (via scp)
> 
> That's pretty straight forward. Tricky part is where to get new Qtopia
> as tarball or whatever to copy it. One possibility is to compile
> yourself. It's not difficult and you are always up-to-date. The
> precompiled images are not so often updated.
> 
> Get the Qtopia toolchain for FR [1]. Unpacking it to / will install into
> /opt/toolchains/arm920t-eabi/
> Get the latest snapshot [2].
> Create a build dir and run configure -device ficgta01 then build it.
> 
> Ole
> 
> [1] http://www.qtopia.net/modules/mydownloads/singlefile.php?lid=38
> [2] ftp://ftp.trolltech.com/qtopia/snapshots/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


-- 
Jim Morris, http://blog.wolfman.com




More information about the community mailing list