<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Radek,<div>nice to hear from you!<br><div><div>Am 29.09.2015 um 09:27 schrieb Radek Polak <<a href="mailto:psonek2@seznam.cz">psonek2@seznam.cz</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 9pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: 'DejaVu Sans Mono';"><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">On Monday 21 of September 2015 20:50:20 H. Nikolaus Schaller wrote:</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> What we need is fixing the sources/trees/instructions/whatever to make</div><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> it compile again. Either in a qemu image (e.g.</div><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> <a href="http://download.goldelico.com/gta04-debian-lxde/qemu-wheezy-vexpress/">http://download.goldelico.com/gta04-debian-lxde/qemu-wheezy-vexpress/</a> ) or</div><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> by separating into self-contained source packages that can be compiled on a</div><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> GTA04 with Debian installed.</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">I wonder why you cant compile, </div></div></blockquote><div><br></div>Well, tons of undocumented and implicit assumptions about the compile host...<br><div><br></div>For my setup (Debian Wheezy 7.8 inside qemu image) it failed after ~3 days with this error message:</div><div><br></div><div>g++ /root/qtmoko/src/tools/sysmessages/sysmessages.cpp<br>g++ /root/qtmoko/src/tools/sysmessages/main.cpp<br>g++ /root/build-gta04/src/tools/sysmessages/sysmessages<br>*** Error <br>/default: Prerequisite failed<br>/sub_default: Prerequisite failed<br>/src/default_sub: Prerequisite failed<br>/src/default: Prerequisite failed<br>/src/sub_default: Prerequisite failed<br>/src/server/default_sub: Prerequisite failed<br>/src/server/default: Prerequisite failed<br>/src/server/target: Prerequisite failed<br>/src/server/target_pre: Prerequisite failed<br>/src/libraries/qtopiaaudio/default: Prerequisite failed<br>/src/libraries/qtopiaaudio/module_dep: Prerequisite failed<br>/src/libraries/qtopiaaudio/target_post: Prerequisite failed<br>/src/libraries/qtopiaaudio/link_test: Command execution failed<br>$$COMPILER.LINK $${LINK_TEST.LFLAGS} -o $$[OUTPUT.0] $$[INPUT] $${COMPILER.LIBS}<br>g++ -L/root/build-gta04/sdk/lib -rdynamic -o /root/build-gta04/src/libraries/qtopiaaudio/link_test /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiostateconfiguration.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiostateplugin.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiostate.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiostateinfo.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiostatemanager.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudionamespace.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiostatemanagerservice.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiointerface.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudioinput_pulse.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiomixer_alsa.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudioinput.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiooutput.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiostateconfiguration.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiostateplugin.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiostate.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiostateinfo.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiostatemanager.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudionamespace.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiointerface.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiomixer.o /root/build-gta04/src/libraries/qtopiaaudio/.obj/moc_qaudiostatemanagerservice_p.o /root/build-gta04/sdk/bin/extensions/link_test.cpp -lqtopiagfx -lmd5 -lqtopia-sqlite -lqtopia -lqtopiabase -lasound -lpthread -lm -lrt -L/root/build-gta04/sdk/qtopiacore/target/lib -lQtSvg -L/root/build-gta04/sdk/qtopiacore/target/lib -lQtSql -L/root/build-gta04/sdk/qtopiacore/target/lib -lQtXml -L/root/build-gta04/sdk/qtopiacore/target/lib -lQtGui -L/root/build-gta04/sdk/qtopiacore/target/lib -lQtNetwork -L/root/build-gta04/sdk/qtopiacore/target/lib -lQtCore -L/root/build-gta04/qtopiacore/target/lib -ldl -lsqlite3 -L/root/build-gta04/sdk/lib<br>/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudioinput_pulse.o: In function `QAudioInputPrivate::open(QObject*)':<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudioinput_pulse.cpp:79: undefined reference to `pa_bytes_per_second'<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudioinput_pulse.cpp:88: undefined reference to `pa_simple_new'<br>/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudioinput_pulse.o: In function `QAudioInputPrivate::read(char*, long long)':<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudioinput_pulse.cpp:116: undefined reference to `pa_simple_read'<br>/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::close()':<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:86: undefined reference to `pa_simple_flush'<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:87: undefined reference to `pa_simple_free'<br>/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::open()':<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:63: undefined reference to `pa_bytes_per_second'<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:72: undefined reference to `pa_simple_new'<br>/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::close()':<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:86: undefined reference to `pa_simple_flush'<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:87: undefined reference to `pa_simple_free'<br>/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::write(char const*, long long)':<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:106: undefined reference to `pa_simple_write'<br>/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::close()':<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:86: undefined reference to `pa_simple_flush'<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:87: undefined reference to `pa_simple_free'<br>/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::open()':<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:63: undefined reference to `pa_bytes_per_second'<br>/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:72: undefined reference to `pa_simple_new'<br>collect2: ld returned 1 exit status<br><br></div><div>I even tried to natively compile it on a PandaBoard (OMAP4) but also did not succeed.</div><div><br></div><div><blockquote type="cite"><div style="font-size: 9pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: 'DejaVu Sans Mono';"><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">while others could. </div></div></blockquote><div><br></div><div>That is exactly what I want to find out - why others could (at some time in the past) and I can't (today)...</div><br><blockquote type="cite"><div style="font-size: 9pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: 'DejaVu Sans Mono';"><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">Qtmoko has 33 contributors - most of them probably compiled it - at least cross compiled.</div></div></blockquote><div><br></div><div>Did they recently compile it or was it >2 years ago on some different setup (they might have applied tricks that are nowhere documented)?</div><br><blockquote type="cite"><div style="font-size: 9pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: 'DejaVu Sans Mono';"><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">I can upload my qemu image if needed where you have everything set up. But the question is: which issues in QtMoko you want to fix?</div></div></blockquote><div><br></div>Make it compatible to newer kernels, e.g. sysfs changes. AFAIR the existing binary code is tightly coupled to some kernel 3.7 APIs.</div><div><br></div><div>And other issues: add new applications (missing something is an issue :)</div><div><br><blockquote type="cite"><div style="font-size: 9pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: 'DejaVu Sans Mono';"><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> IMHO the main problem is that it does not use standard Qt which can be</div><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> installed from Debian repositories, but needs to (cross)-compile some older</div><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">> fork first.</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">From the compiling POV it can be advantage - you dont have to fix issues for every new Qt version.</div><p style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"> </p><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;">And QtMoko doesnt use fork, it's vanilla Qt 4 - which is AFAIK still supported and will be for a few more years.</div></div></blockquote><div><br></div><div>Ah, that is fine. Maybe I didn't catch that.</div></div><div><br></div><div>Some questions arise:</div><div>* isn't QtMoko using this: <a href="https://en.wikipedia.org/wiki/Qt_Extended">https://en.wikipedia.org/wiki/Qt_Extended</a> ?</div><div>* sources used are on qtmoko github - i.e. it is a fork, isn't it?</div><div>* where is the information about vanilla Qt4 support?</div><div>* who does the support?</div><div>* where are the sources?</div></div><div>* how to build QtMoko with vanilla Qt 4?</div><div>* would it suffice to apt-get install /qt4-dev-tools and compile QtMoko?</div><div><br></div><div>BR,</div><div>Nikolaus</div><div><br></div></body></html>