[Interest] Qt5 Cross Compiling for ARM
Dietrich.Gossen at continental-corporation.com
Dietrich.Gossen at continental-corporation.com
Thu Feb 16 18:33:20 CET 2012
Hi,
I found the missing lib.
It's ld-linux.so.3 (actually it's a soft link that points to ld-2.11.1.so)
Its ' location is in /pathtorootfs/lib/
How do I include this in the mkspecs?
Thanks again.
Regards,
Dietrich Gossen
Continental Engineering Services
Von: Thiago Macieira <thiago at kde.org>
An: interest at qt-project.org
Datum: 16.02.2012 16:55
Betreff: Re: [Interest] Qt5 Cross Compiling for ARM
Gesendet von:
interest-bounces+dietrich.gossen=continental-corporation.com at qt-project.org
On quinta-feira, 16 de fevereiro de 2012 16.02.46,
Dietrich.Gossen at continental-corporation.com wrote:
>
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-g
> nueabi/bin/arm-none-linux-gnueabi-g++ -Wl,-O1 -o opengles2 opengles2.o
> -L/home/lucid/ltib/rootfs/usr/lib -lglib-2.0 -lgthread-2.0
-lgstreamer-0.10
> -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound -lfreetype -lexpat
> -ljpeg -lfontconfig -lSM -lICE -lpng -L/home/lucid/ltib/rootfs/usr/lib
> -lGLESv2
> /home/lucid/ltib/rootfs/usr/lib/libGLESv2.so: undefined reference to
> `gco3D_Semaphore'
> /home/lucid/ltib/rootfs/usr/lib/libGLESv2.so: undefined reference to
> `gcoHAL_QueryTextureCaps'
> /home/lucid/ltib/rootfs/usr/lib/libGLESv2.so: undefined reference to
> `gcoHAL_Commit'
> ...
> ...(more undefined references to gco*)..
This is just a bad OpenGL ES library from your chip vendor. The library
isn't
self-sufficient. If you try to run the following command, for example:
ldd -d -r $GLLIBPATH/libGLESv2.so
It should not report any undefined references. You'll see that your
library has
a lot of them. Please report them to your board vendor so they can fix
them in
a future release. You can tell them "please link your libraries with
-Wl,--noundefined".
In the meantime, add the necessary libraries that need to be linked
against to
the QMAKE_LIBS_OPENGL_ES2 variable.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Anhang "signature" gelöscht von Dietrich Gossen/usr/cag]
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
[Anhang "RMX-encryption-info.txt" gelöscht von Dietrich Gossen/usr/cag]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120216/e19f846b/attachment.html>
More information about the Interest
mailing list