首页 新闻 会员 周边

ubuntu16.04lts交叉编译glib-2.18出现问题

0
悬赏园豆:20 [已关闭问题] 关闭于 2017-07-28 16:24

本人在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的时候编译不过关

这个问题该如何解决呢???

Psrion的主页 Psrion | 初学一级 | 园豆:29
提问于:2017-07-07 11:42
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册