Hello Radeck, everyone,
I'm trying to compile QtMoko v48 on a fresh virtual machine.
I'm following the README[1].
After pulling the git in mine
$ git pull git://github.com/radekp/qtmoko.git
From git://github.com/radekp/qtmoko
* branch HEAD - FETCH_HEAD
Already up-to-date.
I configured (good, except for some warning) and compiled with neo
target, but I had problems:
[...]
In file included from
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Strong.h:30,
from
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/WebCore/bindings/js/ScriptState.h:35,
from
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/WebCore/page/Console.h:35,
from
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/WebCore/dom/ScriptExecutionContext.h:31,
from
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/WebCore/dom/Document.h:38,
from
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/WebCore/dom/Document.cpp:28:
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Handle.h:
In static member function ‘static T*
JSC::HandleTypesT::getFromSlot(JSC::JSValue*) [with T = JSC::Structure]’:
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Handle.h:155:
instantiated from ‘typename JSC::HandleTypesT::ExternalType
JSC::HandleT::get() const [with T = JSC::Structure]’
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/runtime/ScopeChain.h:40:
instantiated from here
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Handle.h:82:
warning: cast from ‘JSC::JSCell*’ to ‘JSC::Structure*’ increases
required alignment of target type
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Handle.h:
In static member function ‘static T*
JSC::HandleTypesT::getFromSlot(JSC::JSValue*) [with T =
WebCore::JSDOMWrapper]’:
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Weak.h:89:
instantiated from ‘typename JSC::HandleT::ExternalType
JSC::WeakT::get() const [with T = WebCore::JSDOMWrapper]’
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/WebCore/bindings/js/ScriptWrappable.h:43:
instantiated from here
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Handle.h:82:
warning: cast from ‘JSC::JSCell*’ to ‘WebCore::JSDOMWrapper*’ increases
required alignment of target type
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Handle.h:
In static member function ‘static T*
JSC::HandleTypesT::getFromSlot(JSC::JSValue*) [with T =
WebCore::JSDOMWindowShell]’:
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Handle.h:155:
instantiated from ‘typename JSC::HandleTypesT::ExternalType
JSC::HandleT::get() const [with T = WebCore::JSDOMWindowShell]’
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/WebCore/bindings/js/ScriptController.h:79:
instantiated from here
/home/jack/qtm/qtmoko/qtopiacore/qt/src/3rdparty/webkit/Source/JavaScriptCore/heap/Handle.h:82:
warning: cast from ‘JSC::JSCell*’ to ‘WebCore::JSDOMWindowShell*’
increases required alignment of target type
make: *** [all] Killed
With the PC target, I had more problems:
jack@QtDebian:~/qtm/build-pc$ ../qtmoko/configure -device pc
Running environment script for device pc with PKG_CONFIG_PREFIX=
Variable PKG_CONFIG_PREFIX is now set to: /usr/lib/x86_64-linux-gnu
Variable PKG_CONFIG_PATH is now set to: /usr/lib/x86_64-linux-gnu/pkgconfig
Testing the system Qt: OK
Qt Extended is using the following locations:
Qt PREFIX = /usr
Qt LIBRARIES = /usr/lib/x86_64-linux-gnu
Qt BINARIES = /usr/bin
Qt HEADERS = /usr/include/qt4
Qt Embedded SOURCE tree = /home/jack/qtm/qtmoko/qtopiacore/qt
Qt Embedded BUILD tree = /home/jack/qtm/build-pc/qtopiacore/target
Qt Extended SOURCE tree = /home/jack/qtm/qtmoko
Qt Extended BUILD tree = /home/jack/qtm/build-pc
Qt Extended SDK tree = /home/jack/qtm/build-pc/sdk
Checking the compiler (host): OK (GCC 4, Little Endian)
Checking the compiler (target): OK (GCC 4, Little Endian)
Bootstrap QBuild: ... OK
Testing QBuild: OK
Testing for ALSA: OK
Testing Media Engines: gstreamer
Checking QMAKE_RPATH:
Testing for OpenSSL: OK
Testing for dynamic rotation: OK
Testing DBUS: OK
Checking for PAGE_SIZE and PAGE_MASK: MISSING
WARNING: QSharedMemoryCache will not throw away unused pages
Testing for strict warning flags your compiler accepts: -Wall
-Woverloaded-virtual
Testing for V4L2: OK
Testing for prctl(): OK
Testing for semtimedop: OK
Testing for __malloc_hook: OK
Running configure (qtopiacore)...
Running environment script for device pc with PKG_CONFIG_PREFIX=
Variable PKG_CONFIG_PREFIX is now set to: /usr/lib/x86_64-linux-gnu
Variable PKG_CONFIG_PATH is now set to: /usr/lib/x86_64-linux-gnu/pkgconfig
configure -embedded x86_64 -platform linux-g++ -xplatform