<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[COMPILE Library for ARM]]></title><description><![CDATA[<p dir="auto">I would like to compile the libraries for QT arm for my application and I also must have SQL and Phonon libraries.<br />
Following the help I wrote:</p>
<p dir="auto">@<br />
./configure -embedded arm -xplatform qws/linux-arm-g++ -qt-mouse-tslib -config -prefix /opt/qt_eng -little-endian  -phonon  -phonon-backend -no-stl -no-accessibility -no-qt3support -no-qt3support -qt-zlib -no-xmlpatterns -no-webkit  -no-scripttools -no-gif -no-libtiff -no-libmng  -no-openssl -no-opengl -no-mmx -no-3dnow -no-sse -no-sse2 -no-largefile -no-sm -svg -v -no-feature-cursor -fast -no-openvg -no-nas-sound -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon -no-javascript-jit -no-script -no-xrender -no-sm -no-xvideo -no-xsync -no-xinerama -fontconfig -no-xkb -no-xinput -no-mitshm -no-xrender -no-xfixes -no-xinerama -no-xsync -no-xvideo -no-xshape -reduce-relocations -no-largefile -opensource -release -no-declarative -no-multimedia -no-cups -no-nis -no-dbus -no-declarative-debug -no-exceptions -nomake examples -nomake demos -no-sql-sqlite -no-g++-exceptions<br />
@<br />
But not work... You can check if script is correct? thanks</p>
]]></description><link>https://forum.qt.io/topic/16164/compile-library-for-arm</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 00:42:44 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/16164.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Apr 2012 20:41:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to COMPILE Library for ARM on Sun, 29 Apr 2012 06:56:53 GMT]]></title><description><![CDATA[<p dir="auto">Its clearly an issue with finding proper headers. Please see if you have installed your toolchain correctly and have the development environment properly setup.</p>
<p dir="auto">On Ubuntu you'll need to do the following :</p>
<p dir="auto">@sudo apt-get install build-essential automake autoconf libtool@</p>
<p dir="auto">On Fedora :<br />
@sudo yum groupinstall "Development Tools"@</p>
<p dir="auto">Revert back if problem persits</p>
]]></description><link>https://forum.qt.io/post/137397</link><guid isPermaLink="true">https://forum.qt.io/post/137397</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 29 Apr 2012 06:56:53 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Fri, 27 Apr 2012 09:22:57 GMT]]></title><description><![CDATA[<p dir="auto">someone?</p>
]]></description><link>https://forum.qt.io/post/137222</link><guid isPermaLink="true">https://forum.qt.io/post/137222</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 27 Apr 2012 09:22:57 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Thu, 26 Apr 2012 08:43:49 GMT]]></title><description><![CDATA[<p dir="auto">@./configure -embedded arm -xplatform qws/linux-arm-g++ -qt-mouse-tslib -prefix /opt/qt_eng -little-endian  -phonon  -phonon-backend -no-stl -no-accessibility -no-qt3support -no-qt3support -qt-zlib -no-xmlpatterns -no-webkit  -no-scripttools -no-gif -no-libtiff -no-libmng  -no-openssl -no-opengl -no-mmx -no-3dnow -no-sse -no-sse2 -no-largefile -no-sm -svg -v -no-feature-cursor -fast -no-openvg -no-nas-sound -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon -no-javascript-jit -no-script -no-xrender -no-sm -no-xvideo -no-xsync -no-xinerama -fontconfig -no-xkb -no-xinput -no-mitshm -no-xrender -no-xfixes -no-xinerama -no-xsync -no-xvideo -no-xshape -reduce-relocations -no-largefile -opensource -release -no-declarative -no-multimedia -no-cups -no-nis -no-dbus -no-declarative-debug -no-exceptions -nomake examples -nomake demos -no-sql-sqlite -no-g++-exceptions@</p>
<p dir="auto">I have error:<br />
@<br />
etermining system architecture... (Linux:2.6.32-41-generic:i686)<br />
32-bit Intel 80x86 (i386)<br />
'arm' is supported<br />
'i386' is supported<br />
System architecture: 'arm'<br />
Host architecture: 'i386'</p>
<p dir="auto">You have not explicitly asked to use pkg-config and are cross-compiling.<br />
pkg-config will not be used to automatically query cflag/lib parameters for<br />
dependencies</p>
<p dir="auto">Precompiled-headers support enabled.<br />
/home/user/qt-everywhere-opensource-src-4.7.1/config.tests/unix/fvisibility.test: line 28: sb2 -t imx53 g++: command not found<br />
Symbol visibility control disabled.<br />
Symbolic function binding enabled.</p>
<p dir="auto">This is the Qt for Embedded Linux Open Source Edition.</p>
<p dir="auto">Type 'yes' to accept this license offer.<br />
Type 'no' to decline this license offer.</p>
<p dir="auto">Do you accept the terms of either license? yes</p>
<p dir="auto">Creating qmake. Please wait...<br />
make: Nothing to be done for `first'.<br />
floatmath auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o floatmath.o floatmath.cpp<br />
floatmath.cpp:44: warning: unused parameter 'argc'<br />
floatmath.cpp:44: warning: unused parameter 'argv'<br />
sb2 -t imx53 g++ -Wl,-O1 -o floatmath floatmath.o<br />
floatmath enabled.<br />
libjpeg auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o libjpeg.o libjpeg.cpp<br />
libjpeg.cpp: In function 'int main(int, char**)':<br />
libjpeg.cpp:51: warning: 'cinfo' is used uninitialized in this function<br />
sb2 -t imx53 g++ -Wl,-O1 -o libjpeg libjpeg.o     -ljpeg<br />
libjpeg enabled.<br />
libpng auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o libpng.o libpng.cpp<br />
sb2 -t imx53 g++ -Wl,-O1 -o libpng libpng.o     -lpng<br />
libpng enabled.<br />
DB2 auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o db2.o db2.cpp<br />
db2.cpp:42:20: error: sqlcli.h: No such file or directory<br />
db2.cpp:43:21: error: sqlcli1.h: No such file or directory<br />
make: *** [db2.o] Error 1<br />
DB2 disabled.<br />
InterBase auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o ibase.o ibase.cpp<br />
ibase.cpp:42:19: error: ibase.h: No such file or directory<br />
make: *** [ibase.o] Error 1<br />
InterBase disabled.<br />
MySQL (thread-safe) auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o mysql.o ../mysql/mysql.cpp<br />
../mysql/mysql.cpp:42:19: error: mysql.h: No such file or directory<br />
make: *** [mysql.o] Error 1<br />
MySQL (thread-safe) disabled.<br />
MySQL (thread-unsafe) auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o mysql.o mysql.cpp<br />
mysql.cpp:42:19: error: mysql.h: No such file or directory<br />
make: *** [mysql.o] Error 1<br />
MySQL (thread-unsafe) disabled.<br />
OCI auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o oci.o oci.cpp<br />
oci.cpp:42:17: error: oci.h: No such file or directory<br />
make: *** [oci.o] Error 1<br />
OCI disabled.<br />
ODBC auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o odbc.o odbc.cpp<br />
sb2 -t imx53 g++ -Wl,-O1 -o odbc odbc.o     -lodbc<br />
ODBC enabled.<br />
PostgreSQL auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o psql.o psql.cpp<br />
psql.cpp:42:22: error: libpq-fe.h: No such file or directory<br />
psql.cpp: In function 'int main(int, char**)':<br />
psql.cpp:46: error: 'PQescapeBytea' was not declared in this scope<br />
psql.cpp:47: error: 'PQunescapeBytea' was not declared in this scope<br />
make: *** [psql.o] Error 1<br />
PostgreSQL disabled.<br />
SQLite2 auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o sqlite2.o sqlite2.cpp<br />
sb2 -t imx53 g++ -Wl,-O1 -o sqlite2 sqlite2.o     -lsqlite<br />
SQLite2 enabled.<br />
unknown SQL driver: sqlite_symbian<br />
TDS auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o tds.o tds.cpp<br />
tds.cpp:42:22: error: sybfront.h: No such file or directory<br />
tds.cpp:43:19: error: sybdb.h: No such file or directory<br />
make: *** [tds.o] Error 1<br />
TDS disabled.<br />
Glib auto-detection... ()<br />
sb2 -t imx53 g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -o glib.o glib.cpp<br />
glib.cpp:44:18: error: glib.h: No such file or directory<br />
glib.cpp: In function 'int main(int, char**)':<br />
glib.cpp:49: error: 'GSource' was not declared in this scope<br />
glib.cpp:49: error: 'source' was not declared in this scope<br />
glib.cpp:50: error: 'GPollFD' was not declared in this scope<br />
glib.cpp:50: error: 'pollfd' was not declared in this scope<br />
glib.cpp:51: error: 'g_thread_supported' was not declared in this scope<br />
glib.cpp:52: error: 'NULL' was not declared in this scope<br />
glib.cpp:52: error: 'g_thread_init' was not declared in this scope<br />
glib.cpp:53: error: 'g_main_context_default' was not declared in this scope</p>
<p dir="auto">@</p>
]]></description><link>https://forum.qt.io/post/137049</link><guid isPermaLink="true">https://forum.qt.io/post/137049</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 26 Apr 2012 08:43:49 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Thu, 26 Apr 2012 05:58:56 GMT]]></title><description><![CDATA[<p dir="auto">Yes!<br />
The best is that you need to get through the configuration process by eliminating all errors. You need read the information displayed by the tools very careful. Good luck!</p>
]]></description><link>https://forum.qt.io/post/137023</link><guid isPermaLink="true">https://forum.qt.io/post/137023</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Thu, 26 Apr 2012 05:58:56 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Wed, 25 Apr 2012 23:24:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi and thanks<br />
You say of remove "-config"?</p>
]]></description><link>https://forum.qt.io/post/136999</link><guid isPermaLink="true">https://forum.qt.io/post/136999</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 25 Apr 2012 23:24:15 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Wed, 25 Apr 2012 15:47:26 GMT]]></title><description><![CDATA[<p dir="auto">Please use "code wrappings":<a href="http://qt-project.org/wiki/ForumHelp#e3f82045ad0f480d3fb9e0ac2d58fb01" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/wiki/ForumHelp#e3f82045ad0f480d3fb9e0ac2d58fb01</a> when posting. This makes code and lists as in your case readable.</p>
<p dir="auto">[quote author="enaud84" date="1335365671"]I must have QT SDK?[/quote]<br />
SDK is not required.</p>
<p dir="auto">You have specified a switch "-config" in your call to ./configure and configure is complaining. You need to tackle each of the complaints.</p>
<p dir="auto">Here is the complaint directly in the first line you have posted:<br />
[quote author="enaud84" date="1335365618"][code]<br />
-config: invalid command-line switch<br />
Determining system architecture... (Linux:2.6.32-41-generic:i686)<br />
32-bit Intel 80x86 (i386)<br />
'arm' is supported<br />
'i386' is supported<br />
[/code]<br />
[/quote]</p>
<p dir="auto">and points towards here in the command as you posted initially:<br />
./configure -embedded arm -xplatform qws/linux-arm-g++ -qt-mouse-tslib <em>-config</em> -prefix /opt/qt_eng</p>
<p dir="auto">Remove this switch.</p>
<p dir="auto">My suggestion would be to start out with a minimal number of switches. You need to specify only those which are not default.</p>
]]></description><link>https://forum.qt.io/post/136920</link><guid isPermaLink="true">https://forum.qt.io/post/136920</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Wed, 25 Apr 2012 15:47:26 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Wed, 25 Apr 2012 14:54:31 GMT]]></title><description><![CDATA[<p dir="auto">I have QT creator and QT design.. I must have QT SDK?</p>
]]></description><link>https://forum.qt.io/post/136909</link><guid isPermaLink="true">https://forum.qt.io/post/136909</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 25 Apr 2012 14:54:31 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Wed, 25 Apr 2012 14:53:38 GMT]]></title><description><![CDATA[<p dir="auto">[code]<br />
-config: invalid command-line switch<br />
Determining system architecture... (Linux:2.6.32-41-generic:i686)<br />
32-bit Intel 80x86 (i386)<br />
'arm' is supported<br />
'i386' is supported<br />
System architecture: 'arm'<br />
Host architecture: 'i386'</p>
<p dir="auto">You have not explicitly asked to use pkg-config and are cross-compiling.<br />
pkg-config will not be used to automatically query cflag/lib parameters for<br />
dependencies</p>
<p dir="auto">Precompiled-headers support enabled.<br />
/home/user/qt-everywhere-opensource-src-4.7.1/config.tests/unix/fvisibility.test: line 28: sb2 -t imx53 g++: command not found<br />
Symbol visibility control disabled.<br />
Symbolic function binding enabled.</p>
<p dir="auto">Usage:  configure [-h] [-prefix &lt;dir&gt;] [-prefix-install] [-bindir &lt;dir&gt;] [-libdir &lt;dir&gt;]<br />
[-docdir &lt;dir&gt;] [-headerdir &lt;dir&gt;] [-plugindir &lt;dir&gt; ] [-importdir &lt;dir&gt;] [-datadir &lt;dir&gt;]<br />
[-translationdir &lt;dir&gt;] [-sysconfdir &lt;dir&gt;] [-examplesdir &lt;dir&gt;]<br />
[-demosdir &lt;dir&gt;] [-buildkey &lt;key&gt;] [-release] [-debug]<br />
[-debug-and-release] [-developer-build] [-shared] [-static] [-no-fast] [-fast] [-no-largefile]<br />
[-largefile] [-no-exceptions] [-exceptions] [-no-accessibility]<br />
[-accessibility] [-no-stl] [-stl] [-no-sql-&lt;driver&gt;] [-sql-&lt;driver&gt;]<br />
[-plugin-sql-&lt;driver&gt;] [-system-sqlite] [-no-qt3support] [-qt3support]<br />
[-platform] [-D &lt;string&gt;] [-I &lt;string&gt;] [-L &lt;string&gt;] [-help]<br />
[-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libtiff] [-qt-libtiff] [-system-libtiff]<br />
[-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng]<br />
[-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg] [-make &lt;part&gt;]<br />
[-nomake &lt;part&gt;] [-R &lt;string&gt;]  [-l &lt;string&gt;] [-no-rpath]  [-rpath] [-continue]<br />
[-verbose] [-v] [-silent] [-no-nis] [-nis] [-no-cups] [-cups] [-no-iconv]<br />
[-iconv] [-no-pch] [-pch] [-no-dbus] [-dbus] [-dbus-linked] [-no-gui]<br />
[-no-separate-debug-info] [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]<br />
[-no-sse3] [-no-ssse3] [-no-sse4.1] [-no-sse4.2] [-no-avx]<br />
[-qtnamespace &lt;namespace&gt;] [-qtlibinfix &lt;infix&gt;] [-separate-debug-info] [-armfpa]<br />
[-no-optimized-qmake] [-optimized-qmake] [-no-xmlpatterns] [-xmlpatterns]<br />
[-no-multimedia] [-multimedia] [-no-phonon] [-phonon] [-no-phonon-backend] [-phonon-backend]<br />
[-no-media-backend] [-media-backend] [-no-audio-backend] [-audio-backend]<br />
[-no-openssl] [-openssl] [-openssl-linked]<br />
[-no-gtkstyle] [-gtkstyle] [-no-svg] [-svg] [-no-webkit] [-webkit] [-no-javascript-jit] [-javascript-jit]<br />
[-no-script] [-script] [-no-scripttools] [-scripttools]<br />
[-no-declarative] [-declarative][-no-declarative-debug] [-declarative-debug]</p>
<pre><code>    [additional platform specific options (see below)]
</code></pre>
<p dir="auto">Installation options:</p>
<p dir="auto">These are optional, but you may specify install directories.</p>
<pre><code>-prefix &lt;dir&gt; ...... This will install everything relative to &lt;dir&gt;
                     (default /opt/qt_eng)

-hostprefix [dir] .. Tools and libraries needed when developing
                     applications are installed in [dir]. If [dir] is
                     not given, the current build directory will be used.
</code></pre>
<ul>
<li>-prefix-install .... Force a sandboxed "local" installation of<br />
Qt. This will install into<br />
/opt/qt_eng, if this option is<br />
disabled then some platforms will attempt a<br />
"system" install by placing default values to<br />
be placed in a system location other than<br />
PREFIX.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.</li>
</ul>
<p dir="auto">eccc... (help .\configure....)</p>
<p dir="auto">user@ubuntu1004desktop:~/qt-everywhere-opensource-src-4.7.1$<br />
[/code]</p>
]]></description><link>https://forum.qt.io/post/136908</link><guid isPermaLink="true">https://forum.qt.io/post/136908</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 25 Apr 2012 14:53:38 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Wed, 25 Apr 2012 06:58:18 GMT]]></title><description><![CDATA[<p dir="auto">As fcrochik already asked for you should post at least the output of the errors.<br />
Without this we need a crystal ball.</p>
]]></description><link>https://forum.qt.io/post/136851</link><guid isPermaLink="true">https://forum.qt.io/post/136851</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Wed, 25 Apr 2012 06:58:18 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Wed, 25 Apr 2012 06:31:33 GMT]]></title><description><![CDATA[<p dir="auto">Host is linux .i want cross compile for arm my app on my pc.  How can do? Thanks</p>
]]></description><link>https://forum.qt.io/post/136849</link><guid isPermaLink="true">https://forum.qt.io/post/136849</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 25 Apr 2012 06:31:33 GMT</pubDate></item><item><title><![CDATA[Reply to COMPILE Library for ARM on Tue, 24 Apr 2012 22:13:55 GMT]]></title><description><![CDATA[<p dir="auto">What is the host platform? Are you trying to build on the target platform or cross-compile?<br />
What is the output/problem?</p>
]]></description><link>https://forum.qt.io/post/136835</link><guid isPermaLink="true">https://forum.qt.io/post/136835</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 24 Apr 2012 22:13:55 GMT</pubDate></item></channel></rss>