[yocto] Help with building app recipe
Diego Sueiro
diego.sueiro at gmail.com
Thu May 22 06:50:03 PDT 2014
Folks,
I'm trying to accomplish this in a 64bits host machine. But I'm getting
errors the following error on compile task:
| In file included from
/<snip>/tmp/sysroots/x86_64-linux/usr/include/python3.3m/Python.h:50:0,
| from ../../git/src/qpython_priv.h:22,
| from moc_qpython_priv.cpp:9:
| /<snip>/sysroots/x86_64-linux/usr/include/python3.3m/pyport.h:820:2:
error: #error "LONG_BIT definition appears wrong for platform (bad
gcc/glibc config?)."
| #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
| ^
Searching on Google it says that this is a known bug when trying to
cross-compile Python stuff for 32bits machines on 64bits hosts.
It seems that the guys from Buildroot could get this solved:
http://lists.busybox.net/pipermail/buildroot/2011-August/045257.html
I'm trying to find the "magical" patch to how to get this fixed.
Also found this link too:
http://blog.devork.be/2009/02/compiling-32-bit-python-on-amd64.html
But I'm not quite sure how to get this fixed on Yocto. Should it need to be
fixed on the pyotherside, or python3, or python3-native recipe?
Any directions are appreciated.
Regards,
--
*dS
Diego Sueiro
Administrador do Embarcados
www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>
/*long live rock 'n roll*/
On Sat, May 17, 2014 at 2:18 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On Fri, May 16, 2014 at 5:33 AM, Neuer User <auslands-kv at gmx.de> wrote:
> > If I change the sed line to "#!/usr/bin/env python3", that would
> > probably work then. But would it break something else?
>
> would be fine.
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140522/fea3f300/attachment.html>
More information about the yocto
mailing list