本人在ubuntu中进行glib的交叉编译,每次都是出现以下这个问题:
/tmp/ccSFAhef.s: Assembler messages:
/tmp/ccSFAhef.s:46: Error: selected processor does not support Thumb mode `swp r3,r5,[r4]'
/tmp/ccSFAhef.s:65: Error: selected processor does not support Thumb mode `swp r3,r5,[r4]'
Makefile:842: recipe for target 'gatomic.lo' failed
make[4]: *** [gatomic.lo] Error 1
make[4]: Leaving directory '/opt/glib/glib-2.18.1/glib'
Makefile:895: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/opt/glib/glib-2.18.1/glib'
Makefile:626: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/opt/glib/glib-2.18.1/glib'
Makefile:560: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/opt/glib/glib-2.18.1'
Makefile:376: recipe for target 'all' failed
make: *** [all] Error 2
我得配置configure为:
./configure --cache-file=arm.cache --host=arm-linux-gnueabihf --prefix=/opt/cross-tools/soc_gcc/arm-linux-gnueabihf/
编译上述命令是通过的,唯独在make的时候编译不过关
这个问题该如何解决呢???
本文发布于:2024-01-27 17:18:02,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/17063470841607.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |