[Gta04-owner] Which distri

H. Nikolaus Schaller hns at goldelico.com
Tue Sep 29 10:14:22 CEST 2015


Hi Radek,
nice to hear from you!
Am 29.09.2015 um 09:27 schrieb Radek Polak <psonek2 at seznam.cz>:

> On Monday 21 of September 2015 20:50:20 H. Nikolaus Schaller wrote:
>  
> > What we need is fixing the sources/trees/instructions/whatever to make
> > it compile again. Either in a qemu image (e.g.
> > http://download.goldelico.com/gta04-debian-lxde/qemu-wheezy-vexpress/ ) or
> > by separating into self-contained source packages that can be compiled on a
> > GTA04 with Debian installed.
>  
> I wonder why you cant compile, 

Well, tons of undocumented and implicit assumptions about the compile host...

For my setup (Debian Wheezy 7.8 inside qemu image) it failed after ~3 days with this error message:

g++ /root/qtmoko/src/tools/sysmessages/sysmessages.cpp
g++ /root/qtmoko/src/tools/sysmessages/main.cpp
g++ /root/build-gta04/src/tools/sysmessages/sysmessages
*** Error 
/default: Prerequisite failed
/sub_default: Prerequisite failed
/src/default_sub: Prerequisite failed
/src/default: Prerequisite failed
/src/sub_default: Prerequisite failed
/src/server/default_sub: Prerequisite failed
/src/server/default: Prerequisite failed
/src/server/target: Prerequisite failed
/src/server/target_pre: Prerequisite failed
/src/libraries/qtopiaaudio/default: Prerequisite failed
/src/libraries/qtopiaaudio/module_dep: Prerequisite failed
/src/libraries/qtopiaaudio/target_post: Prerequisite failed
/src/libraries/qtopiaaudio/link_test: Command execution failed
$$COMPILER.LINK $${LINK_TEST.LFLAGS} -o $$[OUTPUT.0] $$[INPUT] $${COMPILER.LIBS}
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
/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudioinput_pulse.o: In function `QAudioInputPrivate::open(QObject*)':
/root/qtmoko/src/libraries/qtopiaaudio/qaudioinput_pulse.cpp:79: undefined reference to `pa_bytes_per_second'
/root/qtmoko/src/libraries/qtopiaaudio/qaudioinput_pulse.cpp:88: undefined reference to `pa_simple_new'
/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudioinput_pulse.o: In function `QAudioInputPrivate::read(char*, long long)':
/root/qtmoko/src/libraries/qtopiaaudio/qaudioinput_pulse.cpp:116: undefined reference to `pa_simple_read'
/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::close()':
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:86: undefined reference to `pa_simple_flush'
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:87: undefined reference to `pa_simple_free'
/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::open()':
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:63: undefined reference to `pa_bytes_per_second'
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:72: undefined reference to `pa_simple_new'
/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::close()':
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:86: undefined reference to `pa_simple_flush'
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:87: undefined reference to `pa_simple_free'
/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::write(char const*, long long)':
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:106: undefined reference to `pa_simple_write'
/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::close()':
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:86: undefined reference to `pa_simple_flush'
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:87: undefined reference to `pa_simple_free'
/root/build-gta04/src/libraries/qtopiaaudio/.obj/qaudiooutput_pulse.o: In function `QAudioOutputPrivate::open()':
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:63: undefined reference to `pa_bytes_per_second'
/root/qtmoko/src/libraries/qtopiaaudio/qaudiooutput_pulse.cpp:72: undefined reference to `pa_simple_new'
collect2: ld returned 1 exit status

I even tried to natively compile it on a PandaBoard (OMAP4) but also did not succeed.

> while others could. 

That is exactly what I want to find out - why others could (at some time in the past) and I can't (today)...

> Qtmoko has 33 contributors - most of them probably compiled it - at least cross compiled.

Did they recently compile it or was it >2 years ago on some different setup (they might have applied tricks that are nowhere documented)?

>  
> 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?

Make it compatible to newer kernels, e.g. sysfs changes. AFAIR the existing binary code is tightly coupled to some kernel 3.7 APIs.

And other issues: add new applications (missing something is an issue :)

>  
> > IMHO the main problem is that it does not use standard Qt which can be
> > installed from Debian repositories, but needs to (cross)-compile some older
> > fork first.
>  
> From the compiling POV it can be advantage - you dont have to fix issues for every new Qt version.
>  
> And QtMoko doesnt use fork, it's vanilla Qt 4 - which is AFAIK still supported and will be for a few more years.

Ah, that is fine. Maybe I didn't catch that.

Some questions arise:
* isn't QtMoko using this: https://en.wikipedia.org/wiki/Qt_Extended ?
* sources used are on qtmoko github - i.e. it is a fork, isn't it?
* where is the information about vanilla Qt4 support?
* who does the support?
* where are the sources?
* how to build QtMoko with vanilla Qt 4?
* would it suffice to apt-get install /qt4-dev-tools and compile QtMoko?

BR,
Nikolaus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20150929/3f2ae270/attachment-0001.html>


More information about the Gta04-owner mailing list