Compiling QtMoko buildhost for Neo Freerunner

Adrien Dorsaz adrien at adorsaz.ch
Wed Oct 23 11:07:09 CEST 2013


Hello!

Last week I've tried to compile the QtMoko in the QtMoko armel
buildhost, but it didn't work, neither with gcc-4.4 nor gcc-4.3.

Qt is well built, but QtMoko don't begin its build. I've this message at
end of compilation :


> *******************************************************************************
> Qt is ready!
> *******************************************************************************
> 
> Testing the system Qt: OK
> Qt Extended is using the following locations:
> Qt          PREFIX      = /home/adrien/build-neo/sdk/qtopiacore/host
> Qt          LIBRARIES   = /home/adrien/build-neo/sdk/qtopiacore/host/lib
> Qt          BINARIES    = /home/adrien/build-neo/sdk/qtopiacore/host/bin
> Qt          HEADERS     = /home/adrien/build-neo/sdk/qtopiacore/host/include
> Qt Embedded SOURCE tree = /home/adrien/qtmoko/qtopiacore/qt
> Qt Embedded BUILD  tree = /home/adrien/build-neo/qtopiacore/target
> Qt Extended SOURCE tree = /home/adrien/qtmoko
> Qt Extended BUILD  tree = /home/adrien/build-neo
> Qt Extended SDK    tree = /home/adrien/build-neo/sdk
> 
> Checking the compiler (host): OK (GCC 4, Little Endian)
> Checking the compiler (target): OK (Little Endian)
> Bootstrap QBuild: ............................... FAIL
> ../../../qtmoko/qbuild/src/solution.cpp: In member function ‘SolutionFiles Solution::files(const QString&, Solution::Type, const SolutionFile&) const’:
> ../../../qtmoko/qbuild/src/solution.cpp:1102: warning: suggest parentheses around arithmetic in operand of |
> ../../../qtmoko/qbuild/src/solution.cpp: In member function ‘SolutionFiles Solution::_paths(const QString&, Solution::Type, const SolutionFile&) const’:
> ../../../qtmoko/qbuild/src/solution.cpp:1312: warning: suggest parentheses around arithmetic in operand of |
> ../../../qtmoko/qbuild/src/solution.cpp: In member function ‘QStringList Solution::paths(const QString&, Solution::Type, const SolutionFile&) const’:
> ../../../qtmoko/qbuild/src/solution.cpp:1445: warning: suggest parentheses around arithmetic in operand of |
> ../../../qtmoko/qbuild/src/solution.cpp: In member function ‘QStringList Solution::filesystemPaths(const QString&, Solution::Type, const SolutionFile&) const’:
> ../../../qtmoko/qbuild/src/solution.cpp:1570: warning: suggest parentheses around arithmetic in operand of |
> ../../../qtmoko/qbuild/src/object.cpp: In member function ‘QMakeObject* QMakeObject::property(const QString&) const’:
> ../../../qtmoko/qbuild/src/object.cpp:429: warning: suggest explicit braces to avoid ambiguous ‘else’
> ../../../qtmoko/qbuild/src/ruleengine.cpp: In member function ‘void RuleEngineThread::runRule()’:
> ../../../qtmoko/qbuild/src/ruleengine.cpp:882: warning: suggest explicit braces to avoid ambiguous ‘else’
> ../../../qtmoko/qbuild/src/ruleengine.cpp: In member function ‘virtual bool RuleVariables::value(const QString&, QStringList&)’:
> ../../../qtmoko/qbuild/src/ruleengine.cpp:2202: warning: suggest explicit braces to avoid ambiguous ‘else’
> ../../../qtmoko/qbuild/src/ruleengine.cpp:2223: warning: suggest explicit braces to avoid ambiguous ‘else’
> ../../../qtmoko/qbuild/src/ruleengine.cpp:2243: warning: suggest explicit braces to avoid ambiguous ‘else’
> ../../../qtmoko/qbuild/src/process.cpp: In member function ‘void ShellProcess::runCommand(int, int, const QString&)’:
> ../../../qtmoko/qbuild/src/process.cpp:217: warning: deprecated conversion from string constant to ‘char*’
> ../../../qtmoko/qbuild/src/process.cpp:229: warning: deprecated conversion from string constant to ‘char*’
> collect2: ld terminated with signal 9 [Processus arrêté]
> make[3]: *** [../../sdk/bin/qbuild.bin] Erreur 1
> make exited with value 2 at /home/adrien/qtmoko/src/build/bin/configure line 2331
> make[2]: *** [src/build/mkconf/configure] Erreur 1
> make[1]: *** [configure_neo] Erreur 2
> make[1]: quittant le répertoire « /home/adrien/qtmoko »
> make: *** [build] Erreur 2
> dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2

My QtMoko buildhost is the official one with Debian 6.0.7 and kernel 2.6.32 (IIRC, I've upgraded Debian with apt-get upgrade).
Have you any hint to find the error ?
And do you know how I can begin again QtMoko compilation without compiling again Qt (it's long and it worked well) ?

Thanks for your help !
Adrien

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openmoko.org/pipermail/community/attachments/20131023/1d728450/attachment.sig>


More information about the community mailing list